Deel subpackage_invoiceAdjustments API

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

Operations 7

POST /invoice-adjustments Create an invoice adjustment #
GET /invoice-adjustments List invoice adjustments #
DELETE /invoice-adjustments/{id} Delete adjustment #
GET /invoice-adjustments/{id} Invoice line item by Id #
PATCH /invoice-adjustments/{id} Update an invoice adjustment #
GET /contracts/{contract_id}/invoice-adjustments Invoice line items by contract #
POST /invoice-adjustments/{id}/reviews Review a single invoice adjustment #

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.2.0
info:
  title: Endpoints Subpackage Invoice Adjustments 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:
    ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaPage:
      type: object
      properties:
        offset:
          type: number
          format: double
          description: Index of the first row in this page
        total_rows:
          type: number
          format: double
          description: Total number of rows in the result set
        items_per_page:
          type: number
          format: double
          description: Number of items per page
      required:
      - offset
      - total_rows
      - items_per_page
      title: ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaPage
    ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReviewedById:
      oneOf:
      - type: string
      - type: integer
        format: int64
      title: ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReviewedById
    ContractsContractIdInvoiceAdjustmentsGetParametersStatuses0:
      type: array
      items:
        $ref: '#/components/schemas/ContractsContractIdInvoiceAdjustmentsGetParametersStatusesSchemaOneOf0Items'
      title: ContractsContractIdInvoiceAdjustmentsGetParametersStatuses0
    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
    InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataContract:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the contract.
        type:
          $ref: '#/components/schemas/InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataContractType'
          description: Type of a contract
        title:
          type: string
          description: The display title of the contract.
      required:
      - id
      - type
      - title
      title: InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataContract
    InvoiceAdjustmentsPostRequestBodyContentApplicationJsonSchemaDataType:
      type: string
      enum:
      - bonus
      - commission
      - deduction
      - expense
      - other
      - overtime
      - time_off
      - vat
      description: Type of invoice adjustment.
      title: InvoiceAdjustmentsPostRequestBodyContentApplicationJsonSchemaDataType
    InvoiceAdjustmentsGetParametersStatuses0:
      type: array
      items:
        $ref: '#/components/schemas/InvoiceAdjustmentsGetParametersStatusesSchemaOneOf0Items'
      title: InvoiceAdjustmentsGetParametersStatuses0
    ListInvoiceAdjustments-v2026-01-01RequestBadRequestError:
      type: object
      properties:
        error:
          type: string
      required:
      - error
      title: ListInvoiceAdjustments-v2026-01-01RequestBadRequestError
    ContractsContractIdInvoiceAdjustmentsGetParametersStatusesSchemaOneOf0Items:
      type: string
      enum:
      - approved
      - declined
      - not_payable
      - paid
      - pending
      - processing
      description: status of invoice adjustment
      title: ContractsContractIdInvoiceAdjustmentsGetParametersStatusesSchemaOneOf0Items
    InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataApproversItems:
      type: object
      properties:
        email:
          type: string
          description: Email address of the approver.
        approved:
          type: boolean
          description: Whether the specific approver has approved the adjustment.
        full_name:
          type: string
          description: Full name of the approver.
      required:
      - approved
      title: InvoiceAdjustmentsIdGetResponsesContentApplicationJsonSchemaDataApproversItems
    ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsContract:
      type: object
      properties:
        id:
          type: string
        type:
          $ref: '#/components/schemas/ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsContractType'
          description: Type of a contract
        title:
          type: string
      required:
      - id
      - type
      - title
      title: ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsContract
    InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReportedById:
      oneOf:
      - type: string
      - type: integer
        format: int64
      description: Unique identifier of the reporting user.
      title: InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReportedById
    InvoiceAdjustmentsGetParametersStatuses1:
      type: string
      enum:
      - approved
      - declined
      - not_payable
      - paid
      - pending
      - processing
      title: InvoiceAdjustmentsGetParametersStatuses1
    InvoiceAdjustmentsGetParametersContractTypes1:
      type: string
      enum:
      - ongoing_time_based
      - pay_as_you_go_time_based
      - payg_milestones
      - payg_tasks
      title: InvoiceAdjustmentsGetParametersContractTypes1
    invoice-adjustments_updateInvoiceAdjustment_Response_200:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/InvoiceAdjustmentsIdPatchResponsesContentApplicationJsonSchemaData'
      required:
      - data
      title: invoice-adjustments_updateInvoiceAdjustment_Response_200
    ContractsContractIdInvoiceAdjustmentsGetParametersContractTypesSchemaOneOf0Items:
      type: string
      enum:
      - 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
      description: Type of a contract
      title: ContractsContractIdInvoiceAdjustmentsGetParametersContractTypesSchemaOneOf0Items
    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
    ContractsContractIdInvoiceAdjustmentsGetParametersStatuses1:
      type: string
      enum:
      - approved
      - declined
      - not_payable
      - paid
      - pending
      - processing
      title: ContractsContractIdInvoiceAdjustmentsGetParametersStatuses1
    ApiError:
      type: object
      properties:
        message:
          type: string
          description: A description of the returned error
        path:
          type: string
          description: The JSON path where input validation failed
      title: ApiError
    ContractsContractIdInvoiceAdjustmentsGetParametersTypes0:
      type: array
      items:
        $ref: '#/components/schemas/ContractsContractIdInvoiceAdjustmentsGetParametersTypesSchemaOneOf0Items'
      title: ContractsContractIdInvoiceAdjustmentsGetParametersTypes0
    InvoiceAdjustmentsIdPatchRequestBodyContentApplicationJsonSchemaData:
      type: object
      properties:
        title:
          type: string
          description: Title of adjustment.
        amount:
          type: number
          format: double
          description: Amount of adjustment.
        description:
          type: string
          description: Description of adjustment.
      description: Details of adjustment to update
      title: InvoiceAdjustmentsIdPatchRequestBodyContentApplicationJsonSchemaData
    InvoiceAdjustmentsIdReviewsPostRequestBodyContentApplicationJsonSchemaData:
      type: object
      properties:
        reason:
          type:
          - string
          - 'null'
          description: The reason for the adjustment update.
        status:
          $ref: '#/components/schemas/InvoiceAdjustmentsIdReviewsPostRequestBodyContentApplicationJsonSchemaDataStatus'
          description: The status of the adjustment.
      required:
      - status
      title: InvoiceAdjustmentsIdReviewsPostRequestBodyContentApplicationJsonSchemaData
    ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReviewedBy:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReviewedById'
        remarks:
          type: string
        full_name:
          type: string
        reviewed_at:
          type: string
      required:
      - id
      - remarks
      - reviewed_at
      title: ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReviewedBy
    ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReportedById:
      oneOf:
      - type: string
      - type: integer
        format: int64
      title: ContractsContractIdInvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsReportedById
    InvoiceAdjustmentsPostResponsesContentApplicationJsonSchemaDataId:
      oneOf:
      - type: string
      - type: integer
        format: int64
      title: InvoiceAdjustmentsPostResponsesContentApplicationJsonSchemaDataId
    InvoiceAdjustmentsGetResponsesContentApplicationJsonSchemaDataItemsAttachment:
      type: object
      properties:
        key:
          type: string
          description: Storage key returned from the attachments endpoint, can be used as a unique identifier for the file
        filename:
          type: string
          description: Original filename of the uploaded attachment, download link can be found on the individual invoice adjustment endpoint
      required:
      -

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