> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kombo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# One-time deductions

> List your one-time deductions and where they are, for example everything that’s still queued or that failed.

> [!WARNING]
>
> **Closed Beta Feature:** This endpoint is now in closed beta. Please reach out to your account manager or [support](mailto:support@kombo.dev).

Cancelled deductions only show up when you filter for `CANCELLED`. Use `updated_after` to pick up what changed since you last checked, for example deductions the last sync wrote or that failed.

[Write deductions guide](https://docs.kombo.dev/payroll/guides/write-deductions.md)


## OpenAPI

````yaml GET /payroll/one-time-deductions
openapi: 3.1.0
info:
  title: Kombo API
  version: 1.0.0
servers:
  - url: https://api.kombo.dev/v1
    description: Kombo EU API
  - url: https://api.us.kombo.dev/v1
    description: Kombo US API
  - url: https://api.ca.kombo.dev/v1
    description: Kombo CA API
security:
  - ApiKey: []
tags:
  - name: General
  - name: Kombo Connect
    description: >-
      Endpoints for Kombo Connect, our end-user-facing flow for setting up new
      integrations.
  - name: Unified HRIS API
    description: Unified endpoints to access all the HR concepts you might need.
  - name: Unified ATS API
    description: Unified endpoints to access all the ATS concepts you might need.
  - name: Unified ATS (Assessment & Background Check) API
    description: >-
      Unified endpoints to operate Assessments and Background Checks for many
      applicant tracking systems.
  - name: Unified LMS API
    description: Unified endpoints to access all the LMS concepts you might need.
  - name: Unified Payroll API
    description: >-
      Unified endpoints to read payroll data and write deductions into payroll
      tools.
  - name: AI Apply
    description: Endpoints for AI-powered job application features.
  - name: Custom Endpoints
    description: Custom integration-specific endpoints.
paths:
  /payroll/one-time-deductions:
    get:
      tags:
        - Unified Payroll API
      summary: One-time deductions
      description: >-
        List your one-time deductions and where they are, for example everything
        that’s still queued or that failed.




        <Warning>**Closed Beta Feature:** This endpoint is now in closed beta.
        Please reach out to your account manager or
        [support](mailto:support@kombo.dev).</Warning>




        Cancelled deductions only show up when you filter for `CANCELLED`. Use
        `updated_after` to pick up what changed since you last checked, for
        example deductions the last sync wrote or that failed.


        [Write deductions guide](/payroll/guides/write-deductions)
      operationId: GetPayrollOneTimeDeductions
      parameters:
        - in: header
          name: X-Integration-Id
          schema:
            type: string
          description: ID of the integration you want to interact with.
          example: paycor:HWUTwvyx2wLoSUHphiWVrp28
          required: true
        - name: cursor
          in: query
          required: false
          description: >-
            An optional cursor string used for pagination. This can be retrieved
            from the `next` property of the previous page response.
          schema:
            $ref: '#/components/schemas/GetPayrollOneTimeDeductionsParameterCursor'
        - name: page_size
          in: query
          required: false
          description: The number of results to return per page. Maximum is 250.
          schema:
            $ref: '#/components/schemas/GetPayrollOneTimeDeductionsParameterPageSize'
        - name: updated_after
          in: query
          required: false
          description: >-
            Filter the entries based on the modification date in format
            `YYYY-MM-DDTHH:mm:ss.sssZ`. Returns records where either the record
            itself **OR** its nested data has been updated since this timestamp,
            even if the record's own `changed_at` field remains unchanged.


            If you want to track entry deletion, also set the
            `include_deleted=true` query parameter, because otherwise, deleted
            entries will be hidden.


            For more details, see [Understanding changed_at vs updated_after
            Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).


            For this endpoint, only changes to the returned record itself are
            considered.
          schema:
            $ref: >-
              #/components/schemas/GetPayrollOneTimeDeductionsParameterUpdatedAfter
        - name: include_deleted
          in: query
          required: false
          description: >-
            By default, deleted entries are not returned. Use the
            `include_deleted` query param to include deleted entries too.
          schema:
            $ref: >-
              #/components/schemas/GetPayrollOneTimeDeductionsParameterIncludeDeleted
        - name: ignore_unsupported_filters
          in: query
          required: false
          description: >-
            When set to `true`, filters targeting fields not supported by this
            integration will be ignored instead of filtering out all results.
          schema:
            $ref: >-
              #/components/schemas/GetPayrollOneTimeDeductionsParameterIgnoreUnsupportedFilters
        - name: ids
          in: query
          required: false
          description: Filter by a comma-separated list of Kombo deduction IDs.
          schema:
            $ref: '#/components/schemas/GetPayrollOneTimeDeductionsParameterIds'
        - name: origin_ids
          in: query
          required: false
          description: Filter by a comma-separated list of your own `origin_id` values.
          schema:
            $ref: '#/components/schemas/GetPayrollOneTimeDeductionsParameterOriginIds'
        - name: employment_ids
          in: query
          required: false
          description: Filter by a comma-separated list of employment IDs.
          schema:
            $ref: >-
              #/components/schemas/GetPayrollOneTimeDeductionsParameterEmploymentIds
        - name: pay_run_ids
          in: query
          required: false
          description: >-
            Filter by a comma-separated list of pay run IDs the deductions are
            planned for or written into.
          schema:
            $ref: '#/components/schemas/GetPayrollOneTimeDeductionsParameterPayRunIds'
        - name: statuses
          in: query
          required: false
          description: >-
            Filter by a comma-separated list of statuses, for example
            `QUEUED,FAILED`.
          schema:
            $ref: '#/components/schemas/GetPayrollOneTimeDeductionsParameterStatuses'
      responses:
        '200':
          description: GET /payroll/one-time-deductions Positive response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/GetPayrollOneTimeDeductionsPositiveResponse
              examples:
                example1:
                  value:
                    status: success
                    data:
                      next: >-
                        eyJwYWdlIjoxMiwibm90ZSI6InRoaXMgaXMganVzdCBhbiBleGFtcGxlIGFuZCBub3QgcmVwcmVzZW50YXRpdmUgZm9yIGEgcmVhbCBjdXJzb3IhIn0=
                      results:
                        - id: 26vafvWSRmbhNcxJYqjCzuJg
                          origin_id: inv-2026-11-emp-123
                          remote_id: PI-000123
                          employment_id: 3Rr5mVhEoJ4zQJMDfRfkYcFi
                          deduction_type: gym_membership
                          employee_contribution:
                            type: FLAT
                            amount: 19.9
                            currency: EUR
                          deduction_code:
                            id: Bq9zVXhSPZ4nEmT6yWkLdRc2
                            remote_id: GYM01
                            name: Wellness benefit 1
                          pay_run:
                            id: 4nQx8sLbWm2TcRvYk7HdJpZe
                            start_date: '2026-12-01'
                            end_date: '2026-12-31'
                            pay_date: '2026-12-31'
                          status: PENDING
                          error: null
                          created_at: '2026-12-02T10:12:00.000Z'
                          updated_at: '2026-12-02T13:04:51.000Z'
        default:
          $ref: '#/components/responses/ErrorResponseHRIS'
components:
  schemas:
    GetPayrollOneTimeDeductionsParameterCursor:
      type: string
      description: >-
        An optional cursor string used for pagination. This can be retrieved
        from the `next` property of the previous page response.
    GetPayrollOneTimeDeductionsParameterPageSize:
      type: integer
      format: int64
      minimum: 1
      maximum: 250
      default: 100
      description: The number of results to return per page. Maximum is 250.
    GetPayrollOneTimeDeductionsParameterUpdatedAfter:
      description: >-
        Filter the entries based on the modification date in format
        `YYYY-MM-DDTHH:mm:ss.sssZ`. Returns records where either the record
        itself **OR** its nested data has been updated since this timestamp,
        even if the record's own `changed_at` field remains unchanged.


        If you want to track entry deletion, also set the `include_deleted=true`
        query parameter, because otherwise, deleted entries will be hidden.


        For more details, see [Understanding changed_at vs updated_after
        Behavior](https://docs.kombo.dev/ats/getting-started/fetching-data#understanding-changed_at-vs-updated_after-behavior).


        For this endpoint, only changes to the returned record itself are
        considered.
      type: string
      format: date-time
      pattern: ^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d+)?)?Z?$
      externalDocs:
        url: >-
          https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString
    GetPayrollOneTimeDeductionsParameterIncludeDeleted:
      type: string
      enum:
        - 'true'
        - 'false'
      default: 'false'
      description: >-
        By default, deleted entries are not returned. Use the `include_deleted`
        query param to include deleted entries too.
    GetPayrollOneTimeDeductionsParameterIgnoreUnsupportedFilters:
      type: string
      enum:
        - 'true'
        - 'false'
      default: 'false'
      description: >-
        When set to `true`, filters targeting fields not supported by this
        integration will be ignored instead of filtering out all results.
    GetPayrollOneTimeDeductionsParameterIds:
      type: string
      description: Filter by a comma-separated list of Kombo deduction IDs.
    GetPayrollOneTimeDeductionsParameterOriginIds:
      type: string
      description: Filter by a comma-separated list of your own `origin_id` values.
    GetPayrollOneTimeDeductionsParameterEmploymentIds:
      type: string
      description: Filter by a comma-separated list of employment IDs.
    GetPayrollOneTimeDeductionsParameterPayRunIds:
      type: string
      description: >-
        Filter by a comma-separated list of pay run IDs the deductions are
        planned for or written into.
    GetPayrollOneTimeDeductionsParameterStatuses:
      type: string
      description: >-
        Filter by a comma-separated list of statuses, for example
        `QUEUED,FAILED`.
    GetPayrollOneTimeDeductionsPositiveResponse:
      type: object
      properties:
        status:
          type: string
          const: success
        data:
          type: object
          properties:
            next:
              type:
                - string
                - 'null'
              description: >-
                Cursor string that can be passed to the `cursor` query parameter
                to get the next page. If this is `null`, then there are no more
                pages.
            results:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                    description: >-
                      The globally unique ID of this object generated by Kombo.
                      We recommend using this as a stable primary key for
                      syncing.
                  origin_id:
                    type: string
                    minLength: 1
                    maxLength: 255
                    pattern: ^[A-Za-z0-9\-_.:]+$
                    description: >-
                      Your own unique ID for this deduction, for example your
                      invoice line per employee and month. Kombo matches it per
                      integration to protect against double deductions. 1 to 255
                      characters: letters, numbers, `-`, `_`, `.` and `:`.
                  remote_id:
                    type:
                      - string
                      - 'null'
                    description: >-
                      The deduction’s ID in the payroll tool. `null` until Kombo
                      writes it, or if the tool doesn’t return one.
                  employment_id:
                    type: string
                    description: The Kombo ID of the employment the deduction is for.
                  deduction_type:
                    type: string
                    description: >-
                      The deduction type key you sent, for example
                      `gym_membership`.
                  employee_contribution:
                    type: object
                    properties:
                      type:
                        type: string
                        const: FLAT
                        description: >-
                          How the amount is defined. Always `FLAT`: a fixed
                          amount.
                      amount:
                        type: number
                        format: double
                        exclusiveMinimum: 0
                        description: >-
                          The amount to deduct, for example `19.90`. Must be
                          greater than 0, with at most 2 decimal places. You
                          don’t send a currency: it comes from the deduction
                          code mapping.
                        multipleOf: 0.01
                      currency:
                        type: string
                        description: >-
                          ISO 4217 currency code, taken from the deduction code
                          mapping.
                    required:
                      - type
                      - amount
                      - currency
                    description: The amount taken from the employee’s pay.
                  deduction_code:
                    type: object
                    properties:
                      id:
                        type: string
                        description: >-
                          The globally unique ID of this object generated by
                          Kombo. We recommend using this as a stable primary key
                          for syncing.
                      remote_id:
                        type: string
                        description: The ID of the deduction code in the payroll tool.
                      name:
                        type: string
                        description: The name of the deduction code.
                    required:
                      - id
                      - remote_id
                      - name
                    description: >-
                      The deduction code in the payroll tool that Kombo writes
                      the deduction with. It comes from your deduction type
                      mapping for this connection and the employee’s company or
                      country.
                  pay_run:
                    type: object
                    properties:
                      id:
                        type: string
                        description: >-
                          The globally unique ID of this object generated by
                          Kombo. We recommend using this as a stable primary key
                          for syncing.
                      start_date:
                        type: string
                        format: date
                        pattern: ^\d{4}-\d{2}-\d{2}$
                        description: First day of the pay period (`yyyy-MM-dd`).
                      end_date:
                        type: string
                        format: date
                        pattern: ^\d{4}-\d{2}-\d{2}$
                        description: Last day of the pay period (`yyyy-MM-dd`).
                      pay_date:
                        type: string
                        format: date
                        pattern: ^\d{4}-\d{2}-\d{2}$
                        description: The day employees get paid (`yyyy-MM-dd`).
                    required:
                      - id
                      - start_date
                      - end_date
                      - pay_date
                    description: >-
                      The pay run Kombo plans to write the deduction into, or
                      wrote it into. Set as soon as Kombo accepts the deduction,
                      and it doesn’t change: if Kombo misses the cutoff, the
                      deduction fails with `PAYROLL.CUTOFF_MISSED` instead of
                      moving to the next pay run.
                  status:
                    type: string
                    enum:
                      - QUEUED
                      - PENDING_APPROVAL
                      - PENDING
                      - PROCESSED
                      - DECLINED
                      - FAILED
                      - CANCELLED
                    description: >-
                      Where the deduction is right now:

                      - `QUEUED`: saved in Kombo, written to the payroll tool
                      with the next sync. Can be cancelled.

                      - `PENDING_APPROVAL`: in the payroll tool, waiting for HR
                      to approve it. Only in tools where approval is turned on.

                      - `PENDING`: in the payroll tool, scheduled for its pay
                      run. HR can still change or remove it there.

                      - `PROCESSED`: a finished pay run processed it. Kombo’s
                      part is done.

                      - `DECLINED`: HR declined it while it was
                      `PENDING_APPROVAL`. Nothing is taken.

                      - `FAILED`: it never got into a pay run, for example
                      because the tool rejected it or Kombo missed the cutoff.
                      `error` tells you why. Can be cancelled.

                      - `CANCELLED`: you cancelled it before Kombo wrote it.
                      Only returned when you filter for it.
                  error:
                    type:
                      - object
                      - 'null'
                    properties:
                      code:
                        type: string
                        enum:
                          - PAYROLL.DEDUCTION_TYPE_NOT_CONFIGURED
                          - PAYROLL.CUTOFF_MISSED
                          - PAYROLL.EMPLOYMENT_NOT_FOUND
                          - PAYROLL.ORIGIN_ID_CONFLICT
                          - PAYROLL.DEDUCTION_REMOVED_IN_TOOL
                          - PAYROLL.DEDUCTION_ALREADY_WRITTEN
                          - PAYROLL.DEDUCTION_LOCKED
                          - PAYROLL.DEDUCTION_NOT_FOUND
                          - REMOTE.INPUT_INVALID
                      title:
                        type:
                          - string
                          - 'null'
                      message:
                        type: string
                      log_url:
                        type:
                          - string
                          - 'null'
                    required:
                      - code
                      - title
                      - message
                      - log_url
                    description: Only set for `FAILED` deductions, otherwise `null`.
                  created_at:
                    description: When Kombo saved the deduction.
                  updated_at:
                    description: When the deduction last changed.
                required:
                  - id
                  - origin_id
                  - remote_id
                  - employment_id
                  - deduction_type
                  - employee_contribution
                  - deduction_code
                  - pay_run
                  - status
                  - error
                  - created_at
                  - updated_at
                examples:
                  - id: 26vafvWSRmbhNcxJYqjCzuJg
                    origin_id: inv-2026-11-emp-123
                    remote_id: PI-000123
                    employment_id: 3Rr5mVhEoJ4zQJMDfRfkYcFi
                    deduction_type: gym_membership
                    employee_contribution:
                      type: FLAT
                      amount: 19.9
                      currency: EUR
                    deduction_code:
                      id: Bq9zVXhSPZ4nEmT6yWkLdRc2
                      remote_id: GYM01
                      name: Wellness benefit 1
                    pay_run:
                      id: 4nQx8sLbWm2TcRvYk7HdJpZe
                      start_date: '2026-12-01'
                      end_date: '2026-12-31'
                      pay_date: '2026-12-31'
                    status: PENDING
                    error: null
                    created_at: '2026-12-02T10:12:00.000Z'
                    updated_at: '2026-12-02T13:04:51.000Z'
          required:
            - next
            - results
          examples:
            - next: >-
                eyJwYWdlIjoxMiwibm90ZSI6InRoaXMgaXMganVzdCBhbiBleGFtcGxlIGFuZCBub3QgcmVwcmVzZW50YXRpdmUgZm9yIGEgcmVhbCBjdXJzb3IhIn0=
              results:
                - id: 26vafvWSRmbhNcxJYqjCzuJg
                  origin_id: inv-2026-11-emp-123
                  remote_id: PI-000123
                  employment_id: 3Rr5mVhEoJ4zQJMDfRfkYcFi
                  deduction_type: gym_membership
                  employee_contribution:
                    type: FLAT
                    amount: 19.9
                    currency: EUR
                  deduction_code:
                    id: Bq9zVXhSPZ4nEmT6yWkLdRc2
                    remote_id: GYM01
                    name: Wellness benefit 1
                  pay_run:
                    id: 4nQx8sLbWm2TcRvYk7HdJpZe
                    start_date: '2026-12-01'
                    end_date: '2026-12-31'
                    pay_date: '2026-12-31'
                  status: PENDING
                  error: null
                  created_at: '2026-12-02T10:12:00.000Z'
                  updated_at: '2026-12-02T13:04:51.000Z'
      required:
        - status
        - data
  responses:
    ErrorResponseHRIS:
      description: The standard error response with the error codes for the HRIS use case.
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                enum:
                  - error
              error:
                type: object
                properties:
                  code:
                    type:
                      - string
                      - 'null'
                    enum:
                      - PLATFORM.RATE_LIMIT_EXCEEDED
                      - PLATFORM.CONCURRENCY_LIMIT_EXCEEDED
                      - PLATFORM.INTEGRATION_NOT_FOUND
                      - PLATFORM.INPUT_INVALID
                      - PLATFORM.UNKNOWN_ERROR
                      - PLATFORM.IP_NOT_WHITELISTED
                      - PLATFORM.AUTHENTICATION_INVALID
                      - PLATFORM.TASK_TIMED_OUT
                      - INTEGRATION.PERMISSION_MISSING
                      - INTEGRATION.AUTHENTICATION_INVALID
                      - INTEGRATION.QA_FAILED
                      - INTEGRATION.SETUP_SYNC_PENDING
                      - INTEGRATION.SETUP_INCOMPLETE
                      - INTEGRATION.INACTIVE
                      - INTEGRATION.MODEL_NOT_AVAILABLE
                      - INTEGRATION.MODEL_DISABLED
                      - INTEGRATION.ACTION_NOT_AVAILABLE
                      - INTEGRATION.ACTION_DISABLED
                      - REMOTE.SERVICE_UNAVAILABLE
                      - REMOTE.RATE_LIMIT_EXCEEDED
                      - REMOTE.INPUT_INVALID
                      - REMOTE.UNKNOWN_HTTP_ERROR
                      - HRIS.STAFFING_ENTITY_CLOSED
                      - HRIS.EMPLOYEE_ALREADY_EXISTS
                    example: HRIS.EMPLOYEE_ALREADY_EXISTS
                    description: >-
                      Some errors include an error code that can be used to
                      identify their cause. See the [Error Handling
                      Docs](https://docs.kombo.dev/guides/errors) for more
                      information. For your error handling logic please use the
                      error `code` instead of other properties (e.g. message,
                      http status code, ...).
                  title:
                    type:
                      - string
                      - 'null'
                    description: A static, human-readable label.
                  message:
                    type: string
                    description: >-
                      A dynamic, detailed description of what went wrong in this
                      specific instance.
                  log_url:
                    type:
                      - string
                      - 'null'
                    format: uri
                    description: >-
                      The log page in the Kombo UI lists every interaction with
                      full details. If you need assistance, share that link with
                      our support team.
                required:
                  - code
                  - title
                  - message
                  - log_url
                description: Error details with structured code for programmatic handling.
            required:
              - status
              - error
          examples:
            Error Response:
              description: >-
                When building error handling logic, always use the `code` field
                to identify specific error types programmatically. See the
                complete list of error codes in the
                [docs](https://docs.kombo.dev/guides/errors).
              value:
                status: error
                error:
                  code: INTEGRATION.MODEL_NOT_AVAILABLE
                  title: >-
                    This data model isn't supported for the selected
                    integration.
                  message: >-
                    The "employees" model is not yet available for Greenhouse.
                    Please reach out to Kombo if you need this functionality.
                  log_url: https://app.kombo.dev/my-prod/logs?interactionId=123456
            Minimal Error Response:
              description: >-
                The "message" is always required while other fields can also be
                `null`. See the [docs](https://docs.kombo.dev/guides/errors) for
                more information.
              value:
                status: error
                error:
                  code: null
                  title: null
                  message: The message is always in the response.
                  log_url: null
  securitySchemes:
    ApiKey:
      type: http
      scheme: bearer
      description: >-
        Create an API key on the [Secrets](https://app.kombo.dev/secrets) page
        in the Kombo dashboard.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.