Deel subpackage_invoiceAdjustments API

The subpackage_invoiceAdjustments API from Deel — 4 operation(s) for subpackage_invoiceadjustments.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/deel-subpackage-invoiceadjustments-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

deel-subpackage-invoiceadjustments-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Endpoints subpackage_invoiceAdjustments API
  version: 1.0.0
servers:
- url: https://api.letsdeel.com/rest/v2
- url: https://api-staging.letsdeel.com/rest/v2
tags:
- name: subpackage_invoiceAdjustments
paths:
  /invoice-adjustments:
    post:
      operationId: create-invoice-adjustment
      summary: Create an invoice adjustment
      description: "Create an invoice adjustment using this endpoint. For example, you can add a bonus, commission, VAT %, deduction etc. to an invoice.\n **Token scopes**: `invoice-adjustments:write`, `worker:write`"
      tags:
      - subpackage_invoiceAdjustments
      parameters:
      - name: recurring
        in: query
        description: Add this invoice adjustment as recurring
        required: false
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoice-adjustments_createInvoiceAdjustment_Response_201'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
      requestBody:
        description: InvoiceAdjustment object that needs to be created
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  $ref: '#/components/schemas/InvoiceAdjustmentsPostRequestBodyContentApplicationJsonSchemaData'
                  description: Details of invoice adjustment to create.
              required:
              - data
    get:
      operationId: get-invoice-adjustments
      summary: List invoice adjustments
      description: "Retrieve invoice adjustments. You can filter the list by providing additional parameters e.g. contract_id, contract_type etc.\n **Token scopes**: `invoice-adjustments:read`"
      tags:
      - subpackage_invoiceAdjustments
      parameters:
      - name: contract_id
        in: query
        description: Id of an Deel contract.
        required: false
        schema:
          type: string
      - name: contract_types
        in: query
        description: types of contracts to filter
        required: false
        schema:
          $ref: '#/components/schemas/InvoiceAdjustmentsGetParametersContractTypes'
      - name: types
        in: query
        description: types of invoice adjustments to filter
        required: false
        schema:
          $ref: '#/components/schemas/InvoiceAdjustmentsGetParametersTypes'
      - name: statuses
        in: query
        description: statuses of invoice adjustment to filter
        required: false
        schema:
          $ref: '#/components/schemas/InvoiceAdjustmentsGetParametersStatuses'
      - name: invoice_id
        in: query
        description: ID of an existing invoice
        required: false
        schema:
          type: string
      - name: reporter_id
        in: query
        description: ID of an existing profile
        required: false
        schema:
          type: string
          format: uuid
      - name: date_from
        in: query
        description: '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.'
        required: false
        schema:
          type: string
          format: date
      - name: date_to
        in: query
        description: '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.'
        required: false
        schema:
          type: string
          format: date
      - name: limit
        in: query
        description: 'Return a page of results with given number of records; NOTE: technically ALL query parameters are strings or array of strings'
        required: false
        schema:
          type: string
      - name: offset
        in: query
        description: 'Return a page of results after given index of row; NOTE: technically ALL query parameters are strings or array of strings'
        required: false
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoice-adjustments_getInvoiceAdjustments_Response_200'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListInvoiceAdjustments-v2026-01-01RequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
  /invoice-adjustments/{id}:
    delete:
      operationId: delete-invoice-adjustment
      summary: Delete adjustment
      description: "Delete an adjustment.\n **Token scopes**: `invoice-adjustments:write`"
      tags:
      - subpackage_invoiceAdjustments
      parameters:
      - name: id
        in: path
        description: Invoice adjustment id.
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoice-adjustments_deleteInvoiceAdjustment_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
    get:
      operationId: get-invoice-adjustment-by-id
      summary: Invoice line item by Id
      description: "Use this endpoint to retrieve the details of a specific invoice adjustment (line item) by its id. Call it when you need to display or audit a charge, deduction, or expense on an invoice, or to reconcile a payment discrepancy. Provide the adjustment id in the path parameter. This operation is read-only.\n **Token scopes**: `invoice-adjustments:read`, `worker:read`"
      tags:
      - subpackage_invoiceAdjustments
      parameters:
      - name: id
        in: path
        description: ID of an existing invoice
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoice-adjustments_getInvoiceAdjustmentById_Response_200'
        '400':
          description: Fetch failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvoiceLineItemById-v2026-01-01RequestBadRequestError'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
    patch:
      operationId: update-invoice-adjustment
      summary: Update an invoice adjustment
      description: "Update an invoice adjustment.\n **Token scopes**: `invoice-adjustments:write`, `worker:write`"
      tags:
      - subpackage_invoiceAdjustments
      parameters:
      - name: id
        in: path
        description: Invoice adjustment id.
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoice-adjustments_updateInvoiceAdjustment_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  $ref: '#/components/schemas/InvoiceAdjustmentsIdPatchRequestBodyContentApplicationJsonSchemaData'
                  description: Details of adjustment to update
              required:
              - data
  /contracts/{contract_id}/invoice-adjustments:
    get:
      operationId: get-contract-invoice-adjustments
      summary: Invoice line items by contract
      description: "Retrieve invoice line items for a given contract id.\n **Token scopes**: `invoice-adjustments:read`"
      tags:
      - subpackage_invoiceAdjustments
      parameters:
      - name: contract_id
        in: path
        description: Deel contract id.
        required: true
        schema:
          type: string
      - name: contract_types
        in: query
        description: types of contracts to filter
        required: false
        schema:
          $ref: '#/components/schemas/ContractsContractIdInvoiceAdjustmentsGetParametersContractTypes'
      - name: types
        in: query
        description: types of invoice adjustments to filter
        required: false
        schema:
          $ref: '#/components/schemas/ContractsContractIdInvoiceAdjustmentsGetParametersTypes'
      - name: statuses
        in: query
        description: statuses of invoice adjustment to filter
        required: false
        schema:
          $ref: '#/components/schemas/ContractsContractIdInvoiceAdjustmentsGetParametersStatuses'
      - name: invoice_id
        in: query
        description: ID of an existing invoice
        required: false
        schema:
          type: string
      - name: reporter_id
        in: query
        description: ID of an existing profile
        required: false
        schema:
          type: string
          format: uuid
      - name: date_from
        in: query
        description: '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.'
        required: false
        schema:
          type: string
          format: date
      - name: date_to
        in: query
        description: '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.'
        required: false
        schema:
          type: string
          format: date
      - name: limit
        in: query
        description: 'Return a page of results with given number of records; NOTE: technically ALL query parameters are strings or array of strings'
        required: false
        schema:
          type: string
      - name: offset
        in: query
        description: 'Return a page of results after given index of row; NOTE: technically ALL query parameters are strings or array of strings'
        required: false
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoice-adjustments_getContractInvoiceAdjustments_Response_200'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
  /invoice-adjustments/{id}/reviews:
    post:
      operationId: create-invoice-adjustment-review
      summary: Review a single invoice adjustment
      description: "Review a single invoice adjustment to approve or decline it.\n **Token scopes**: `invoice-adjustments:write`"
      tags:
      - subpackage_invoiceAdjustments
      parameters:
      - name: id
        in: path
        description: ID of an existing invoice adjustment.
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: "## Authentication\nThe Deel API uses bearer tokens to authenticate requests. All API calls must be made over HTTPS — calls over plain HTTP or without authentication will fail.\n\n```curl\ncurl -X GET 'https://api.letsdeel.com/rest/v2/contracts' \\\n  -H 'Authorization: Bearer YOUR-TOKEN-HERE'\n```\n\n[Learn more about authentication](/api/authentication)\n"
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Successful operation.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoice-adjustments_createInvoiceAdjustmentReview_Response_201'
        '400':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '401':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '403':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '404':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
        '500':
          description: Operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorContainer'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  $ref: '#/components/schemas/InvoiceAdjustmentsIdReviewsPostRequestBodyContentApplicationJsonSchemaData'
              required:
              - data
