purchase_invoice_not_draft
The operation only applies while the expense is a draft, and this one has already been registered.
| Code | Type | HTTP | Category |
|---|---|---|---|
purchase_invoice_not_draft | invalid_request_error | 422 | Expenses |
Cause
The operation only applies while the expense is a draft, and this one has already been registered.
What to do
Read status and use the operation matching it: registered expenses change through payment or cancellation, not through draft editing.
Related
All Expenses 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.