Factuarea APIDevelopers

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.

CodeTypeHTTPCategory
rectified_invoice_inanulableinvalid_request_error422Invoices

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.

On this page

Need a hand?Contact support