simplified_invoice_cannot_be_substituted
One invoice of the substitution list cannot be replaced: it is not simplified, it is cancelled or annulled, it belongs to another company, or it already has a substitute.
| Code | Type | HTTP | Category |
|---|---|---|---|
simplified_invoice_cannot_be_substituted | invalid_request_error | 422 | Invoices |
Cause
One invoice of the substitution list cannot be replaced: it is not simplified, it is cancelled or annulled, it belongs to another company, or it already has a substitute.
What to do
Remove that invoice from the list — error.message names the number that blocks the batch — and send the substitution again.
Related
All Invoices 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.