invoiceAdjustments

List invoice adjustments

Changed on

Lists invoice adjustments across contracts, so you can find them without knowing the contract in advance. Use GET /contracts/{contract_id}/invoice-adjustments when you only need one contract, or GET /invoice-adjustments/{id} when you already know the adjustment id.

Token scopes: invoice-adjustments:read

get/invoice-adjustments

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Query parameters

contract_id, string

Id of an Deel contract.

contract_types, InvoiceAdjustmentsGetParametersContractTypesSchemaItems[]

types of contracts to filter

types, InvoiceAdjustmentsGetParametersTypesSchemaItems[]

types of invoice adjustments to filter

statuses, InvoiceAdjustmentsGetParametersStatusesSchemaItems[]

statuses of invoice adjustment to filter

invoice_id, string

ID of an existing invoice

reporter_id, string uuid

ID of an existing profile

date_from, string date

To get invoice adjustments submitted on or after given start date (inclusive). Short date in format ISO-8601 (YYYY-MM-DD). For example: 2022-12-31.

date_to, string date

To get invoice adjustments submitted before given end date (excludes records submitted on this date). Short date in format ISO-8601 (YYYY-MM-DD). For example: 2022-12-31.

limit, string

Return a page of results with given number of records; NOTE: technically ALL query parameters are strings or array of strings

offset, string

Return a page of results after given index of row; NOTE: technically ALL query parameters are strings or array of strings

Response

Successful operation.

InvoiceAdjustmentsGetInvoiceAdjustmentsResponse200 required
data, InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItems[] required

List of invoice adjustments returned for the request.

page, InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaPage required

Pagination metadata for the response.

Changes

    • breaking

      the response property data/items/currency_code became nullable for the status

    • warning

      removed the optional property data/items/payment_cycle/end from the response with the status

    • warning

      removed the optional property data/items/payment_cycle/start from the response with the status

    11 more changes in this revision