proforma_invalid_status_transition
The target status is unreachable from the current one: a draft can be accepted, cancelled or expire; an accepted pro forma can be invoiced, rejected or expire; invoiced, cancelled and expired are terminal.
| Code | Type | HTTP | Category |
|---|---|---|---|
proforma_invalid_status_transition | invalid_request_error | 422 | Proformas |
Cause
The target status is unreachable from the current one: a draft can be accepted, cancelled or expire; an accepted pro forma can be invoiced, rejected or expire; invoiced, cancelled and expired are terminal.
What to do
Read the current status and go through the intermediate step the lifecycle requires.
Related
All Proformas 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.