invoice_cannot_assign_number
A definitive number was requested for an invoice that is not a draft, or that already carries one. Series numbering is monotonic and numbers are never reassigned.
| Code | Type | HTTP | Category |
|---|---|---|---|
invoice_cannot_assign_number | invalid_request_error | 422 | Invoices |
Cause
A definitive number was requested for an invoice that is not a draft, or that already carries one. Series numbering is monotonic and numbers are never reassigned.
What to do
Only ask for a number on a draft that still shows the placeholder; if the invoice already has one, read it from the number field.