Factuarea API

invoice_invalid_status_transition

The target status is unreachable from the current one. The lifecycle is directed: `draft` moves to `scheduled` or `sent`, `sent` to `paid`, `overdue` or `annulled`, and `paid`, `cancelled` and `annulled` are terminal.

CodeTypeHTTPCategory
invoice_invalid_status_transitioninvalid_request_error422Invoices

Cause

The target status is unreachable from the current one. The lifecycle is directed: draft moves to scheduled or sent, sent to paid, overdue or annulled, and paid, cancelled and annulled are terminal.

What to do

Read the current status and call the operation for the step you actually need, instead of setting the target status directly.

On this page