invoice_not_unschedulable_in_current_state
Unscheduling returns an invoice from `scheduled` to `draft`, so it only applies while it is still waiting to be issued.
| Code | Type | HTTP | Category |
|---|---|---|---|
invoice_not_unschedulable_in_current_state | invalid_request_error | 422 | Invoices |
Cause
Unscheduling returns an invoice from scheduled to draft, so it only applies while it is still waiting to be issued.
What to do
If the scheduled issuing already ran, the invoice is sent: undo it by annulling it or by issuing 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.