Invoices REST Endpoints

Invoices
The payables invoices resource is used to manage details about supplier invoices, that includes header, lines, distributions, installments, descriptive flexfields, global descriptive flexfields, and attachments. Note: You can only update certain attributes and the update applies only to those attributes. Related fields don't automatically get populated. In summary, the cascade defaulting doesn't automatically happen and you must review and update the dependent attributes. For example, when you update the invoice date in the Create or Edit Invoice pages, related fields, such as the terms date or due date, may be autopopulated based on the invoice date you enter. Using REST API, the invoice date is updated, but the related fields aren't autopopulated. Before updating a key attribute, consider the impact on the related attributes.
Apply prepayments to an invoice
Method: post
Path: /fscmRestApi/resources/11.13.18.05/invoices/action/applyPrepayments
Calculate tax for the invoice
Method: post
Path: /fscmRestApi/resources/11.13.18.05/invoices/action/calculateTax
Cancel an invoice
Method: post
Path: /fscmRestApi/resources/11.13.18.05/invoices/action/cancelInvoice
Cancel an invoice line
Method: post
Path: /fscmRestApi/resources/11.13.18.05/invoices/action/cancelLine
Create an invoice
Method: post
Path: /fscmRestApi/resources/11.13.18.05/invoices
Delete an invoice
Method: delete
Path: /fscmRestApi/resources/11.13.18.05/invoices/{invoicesUniqID}
Generate distributions for the invoice
Method: post
Path: /fscmRestApi/resources/11.13.18.05/invoices/action/generateDistributions
Get all invoices
Method: get
Path: /fscmRestApi/resources/11.13.18.05/invoices
Get an invoice
Method: get
Path: /fscmRestApi/resources/11.13.18.05/invoices/{invoicesUniqID}
Reverse distributions for an Invoice
Method: post
Path: /fscmRestApi/resources/11.13.18.05/invoices/action/reverseDistributions
Unapply a prepayment from an invoice
Method: post
Path: /fscmRestApi/resources/11.13.18.05/invoices/action/unapplyPrepayments
Update an invoice
Method: patch
Path: /fscmRestApi/resources/11.13.18.05/invoices/{invoicesUniqID}
Validate an invoice
Method: post
Path: /fscmRestApi/resources/11.13.18.05/invoices/action/validateInvoice