Skip to content

FacturamaCancelar

Cancels a CFDI issued in Facturama with Mexico’s SAT. Supports the four cancellation motives defined by the SAT, including the ability to link the cancellation to a replacement CFDI (motive 01).

FieldTypeRequiredDescription
credentials_idcredentialsYesFacturama account credentials
cfdi_idtextYesFacturama internal CFDI ID
motiveselectNoSAT motive (default: 02=Without relation)
uuid_relationtextConditionalUUID of the replacement CFDI (only motive 01)
cfdi_typeselectNoType: ‘issued’ (default)
CodeDescription
01Issued with errors with relation (requires uuid_relation)
02Issued with errors without relation (default)
03Operation not carried out
04Nominative operation related to global invoice
{
"success": true,
"cfdi_id": "abc123def456",
"cfdi_type": "issued",
"motive": "02",
"raw": { ... }
}

Cancel with errors, no replacement (motive 02)

Section titled “Cancel with errors, no replacement (motive 02)”
{
"credentials_id": "cred-facturama-prod",
"cfdi_id": "abc123def456",
"motive": "02"
}
{
"credentials_id": "cred-facturama-prod",
"cfdi_id": "abc123def456",
"motive": "01",
"uuid_relation": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX"
}
  • cfdi_id is the Facturama internal ID, not the SAT UUID
  • For motive 01, uuid_relation must be the UUID of the CFDI replacing the cancelled one
  • Cancellations above certain amounts may require the receiver’s acceptance