---
title: "Mark Invoice Payable as Paid and stop tracking in Coupa"
method: PUT
path: "/payables/invoices/{id}/pay_externally"
tags: ["Payables-Invoice"]
---

# Mark Invoice Payable as Paid and stop tracking in Coupa

`PUT /payables/invoices/{id}/pay_externally`

## Request

- Base URL: `https://r38.coupadev.com/api`
- URL: `https://r38.coupadev.com/api/payables/invoices/{id}/pay_externally`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://r38.coupadev.com/oauth2/authorizations/new`
    - Token URL: `https://r38.coupadev.com/oauth2/token`
  - OAuth 2
    - Client credentials
    - Token URL: `https://r38.coupadev.com/oauth2/access_tokens`
- TypeScript: <https://skmtc.dev/coupa/apis/coupa-api-4/docs/payables/invoices/:id/pay_externally/put.ts> (a function with typed inputs; its response is checked against the schema)

Mark Invoice Payable as Paid and stop tracking in Coupa

## Path parameters

- `id` integer, required

## Query parameters

- `return_object` 'limited' | 'shallow' | 'none'
- `filter` string

## Request body

- PayablesInvoice
  - `accounting-amount` number: Total of reconciliation lines in accounting currency
  - `accounting-currency` Currency
    - `code` string, string(6), required: code
    - `decimals` integer: Decimal precision
    - `enabled` boolean: Enabled
    - `id` integer: Coupa unique identifier
    - `name` string, string(100), required: name
    - `symbol` string, string(10): symbol
  - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `currency` Currency
    - `code` string, string(6), required: code
    - `decimals` integer: Decimal precision
    - `enabled` boolean: Enabled
    - `id` integer: Coupa unique identifier
    - `name` string, string(100), required: name
    - `symbol` string, string(10): symbol
  - `discount-due-date` string, datetime: Discount Due Date
  - `document-id` string, string: Unique ID of associated document
  - `document-type` string, string: The type of the document being paid
  - `exported-to-tradefin-at` string, datetime: Date exported to tradefin
  - `id` integer: Unique ID of this payable
  - `last-exported-at` string, datetime: Last export date
  - `maturity-date` string, datetime: Maturity Date
  - `paid-amount` number: Total amount paid
  - `paid-date` string, datetime: Paid date
  - `payable-amount` number: The amount of the document which is ready to be paid
  - `payment-term` PaymentTerm
    - `active` boolean: A false value will inactivate the account making it no longer available to users. A true value will make it active and available to users.
    - `active?` string, true: A false value will inactivate the account making it no longer available to users. A true value will make it active and available to users.
    - `code` string, string(255), required: code
    - `content-groups` BusinessGroup[]
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `created-by` UserSimple
        - `avatar-thumb-url` string, string: Avatar url
        - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
        - `email` string, string(255), required: email
        - `employee-number` string, string(255): employee number
        - `firstname` string, string(40), required: first name
        - `fullname` string, string(255): full name
        - `id` integer: Coupa unique identifier
        - `lastname` string, string(40), required: last name
        - `login` string, string(255), required: login
        - `salesforce-id` string, string(255), required: salesforce_id
        - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `description` string, string(255): description
      - `id` integer: Coupa unique identifier
      - `name` string, string(100), required: name
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `updated-by` UserSimple
        - `avatar-thumb-url` string, string: Avatar url
        - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
        - `email` string, string(255), required: email
        - `employee-number` string, string(255): employee number
        - `firstname` string, string(40), required: first name
        - `fullname` string, string(255): full name
        - `id` integer: Coupa unique identifier
        - `lastname` string, string(40), required: last name
        - `login` string, string(255), required: login
        - `salesforce-id` string, string(255), required: salesforce_id
        - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `created-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `days-for-discount-payment` integer, required: days_for_discount_payment
    - `days-for-net-payment` integer, required: days_for_net_payment
    - `description` string, string(255): description
    - `discount-cutoff-day` integer: Document before this day are eligible for discount else they will fall into the next month
    - `discount-due-day` integer, required: This field is used to calculate the document's discount due date.
    - `discount-due-month` integer, required: This field is used to calculate the document's discount due date along with the discount due day.
    - `discount-rate` number, float: discount_rate
    - `id` integer: Coupa unique identifier
    - `net-cutoff-day` integer: This helps to determine payment due date if the document should be counted against this month or next
    - `net-due-day` integer, required: This helps to determine the document's payment due date
    - `net-due-month` integer, required: This helps to determine the document's payment due date
    - `type` 'DaysAfterNetPaymentTerm' | 'SpecificDayPaymentTerm' | 'BaseEomToDaysPaymentTerm' | 'DaysToBaseEomPaymentTerm', string(50), required: Type can be either DaysAfterNetPaymentTerm or SpecificDayPaymentTerm
    - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `updated-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `received-allocations` PayablesAllocation[]
    - `bypass-strict-validations` boolean: Flag indicating that this allocation is confirmed to be correct. Skips overallocation validations
    - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `created-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `exported?` boolean: Flag indicating whether the transaction has been exported to an external system
    - `id` integer: Coupa unique identifier
    - `last-exported-at` string, datetime: Date of last update to the allocation
    - `payable-from-amount` number, required: Amount allocated in currency of the document sending the allocation
    - `payable-from-currency` Currency, required
      - `code` string, string(6), required: code
      - `decimals` integer: Decimal precision
      - `enabled` boolean: Enabled
      - `id` integer: Coupa unique identifier
      - `name` string, string(100), required: name
      - `symbol` string, string(10): symbol
    - `payable-from-id` integer: Coupa ID of the payable document sending the allocation
    - `payable-from-type` string, string(255): Type of payable document sending the allocation
    - `payable-to-amount` number, required: Amount allocated in currency of the document receiving the allocation
    - `payable-to-currency` Currency, required
      - `code` string, string(6), required: code
      - `decimals` integer: Decimal precision
      - `enabled` boolean: Enabled
      - `id` integer: Coupa unique identifier
      - `name` string, string(100), required: name
      - `symbol` string, string(10): symbol
    - `payable-to-id` integer: Coupa ID of the payable document receiving the allocation
    - `payable-to-type` string, string(255): Type of payable document receiving the allocation
    - `payment-reference-id` integer: Coupa ID of payment reference
    - `payment-reference-type` string, string(255): Type of payment reference
    - `reason-code` 'payment' | 'auto_payment' | 'epr' | 'epr_rejected' | 'manual', string(40): Code indicating the trigger for this allocation
    - `source` 'coupa_pay' | 'erp' | 'ui' | 'api' | 'csv' | 'early_pay_discount', string(255): Originating system (ERP, Coupa Pay, UI, etc)
    - `source-transaction-from-id` string, string: Coupa ID of the source transaction on the sending side
    - `source-transaction-from-reference` string, string: Reference number of the source transaction on the sending side
    - `source-transaction-from-type` string, string: Type of the source transaction on the sending side
    - `source-transaction-to-id` string, string: Coupa ID of the source transaction on the receiving side
    - `source-transaction-to-reference` string, string: Reference number of the source transaction on the receiving side
    - `source-transaction-to-type` string, string: Type of the source transaction on the receiving side
    - `status` string, string(255): Current status of the allocation
    - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `updated-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `reconciliation-lines` InvoiceReconciliationLine[]
    - `adjustment-date` string, datetime: Adjustment date
    - `amount` number: Amount
    - `amount-paid` number: Amount paid
    - `category` string, string(255): Category
    - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `created-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `id` integer: Coupa unique identifier
    - `note` string, string(255): Note
    - `notes` string, string(255): Notes
    - `payable-id` integer: Payable
    - `payable-type` string, string: Payable type
    - `payment-date` string, datetime: Payment date
    - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `updated-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `remaining-amount` number: Remaining amount to pay
  - `remittance-amount` number: Total amount to pay
  - `reporting-total` number: Total of reconciliation lines in reporting dashboard currency
  - `sent-allocations` PayablesAllocation[]
    - `bypass-strict-validations` boolean: Flag indicating that this allocation is confirmed to be correct. Skips overallocation validations
    - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `created-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `exported?` boolean: Flag indicating whether the transaction has been exported to an external system
    - `id` integer: Coupa unique identifier
    - `last-exported-at` string, datetime: Date of last update to the allocation
    - `payable-from-amount` number, required: Amount allocated in currency of the document sending the allocation
    - `payable-from-currency` Currency, required
      - `code` string, string(6), required: code
      - `decimals` integer: Decimal precision
      - `enabled` boolean: Enabled
      - `id` integer: Coupa unique identifier
      - `name` string, string(100), required: name
      - `symbol` string, string(10): symbol
    - `payable-from-id` integer: Coupa ID of the payable document sending the allocation
    - `payable-from-type` string, string(255): Type of payable document sending the allocation
    - `payable-to-amount` number, required: Amount allocated in currency of the document receiving the allocation
    - `payable-to-currency` Currency, required
      - `code` string, string(6), required: code
      - `decimals` integer: Decimal precision
      - `enabled` boolean: Enabled
      - `id` integer: Coupa unique identifier
      - `name` string, string(100), required: name
      - `symbol` string, string(10): symbol
    - `payable-to-id` integer: Coupa ID of the payable document receiving the allocation
    - `payable-to-type` string, string(255): Type of payable document receiving the allocation
    - `payment-reference-id` integer: Coupa ID of payment reference
    - `payment-reference-type` string, string(255): Type of payment reference
    - `reason-code` 'payment' | 'auto_payment' | 'epr' | 'epr_rejected' | 'manual', string(40): Code indicating the trigger for this allocation
    - `source` 'coupa_pay' | 'erp' | 'ui' | 'api' | 'csv' | 'early_pay_discount', string(255): Originating system (ERP, Coupa Pay, UI, etc)
    - `source-transaction-from-id` string, string: Coupa ID of the source transaction on the sending side
    - `source-transaction-from-reference` string, string: Reference number of the source transaction on the sending side
    - `source-transaction-from-type` string, string: Type of the source transaction on the sending side
    - `source-transaction-to-id` string, string: Coupa ID of the source transaction on the receiving side
    - `source-transaction-to-reference` string, string: Reference number of the source transaction on the receiving side
    - `source-transaction-to-type` string, string: Type of the source transaction on the receiving side
    - `status` string, string(255): Current status of the allocation
    - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `updated-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `status` string, string(255): Current status of the payable
  - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `wc-eligibility` string, string(255): Working capital eligibility status

