Factuarea APIDevelopers

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.

CodeTypeHTTPCategory
invalid_invoice_statusinvalid_request_error422Invoices

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.

On this page

Need a hand?Contact support