• Last edited on: 30 March 2022

Payables/Invoices API

Actions

Verb Path Action Description
GET /api/payables/invoices/available_allocations available_allocations /api/payables/invoices/available_allocations
PATCH /api/payables/invoices/:id/export export Mark Invoice Payable as Exported
PUT /api/payables/invoices/:id/export export Mark Invoice Payable as Exported
GET /api/payables/invoices index Query Invoice Payables
PATCH /api/payables/invoices/:id/pay_externally pay_externally Mark Invoice Payable as Paid and stop tracking in Coupa
PUT /api/payables/invoices/:id/pay_externally pay_externally Mark Invoice Payable as Paid and stop tracking in Coupa
GET /api/payables/invoices/:id show Show Invoice Payable
PATCH /api/payables/invoices/:id/track_externally track_externally Stop Tracking Invoice Payable in Coupa
PUT /api/payables/invoices/:id/track_externally track_externally Stop Tracking Invoice Payable in Coupa
PATCH /api/payables/invoices/:id/track_in_coupa track_in_coupa Start Tracking Invoice Payable in Coupa
PUT /api/payables/invoices/:id/track_in_coupa track_in_coupa Start Tracking Invoice Payable in Coupa

Elements

Keys: id

Element Description Req'd Unique Allowable Value In Out Data Type
accounting-amount Total of reconciliation lines in accounting currency         yes decimal(46,20)
accounting-currency Accounting currency         yes Currency 
created-at Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ         yes datetime
currency Currency of payable         yes Currency 
document-id Unique ID of associated document         yes string
document-type The type of the document being paid         yes string
exported-to-tradefin-at Date exported to tradefin         yes datetime
id Unique ID of this payable         yes integer
last-exported-at Last export date         yes datetime
maturity-date Maturity Date         yes datetime
paid-amount Total amount paid         yes decimal(46,20)
paid-date Paid date         yes datetime
payable-amount The amount of the document which is ready to be paid         yes  
received-allocations Received allocations         yes Payables::Allocation 
reconciliation-lines Reconciliation lines         yes Invoice::ReconciliationLine 
remaining-amount Remaining amount to pay         yes decimal(46,20)
remittance-amount Total amount to pay         yes decimal(46,20)
reporting-total Total of reconciliation lines in reporting dashboard currency         yes decimal(46,20)
sent-allocations Sent allocations         yes Payables::Allocation 
status Current status of the payable         yes string(255)
updated-at Automatically created by Coupa in the format YYYY-MM-DDTHH:MM:SS+HH:MMZ         yes datetime
wc-eligibility Working capital eligibility status         yes string(255)

Related Items


Querying Options

21 October 2016

See how you can use queries to quickly identify and pull the data you require.

Special Actions and API Notes

21 October 2016

Additional info on how to use the Coupa API.

Differences between XML and JSON in Coupa

16 December 2016

Arguments

24 April 2017

Learn about the types of arguments that Coupa supports in conjunction with operators.