InvoiceAction
Cancels an invoice
For regular invoices and AR invoices that haven't been paid yet, creates a new cancellation invoice and opens the folio again. For advance invoices, creates a new cancellation invoice. For deposit invoices, creates a deposit cancellation. Re-issuing the entry then creates a deposit correction.<br>You must have this scope: 'invoices.manage'.<br>For fine-grained clients, you must have this permission: 'core.invoice_actions.cancel'.
put/finance/v1/invoice-actions/{id}/cancel
Request
- Base URLhttps://api.apaleo.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.apaleo.com/finance/v1/invoice-actions/{id}/cancel
- AuthOAuth 2Implicit: https://identity.apaleo.com/connect/authorizeScopes: invoices.manage, admin
Path parameters
idstring required
The invoice ID
Request body
Example request
{
"reasonCode": "ChangeOfRecipientDetails"
}Response
Invoice canceled.
Changes
No recorded changes to this operation across all 3 revisions of this API.