rectified_invoice_inanulable
This invoice already has a full corrective (`correction_type: full`), which returned its amount and its goods. Annulling it now would return both a second time. A partial corrective does not block: the invoice stays alive and annulling it is legitimate.
| Code | Type | HTTP | Category |
|---|---|---|---|
rectified_invoice_inanulable | invalid_request_error | 422 | Invoices |
Cause
This invoice already has a full corrective (correction_type: full), which returned its amount and its goods. Annulling it now would return both a second time. A partial corrective does not block: the invoice stays alive and annulling it is legitimate.
What to do
Issue another corrective against this same invoice with POST /v1/invoices/{id}/corrective to correct whatever is left — the -RECn numbering allows several —; GET /v1/invoices/{id}/can-annul lists up front every reason that blocks an annulment.
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.