components:
  schemas:
    InvoiceAdjustmentsGetParametersStatusesSchemaOneOf0Items:
      type: string
      enum:
      - approved
      - declined
      - not_payable
      - paid
      - pending
      - processing
      description: status of invoice adjustment
      title: InvoiceAdjustmentsGetParametersStatusesSchemaOneOf0Items
    invoice-adjustments_getInvoiceAdjustments_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItems'
          description: List of invoice adjustments returned for the request.
        page:
          $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaPage'
          description: Pagination metadata for the response.
      required:
      - data
      - page
      title: invoice-adjustments_getInvoiceAdjustments_Response_200
    InvoiceAdjustmentsIdReviewsPostResponsesContentApplicationJsonSchemaData:
      type: object
      properties:
        created:
          type: boolean
      required:
      - created
      title: InvoiceAdjustmentsIdReviewsPostResponsesContentApplicationJsonSchemaData
    InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsStatus:
      type: string
      enum:
      - approved
      - declined
      - not_payable
      - paid
      - pending
      - processing
      description: Current processing status of the invoice adjustment.
      title: InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsStatus
    InvoiceAdjustmentsGetParametersContractTypes1:
      type: string
      enum:
      - ongoing_time_based
      - pay_as_you_go_time_based
      - payg_milestones
      - payg_tasks
      title: InvoiceAdjustmentsGetParametersContractTypes1
    invoice-adjustments_createInvoiceAdjustmentReview_Response_201:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/InvoiceAdjustmentsIdReviewsPostResponsesContentApplicationJsonSchemaData'
      required:
      - data
      title: invoice-adjustments_createInvoiceAdjustmentReview_Response_201
    invoice-adjustments_updateInvoiceAdjustment_Response_200:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/InvoiceAdjustmentsIdPatchResponsesContentApplicationJsonSchemaData'
      required:
      - data
      title: invoice-adjustments_updateInvoiceAdjustment_Response_200
    InvoiceAdjustmentsGetParametersContractTypesSchemaOneOf0Items:
      type: string
      enum:
      - ongoing_time_based
      - pay_as_you_go_time_based
      - payg_milestones
      - payg_tasks
      description: Type of a contract
      title: InvoiceAdjustmentsGetParametersContractTypesSchemaOneOf0Items
    invoice-adjustments_getContractInvoiceAdjustments_Response_200:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItems'
        page:
          $ref: '#/components/schemas/ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaPage'
      required:
      - data
      - page
      title: invoice-adjustments_getContractInvoiceAdjustments_Response_200
    InvoiceAdjustmentsPostResponsesContentApplicationJsonSchemaData:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/InvoiceAdjustmentsPostResponsesContentApplicationJsonSchemaDataId'
        status:
          oneOf:
          - $ref: '#/components/schemas/InvoiceAdjustmentsPostResponsesContentApplicationJsonSchemaDataStatus'
          - type: 'null'
          description: status of invoice adjustment
        created:
          type: boolean
        created_at:
          type:
          - string
          - 'null'
          format: date-time
          description: Long date-time format following ISO-8601
      required:
      - created
      description: Details of invoice adjustment created.
      title: InvoiceAdjustmentsPostResponsesContentApplicationJsonSchemaData
    InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItems:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          format: uuid
          description: Unique identifier of this invoice adjustment.
        type:
          $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsType'
          description: Type of invoice adjustment.
        scale:
          type:
          - string
          - 'null'
          description: Predefined scale used to calculate the adjustment amount.
        status:
          oneOf:
          - $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsStatus'
          - type: 'null'
          description: Current processing status of the invoice adjustment.
        contract:
          $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsContract'
          description: Contract associated with this invoice adjustment.
        quantity:
          type:
          - number
          - 'null'
          format: double
          description: Quantity used to calculate the total amount.
        worksheet:
          oneOf:
          - $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsWorksheet'
          - type: 'null'
          description: Breakdown of time used for time-based calculations.
        attachment:
          oneOf:
          - $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsAttachment'
          - type: 'null'
          description: File attachment linked to the invoice adjustment.
        created_at:
          type: string
          format: date-time
          description: Timestamp when the adjustment was created (ISO-8601).
        invoice_id:
          type:
          - number
          - 'null'
          format: double
          description: Identifier of the generated invoice this adjustment belongs to.
        description:
          type:
          - string
          - 'null'
          description: Human-readable explanation of the invoice adjustment.
        reported_by:
          $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReportedBy'
          description: User who reported the invoice adjustment.
        reviewed_by:
          oneOf:
          - $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReviewedBy'
          - type: 'null'
          description: Reviewer information if the adjustment has been reviewed.
        custom_scale:
          type:
          - string
          - 'null'
          description: Custom scale label defined by the client.
        total_amount:
          type: string
          description: Total monetary value of the invoice adjustment.
        currency_code:
          type: string
          description: ISO 4217 currency code used for the amount.
        payment_cycle:
          $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsPaymentCycle'
          description: Payment cycle associated with this adjustment.
        date_submitted:
          type:
          - string
          - 'null'
          format: date-time
          description: Timestamp when the adjustment was submitted for review.
        hourlyReportPreset:
          oneOf:
          - $ref: '#/components/schemas/InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsHourlyReportPreset'
          - type: 'null'
      required:
      - id
      - type
      - status
      - contract
      - quantity
      - worksheet
      - attachment
      - created_at
      - description
      - reported_by
      - reviewed_by
      - total_amount
      - currency_code
      - payment_cycle
      title: InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItems
    InvoiceAdjustmentsGetParametersStatuses:
      oneOf:
      - $ref: '#/components/schemas/InvoiceAdjustmentsGetParametersStatuses0'
      - $ref: '#/components/schemas/InvoiceAdjustmentsGetParametersStatuses1'
      title: InvoiceAdjustmentsGetParametersStatuses
    InvoiceAdjustmentsPostRequestBodyContentApplicationJsonSchemaData:
      type: object
      properties:
        type:
          $ref: '#/components/schemas/InvoiceAdjustmentsPostRequestBodyContentApplicationJsonSchemaDataType'
          description: Type of invoice adjustment.
        amount:
          type: number
          format: double
          description: Amount to be paid. Must be a positive number.
        contract_id:
          type: string
          description: Id of a Deel contract.
        description:
          type: string
          description: Description of the adjustment.
        date_submitted:
          type: string
          format: date
          description: 'Short date in format ISO-8601 (YYYY-MM-DD). For example: 2022-12-31.'
        paymentCycleId:
          type:
          - number
          - 'null'
          format: double
          description: ID of an existing active payment cycle - required if type is "vat"
        is_auto_approved:
          type: boolean
          description: If true, the invoice adjustment will be automatically approved as part of the request.
        hourly_report_preset_id:
          type:
          - string
          - 'null'
          format: uuid
          description: Id of an existing preset.
      required:
      - type
      - amount
      - contract_id
      - description
      - date_submitted
      description: Details of invoice adjustment to create.
      title: InvoiceAdjustmentsPostRequestBodyContentApplicationJsonSchemaData
    InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataStatus:
      type: string
      enum:
      - approved
      - declined
      - not_payable
      - paid
      - pending
      - processing
      description: status of invoice adjustment
      title: InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataStatus
    ContractsContractIdInvoiceAdjustmentsGetParametersStatuses0:
      type: array
      items:
        $ref: '#/components/schemas/ContractsContractIdInvoiceAdjustmentsGetParametersStatusesSchemaOneOf0Items'
      title: ContractsContractIdInvoiceAdjustmentsGetParametersStatuses0
    InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaPage:
      type: object
      properties:
        offset:
          type: number
          format: double
          description: Index of the first record in the current page.
        total_rows:
          type: number
          format: double
          description: Total number of records available.
        items_per_page:
          type: number
          format: double
          description: Number of records returned per page.
      required:
      - offset
      - total_rows
      - items_per_page
      description: Pagination metadata for the response.
      title: InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaPage
    InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataReviewedById:
      oneOf:
      - type: string
      - type: integer
        format: int64
      title: InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataReviewedById
    InvoiceAdjustmentsGetRe

# --- truncated at 32 KB (72 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/deel/refs/heads/main/openapi/deel-subpackage-invoiceadjustments-api-openapi.yml