Cancellation motives (CFDI 4.0)
Since 2022, every cancellation requires a motive:Cancel a CFDI
string
required
Identifier of the document to cancel. You’ll find it in the “Id” field in the invoice issuance response or when querying issued invoices.
string
required
Cancellation motive, explained in the table above (01, 02, 03, 04).
string
UUID of the receipt that replaces the cancelled one (only required for cancellation motive «01 - Receipt issued with errors with a related document»).
In sandbox, only invoices that use the RFC EKU9003173C9 as the issuer can be cancelled.
Response to a cancellation request
-
StatusCancellation statuscanceledCancelledactiveCannot be cancelled, it has related documentspendingAwaiting acceptance from the receiver
-
MessageDetail of the cancellation status. -
IsCancelableIndicates whether the invoice is cancellable and under what conditions, or if it is not cancellable.Cancelable sin aceptaciónCancelable con aceptaciónNo cancelable
-
UuidUUID of the CFDI to cancel -
RequestDateCancellation request date -
ResponseDateSAT response date -
ExpirationDateDeadline by which the receiver can issue a response -
AcuseXmlBase64Acknowledgement XML in Base64 format -
AcuseStatusCancellation status code -
AcuseStatusDetailsDescription of the cancellationAcuseStatus
Cancellation flow
Depending on the amount and the receiver, the cancellation may require acceptance:- CFDIs issued the same day, within the first 3 days
- Amounts less than $1,000 MXN
- Payroll and Transfer CFDIs
- CFDIs with higher amounts or issued more than 3 days ago
Check the status of a CFDI
string
required
Unique identifier of the CFDI.
Status field in the response indicates the current status within Facturama:
Get the cancellation acknowledgement
After a successful cancellation:string
required
Format of the file to retrieve (pdf|html).
string
required
Unique identifier of the CFDI.
In sandbox, cancellations are immediate and do not require receiver acceptance.