invalid_invoice_status
The value sent as invoice status is outside the document lifecycle catalogue (`draft`, `scheduled`, `sent`, `overdue`, `cancelled`, `annulled`). `paid` is a valid value to read and to filter by, but not to write: register a payment instead.
| Code | Type | HTTP | Category |
|---|---|---|---|
invalid_invoice_status | invalid_request_error | 422 | Invoices |
Cause
The value sent as invoice status is outside the document lifecycle catalogue (draft, scheduled, sent, overdue, cancelled, annulled). paid is a valid value to read and to filter by, but not to write: register a payment instead.
What to do
Use one of the catalogue values, spelled exactly as the API returns them.
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.