Cancels an invoice. Invoices in the status draft, sent, partial or paid can be voided. A voided invoice can no longer be edited.Side effects. When the account creates credit notes for voided invoices, voiding an issued invoice generates one; a draft has no number, so voiding it does not. When invoices are synced with a connected accounting system, the void is sent to it.
Request
Authorization
Path Params
Header Params
Responses
🟢200OK
application/json
The invoice was voided. HTTP 200 is also used for failures: always check success. When it is false, the body is an ErrorBusinessRule (status_code 410) or an ErrorUnauthorized (status_code 401 or 403). An ErrorBusinessRule means the invoice is in a status that cannot be voided.