proforma_cannot_be_rejected
Rejection does not apply from the current state: once invoiced, cancelled or expired, the pro forma is closed.
| Code | Type | HTTP | Category |
|---|---|---|---|
proforma_cannot_be_rejected | invalid_request_error | 422 | Proformas |
Cause
Rejection does not apply from the current state: once invoiced, cancelled or expired, the pro forma is closed.
What to do
If the operation is not going ahead and the pro forma was already invoiced, correct the invoice instead of rejecting the pro forma.
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.