---
title: "Invoice line items by contract"
method: GET
path: "/contracts/{contract_id}/invoice-adjustments"
tags: ["invoiceAdjustments"]
---

# Invoice line items by contract

`GET /contracts/{contract_id}/invoice-adjustments`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/contracts/{contract_id}/invoice-adjustments`
- Auth: HTTP bearer

Retrieves invoice line items (adjustments) associated with a given contract_id, with support for filtering by contract type, adjustment type, status, invoice, reporter, and submission date range.

 **Token scopes**: `invoice-adjustments:read`

## Path parameters

- `contract_id` string, required

## Query parameters

- `contract_types` ContractsContractIdInvoiceAdjustmentsGetParametersContractTypesSchemaItems[]
- `types` ContractsContractIdInvoiceAdjustmentsGetParametersTypesSchemaItems[]
- `statuses` ContractsContractIdInvoiceAdjustmentsGetParametersStatusesSchemaItems[]
- `invoice_id` string
- `reporter_id` string, uuid
- `date_from` string, date
- `date_to` string, date
- `limit` string
- `offset` string

## Response `200`

Successful operation.

- InvoiceAdjustmentsGetContractInvoiceAdjustmentsResponse200
  - `data` ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItems[], required
    - `id` string, uuid, nullable, required: Unique identifier of this invoice adjustment.
    - `type` 'accrued_holiday' | 'additional_fee' | 'allowance' | 'bonus' | 'commission' | 'deduction' | 'deposit' | 'deposit_refund' | 'employer_cost' | 'expense' | 'health_allowance' | 'health_benefit' | 'health_insurance_fee' | 'legal_fee' | 'management_fee' | 'milestone' | 'offcycle' | 'other' | 'overtime' | 'pension' | 'pro_rata' | 'setup_fee' | 'severance' | 'shield_service' | 'signing_bonus' | 'signing_bonus_employer_cost' | 'refund' | 'task' | 'time_off' | 'vat' | 'withholding_tax' | 'work', required: Type of invoice adjustment.
    - `scale` string, nullable: Predefined scale used to calculate the adjustment amount.
    - `status` 'approved' | 'declined' | 'not_payable' | 'paid' | 'pending' | 'processing', nullable, required: Current processing status of the invoice adjustment.
    - `contract` ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsContract, required: Contract associated with this invoice adjustment.
      - `id` string, required: Unique identifier of the contract.
      - `type` 'ongoing_time_based' | 'milestones' | 'time_based' | 'pay_as_you_go_time_based' | 'commission' | 'payg_milestones' | 'payg_tasks' | 'eor' | 'unknown' | 'employee' | 'global_payroll' | 'shield_msa' | 'hris_direct_employee' | 'peo', required: Type of a contract
      - `title` string, required: Human-readable title of the contract.
    - `quantity` number, double, nullable, required: Quantity used to calculate the total amount.
    - `worksheet` ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsWorksheet, nullable, required: Breakdown of time worked across different units.
      - `days` number, double, required: Number of days reported.
      - `hours` number, double, required: Number of hours reported.
      - `weeks` number, double, required: Number of weeks reported.
      - `minutes` number, double, required: Number of minutes reported.
    - `attachment` ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsAttachment, nullable, required: This object is used for linking file attachments to your records.
      - `key` string, required: You can call attachments end-point, get key and URL to upload your file.
      - `filename` string, required: Original filename you used to upload using attachments end-point.
    - `created_at` string, date-time, required: Timestamp when the adjustment was created (ISO-8601).
    - `invoice_id` number, double, nullable: Identifier of the generated invoice this adjustment belongs to.
    - `description` string, required: Human-readable explanation of the invoice adjustment.
    - `reported_by` ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReportedBy, required: User who reported the invoice adjustment.
      - `id` union, required: Unique identifier of the reporting user (string or integer).
        - string
        - integer
      - `full_name` string: Full name of the user who reported the adjustment.
    - `reviewed_by` ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReviewedBy, nullable, required: Reviewer information if the adjustment has been reviewed.
      - `id` union, required: Unique identifier of the reviewer (string or integer).
        - string
        - integer
      - `remarks` string, required: Reviewer remarks or decision notes.
      - `full_name` string: Full name of the reviewer.
      - `reviewed_at` string, required: Timestamp when the review occurred (ISO-8601).
    - `custom_scale` string, nullable: Custom scale label defined by the client.
    - `total_amount` string, required: Total monetary value of the invoice adjustment.
    - `currency_code` string, required: ISO 4217 currency code used for the amount.
    - `payment_cycle` ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsPaymentCycle, required: Payment cycle associated with this adjustment.
      - `end_date` string, date-time, nullable, required: End date of the payment cycle (ISO-8601).
      - `start_date` string, date-time, nullable, required: Start date of the payment cycle (ISO-8601).
    - `date_submitted` string, date-time, required: Timestamp when the adjustment was submitted for review (ISO-8601).
  - `page` ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaPage, required: Pagination metadata for the response.
    - `offset` number, double, required: Index of the first row in this page
    - `total_rows` number, double, required: Total number of rows in the result set
    - `items_per_page` number, double, required: Number of items per page

## Other responses

- `400`: Bad Request - Validation error or invalid parameters
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Operation failed.
- `500`: Operation failed.

---

[API](https://skmtc.dev/deel/apis/endpoints-2.md) - [All operations](https://skmtc.dev/deel/apis/endpoints-2/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/endpoints-2/revisions/b48979ae8a04?raw)
