invoice_not_draft
HTTP 409 · type state_error
When
A change that only a draft allows (lines, amounts, delete).
Fix
Void and create a new invoice, or fix it in the app.
Where it comes from
PATCH /v1/invoices/{id}: Update an invoiceDELETE /v1/invoices/{id}: Delete a draft invoice