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.