invoice_not_deletable_in_current_state
Only `draft` and `cancelled` invoices can be deleted. A numbered invoice never disappears: the correlative sequence must stay auditable.
| Code | Type | HTTP | Category |
|---|---|---|---|
invoice_not_deletable_in_current_state | invalid_request_error | 422 | Invoices |
Cause
Only draft and cancelled invoices can be deleted. A numbered invoice never disappears: the correlative sequence must stay auditable.
What to do
Cancel the draft, or annul the issued invoice; deletion is not a path for it.