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.