proforma_not_deletable_in_current_state
Only a draft pro forma can be deleted. Once it has been accepted, rejected or invoiced, it is part of the commercial trail.
| Code | Type | HTTP | Category |
|---|---|---|---|
proforma_not_deletable_in_current_state | invalid_request_error | 422 | Proformas |
Cause
Only a draft pro forma can be deleted. Once it has been accepted, rejected or invoiced, it is part of the commercial trail.
What to do
Cancel the pro forma instead of deleting it; cancellation keeps the history and takes it out of circulation.
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.