## Response `200`

Payables-Invoice object

- PayablesInvoice[]
  - `accounting-amount` number: Total of reconciliation lines in accounting currency
  - `accounting-currency` Currency
    - `code` string, string(6), required: code
    - `decimals` integer: Decimal precision
    - `enabled` boolean: Enabled
    - `id` integer: Coupa unique identifier
    - `name` string, string(100), required: name
    - `symbol` string, string(10): symbol
  - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `currency` Currency
    - `code` string, string(6), required: code
    - `decimals` integer: Decimal precision
    - `enabled` boolean: Enabled
    - `id` integer: Coupa unique identifier
    - `name` string, string(100), required: name
    - `symbol` string, string(10): symbol
  - `discount-due-date` string, datetime: Discount Due Date
  - `document-id` string, string: Unique ID of associated document
  - `document-type` string, string: The type of the document being paid
  - `exported-to-tradefin-at` string, datetime: Date exported to tradefin
  - `id` integer: Unique ID of this payable
  - `last-exported-at` string, datetime: Last export date
  - `maturity-date` string, datetime: Maturity Date
  - `paid-amount` number: Total amount paid
  - `paid-date` string, datetime: Paid date
  - `payable-amount` number: The amount of the document which is ready to be paid
  - `payment-term` PaymentTerm
    - `active` boolean: A false value will inactivate the account making it no longer available to users. A true value will make it active and available to users.
    - `active?` string, true: A false value will inactivate the account making it no longer available to users. A true value will make it active and available to users.
    - `code` string, string(255), required: code
    - `content-groups` BusinessGroup[]
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `created-by` UserSimple
        - `avatar-thumb-url` string, string: Avatar url
        - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
        - `email` string, string(255), required: email
        - `employee-number` string, string(255): employee number
        - `firstname` string, string(40), required: first name
        - `fullname` string, string(255): full name
        - `id` integer: Coupa unique identifier
        - `lastname` string, string(40), required: last name
        - `login` string, string(255), required: login
        - `salesforce-id` string, string(255), required: salesforce_id
        - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `description` string, string(255): description
      - `id` integer: Coupa unique identifier
      - `name` string, string(100), required: name
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `updated-by` UserSimple
        - `avatar-thumb-url` string, string: Avatar url
        - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
        - `email` string, string(255), required: email
        - `employee-number` string, string(255): employee number
        - `firstname` string, string(40), required: first name
        - `fullname` string, string(255): full name
        - `id` integer: Coupa unique identifier
        - `lastname` string, string(40), required: last name
        - `login` string, string(255), required: login
        - `salesforce-id` string, string(255), required: salesforce_id
        - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `created-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `days-for-discount-payment` integer, required: days_for_discount_payment
    - `days-for-net-payment` integer, required: days_for_net_payment
    - `description` string, string(255): description
    - `discount-cutoff-day` integer: Document before this day are eligible for discount else they will fall into the next month
    - `discount-due-day` integer, required: This field is used to calculate the document's discount due date.
    - `discount-due-month` integer, required: This field is used to calculate the document's discount due date along with the discount due day.
    - `discount-rate` number, float: discount_rate
    - `id` integer: Coupa unique identifier
    - `net-cutoff-day` integer: This helps to determine payment due date if the document should be counted against this month or next
    - `net-due-day` integer, required: This helps to determine the document's payment due date
    - `net-due-month` integer, required: This helps to determine the document's payment due date
    - `type` 'DaysAfterNetPaymentTerm' | 'SpecificDayPaymentTerm' | 'BaseEomToDaysPaymentTerm' | 'DaysToBaseEomPaymentTerm', string(50), required: Type can be either DaysAfterNetPaymentTerm or SpecificDayPaymentTerm
    - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `updated-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `received-allocations` PayablesAllocation[]
    - `bypass-strict-validations` boolean: Flag indicating that this allocation is confirmed to be correct. Skips overallocation validations
    - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `created-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `exported?` boolean: Flag indicating whether the transaction has been exported to an external system
    - `id` integer: Coupa unique identifier
    - `last-exported-at` string, datetime: Date of last update to the allocation
    - `payable-from-amount` number, required: Amount allocated in currency of the document sending the allocation
    - `payable-from-currency` Currency, required
      - `code` string, string(6), required: code
      - `decimals` integer: Decimal precision
      - `enabled` boolean: Enabled
      - `id` integer: Coupa unique identifier
      - `name` string, string(100), required: name
      - `symbol` string, string(10): symbol
    - `payable-from-id` integer: Coupa ID of the payable document sending the allocation
    - `payable-from-type` string, string(255): Type of payable document sending the allocation
    - `payable-to-amount` number, required: Amount allocated in currency of the document receiving the allocation
    - `payable-to-currency` Currency, required
      - `code` string, string(6), required: code
      - `decimals` integer: Decimal precision
      - `enabled` boolean: Enabled
      - `id` integer: Coupa unique identifier
      - `name` string, string(100), required: name
      - `symbol` string, string(10): symbol
    - `payable-to-id` integer: Coupa ID of the payable document receiving the allocation
    - `payable-to-type` string, string(255): Type of payable document receiving the allocation
    - `payment-reference-id` integer: Coupa ID of payment reference
    - `payment-reference-type` string, string(255): Type of payment reference
    - `reason-code` 'payment' | 'auto_payment' | 'epr' | 'epr_rejected' | 'manual', string(40): Code indicating the trigger for this allocation
    - `source` 'coupa_pay' | 'erp' | 'ui' | 'api' | 'csv' | 'early_pay_discount', string(255): Originating system (ERP, Coupa Pay, UI, etc)
    - `source-transaction-from-id` string, string: Coupa ID of the source transaction on the sending side
    - `source-transaction-from-reference` string, string: Reference number of the source transaction on the sending side
    - `source-transaction-from-type` string, string: Type of the source transaction on the sending side
    - `source-transaction-to-id` string, string: Coupa ID of the source transaction on the receiving side
    - `source-transaction-to-reference` string, string: Reference number of the source transaction on the receiving side
    - `source-transaction-to-type` string, string: Type of the source transaction on the receiving side
    - `status` string, string(255): Current status of the allocation
    - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `updated-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `reconciliation-lines` InvoiceReconciliationLine[]
    - `adjustment-date` string, datetime: Adjustment date
    - `amount` number: Amount
    - `amount-paid` number: Amount paid
    - `category` string, string(255): Category
    - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `created-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `id` integer: Coupa unique identifier
    - `note` string, string(255): Note
    - `notes` string, string(255): Notes
    - `payable-id` integer: Payable
    - `payable-type` string, string: Payable type
    - `payment-date` string, datetime: Payment date
    - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `updated-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `remaining-amount` number: Remaining amount to pay
  - `remittance-amount` number: Total amount to pay
  - `reporting-total` number: Total of reconciliation lines in reporting dashboard currency
  - `sent-allocations` PayablesAllocation[]
    - `bypass-strict-validations` boolean: Flag indicating that this allocation is confirmed to be correct. Skips overallocation validations
    - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `created-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `exported?` boolean: Flag indicating whether the transaction has been exported to an external system
    - `id` integer: Coupa unique identifier
    - `last-exported-at` string, datetime: Date of last update to the allocation
    - `payable-from-amount` number, required: Amount allocated in currency of the document sending the allocation
    - `payable-from-currency` Currency, required
      - `code` string, string(6), required: code
      - `decimals` integer: Decimal precision
      - `enabled` boolean: Enabled
      - `id` integer: Coupa unique identifier
      - `name` string, string(100), required: name
      - `symbol` string, string(10): symbol
    - `payable-from-id` integer: Coupa ID of the payable document sending the allocation
    - `payable-from-type` string, string(255): Type of payable document sending the allocation
    - `payable-to-amount` number, required: Amount allocated in currency of the document receiving the allocation
    - `payable-to-currency` Currency, required
      - `code` string, string(6), required: code
      - `decimals` integer: Decimal precision
      - `enabled` boolean: Enabled
      - `id` integer: Coupa unique identifier
      - `name` string, string(100), required: name
      - `symbol` string, string(10): symbol
    - `payable-to-id` integer: Coupa ID of the payable document receiving the allocation
    - `payable-to-type` string, string(255): Type of payable document receiving the allocation
    - `payment-reference-id` integer: Coupa ID of payment reference
    - `payment-reference-type` string, string(255): Type of payment reference
    - `reason-code` 'payment' | 'auto_payment' | 'epr' | 'epr_rejected' | 'manual', string(40): Code indicating the trigger for this allocation
    - `source` 'coupa_pay' | 'erp' | 'ui' | 'api' | 'csv' | 'early_pay_discount', string(255): Originating system (ERP, Coupa Pay, UI, etc)
    - `source-transaction-from-id` string, string: Coupa ID of the source transaction on the sending side
    - `source-transaction-from-reference` string, string: Reference number of the source transaction on the sending side
    - `source-transaction-from-type` string, string: Type of the source transaction on the sending side
    - `source-transaction-to-id` string, string: Coupa ID of the source transaction on the receiving side
    - `source-transaction-to-reference` string, string: Reference number of the source transaction on the receiving side
    - `source-transaction-to-type` string, string: Type of the source transaction on the receiving side
    - `status` string, string(255): Current status of the allocation
    - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
    - `updated-by` UserSimple
      - `avatar-thumb-url` string, string: Avatar url
      - `created-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
      - `email` string, string(255), required: email
      - `employee-number` string, string(255): employee number
      - `firstname` string, string(40), required: first name
      - `fullname` string, string(255): full name
      - `id` integer: Coupa unique identifier
      - `lastname` string, string(40), required: last name
      - `login` string, string(255), required: login
      - `salesforce-id` string, string(255), required: salesforce_id
      - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `status` string, string(255): Current status of the payable
  - `updated-at` string, datetime: Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ
  - `wc-eligibility` string, string(255): Working capital eligibility status

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/coupa/apis/coupa-api-4.md) - [All operations](https://skmtc.dev/coupa/apis/coupa-api-4/llms.txt) - [OpenAPI document](https://skmtc.dev/coupa/apis/coupa-api-4/revisions/adc09cabd758?raw)
