invoice_not_cancellable_in_current_state
Cancelling withdraws a draft that is not yet fiscally binding, so it only applies while the invoice is `draft`.
| Code | Type | HTTP | Category |
|---|---|---|---|
invoice_not_cancellable_in_current_state | invalid_request_error | 422 | Invoices |
Cause
Cancelling withdraws a draft that is not yet fiscally binding, so it only applies while the invoice is draft.
What to do
If the invoice is already issued, annul it instead; if it is paid, correct it with a corrective invoice.
Related
All Invoices error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.