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/companies/{company}/invoices/{id}/corrective to correct whatever is left — an invoice admits several correctives, each one with its own correlative number in the corrective series —; GET /v1/companies/{company}/invoices/{id}/can-annul lists up front every reason that blocks an annulment.