Cancel invoice

An invoice with all transactions with no or only failed transaction can be cancelled. No further attempts to fulfill the invoice will be made. If the invoice is dunning the dunning process will be cancelled. If accounting_invoice_enabled is set to true at Invoice Configuration, then a credit note for cancelled invoice will be created.

Errors

The operation can generate the following errors beside the generic HTTP error codes described here.

Error code HTTP codeDescription
31404Invoice not found
29400Invoice already settled
30400Invoice has active transactions. All transactions must be failed, cancelled or pending
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!