Skip to content

FISCALISTO / API / REFERENCE

Verify a CFDI at SAT · Verify CFDIs

Open in ChatGPTOpen in ClaudeOpen in Cursor
POST
/v1/cfdi_verifications

Whether any CFDI (yours, a supplier's or a customer's) exists at SAT and is valid or canceled, whether it can be canceled, and whether its issuer and recipient are on SAT's lists. Send its XML, the text of its QR, or the UUID with both RFCs and the total. It queries SAT's public service, without an e.firma. It doesn't use stamps. In test mode it also queries the real SAT: test CFDIs aren't there and answer not_found.

Authorization

bearerAuth
headerAuthorizationBearer <key>

Your secret key: fk_test_… in test mode, fk_live_… in production. Desarrolladores › Llaves.

Headers

Idempotency-Key?string

Optional (the SDKs send it on their own). If the response is lost, repeat the request with the same value within 24 hours: it answers the same, with idempotent-replayed: true, and doesn't do it twice (it doesn't create, send emails or charge).

Length1 <= length <= 255

Request body

application/json
  1. body
xml?string

The CFDI's XML, as text. The UUID, both RFCs and the total are read from it. Up to 4 million characters.

Lengthlength <= 4000000
qr?string
Lengthlength <= 500
uuid?string

The folio fiscal, without XML or QR. It goes with issuer_tax_id, receiver_tax_id and total.

Lengthlength <= 40
issuer_tax_id?string

The issuer's RFC, without XML or QR.

Lengthlength <= 13
receiver_tax_id?string

The recipient's RFC, without XML or QR.

Lengthlength <= 13
total?number

The CFDI's total, without XML or QR. SAT compares it as a number.

Range0 <= value <= 1000000000000000

Response body

OK.

application/json
  1. response

What the SAT says about a CFDI: whether it exists, whether it is valid or canceled and whether it can be canceled, with its issuer and recipient on the SAT lists.

object*string

What kind of object it is («invoice», «customer»…).

livemode*boolean

true in production (fk_live_ keys), false in test mode (fk_test_). Test objects aren't valid before the SAT.

uuid*string

Tax folio the SAT assigns (UUID of the Timbre Fiscal Digital), in uppercase.

issuer_tax_id*string

The issuer RFC that was checked.

receiver_tax_id*string

The recipient RFC that was checked.

total*number

Total in the receipt's currency (Total).

source*string

Where the UUID, the RFCs and the total were read from: xml, qr or fields.

One of"xml""qr""fields"
sat_status*string

What the SAT says: active (valid), canceled, not_found (it doesn't have it: it wasn't stamped, was stamped minutes ago or is a test one) or data_mismatch (the UUID exists but the RFCs or the total don't match).

One of"active""canceled""not_found""data_mismatch"
cancellable*|

If valid, how it is canceled: without_acceptance (without the recipient accepting), with_acceptance (the recipient has 3 business days to accept) or not_cancellable (for example, it has valid related documents). null if it isn't valid or the SAT didn't say.

cancellation_status*|

A cancellation in progress or finished: in_process (waiting for the recipient), rejected (the recipient rejected it), deadline_passed (the deadline passed and it was canceled), accepted or without_acceptance (canceled with or without acceptance). null if nobody requested one.

issuer_efos*|

true if the SAT says the issuer is on the 69-B list as definitive (EFOS); false if not; null if it didn't say.

sat*

The SAT's response as is (CodigoEstatus, Estado, EsCancelable, EstatusCancelacion, ValidacionEFOS), in case you need it exactly as the SAT gives it.

xml*|

What else the XML carries (version, type, dates, names, currency), if you sent xml; null otherwise.

seals*|

The XML's seals, if you sent the xml of a CFDI 4.0: whether the receipt wasn't modified after sealing and whether the stamp comes from the SAT. null with qr or fields, or with a CFDI 3.3.

issuer_sat_lists*|

The issuer on the SAT lists (69-B, 69-B Bis and art. 69), like GET /v1/sat_lists/{tax_id}, at no cost. Only when the SAT has the receipt (active or canceled); null otherwise, or if the lists couldn't be read.

receiver_sat_lists*|

The recipient on the SAT lists, same as the issuer.

checked_at*string

When the SAT was asked.

Formatdate-time

Errors

  • You reached today's limit of something not paid with stamps. Retry-After says how many seconds until midnight in Mexico City.

  • SAT didn't answer or didn't let the issuer's e.firma in. No stamp was used. Retry in 10 minutes.

Plus those of any call (key, fields, limits): Errors. They all carry code, message and, when it's about a field, param.

curl -X POST 'https://api.fiscalisto.com/v1/cfdi_verifications' \  -H 'Authorization: Bearer fk_test_…' \  -H 'Idempotency-Key: pedido-A-1042' \  -H 'Content-Type: application/json' \  -d '{  "uuid": "5FB2822E-396D-4725-8521-CDC4BDD20CCF",  "issuer_tax_id": "EKU9003173C9",  "receiver_tax_id": "XIA190128J61",  "total": 1160}'
{  "object": "cfdi_verification",  "livemode": true,  "uuid": "5FB2822E-396D-4725-8521-CDC4BDD20CCF",  "issuer_tax_id": "EKU9003173C9",  "receiver_tax_id": "XIA190128J61",  "total": 1160,  "source": "xml",  "sat_status": "active",  "cancellable": "with_acceptance",  "cancellation_status": null,  "issuer_efos": false,  "sat": {    "code": "S - Comprobante obtenido satisfactoriamente.",    "state": "Vigente",    "cancellable": "Cancelable con aceptación",    "cancellation_status": null,    "efos_validation": "200"  },  "xml": {    "version": "4.0",    "type": "I",    "issued_at": "2026-11-14T10:20:31",    "stamped_at": "2026-11-14T10:20:35",    "issuer_name": "ESCUELA KEMPER URGATE",    "receiver_name": "XENON INDUSTRIAL ARTICLES",    "currency": "MXN"  },  "seals": {    "valid": true,    "issuer_seal_valid": true,    "certificate": {      "number": "30001000000500003416",      "tax_id": "EKU9003173C9",      "name": "ESCUELA KEMPER URGATE",      "kind": "csd",      "valid_from": "2023-05-18T11:43:51.000Z",      "valid_to": "2027-05-18T11:43:51.000Z"    },    "stamp": {      "sat_seal_valid": true,      "sat_certificate_number": "30001000000500003456",      "pac_tax_id": "SPR190613I52"    },    "problems": [],    "original_string": "||4.0|A|77|2026-11-14T10:20:31|03|30001000000500003416|1000.00|MXN|1160.00|I|01|PUE|42501|EKU9003173C9|ESCUELA KEMPER URGATE|601|XIA190128J61|XENON INDUSTRIAL ARTICLES|76343|601|G03|80101500|1|E48|Consultoría|1000.00|1000.00|02|1000.00|002|Tasa|0.160000|160.00|1000.00|002|Tasa|0.160000|160.00|160.00||"  },  "issuer_sat_lists": {    "object": "sat_list_check",    "tax_id": "EKU9003173C9",    "name": null,    "listed": false,    "risk": "none",    "verified": true,    "lists": [],    "lists_updated_at": "2026-11-14T00:12:40-06:00",    "lists_unavailable": []  },  "receiver_sat_lists": {    "object": "sat_list_check",    "tax_id": "XIA190128J61",    "name": null,    "listed": false,    "risk": "none",    "verified": true,    "lists": [],    "lists_updated_at": "2026-11-14T00:12:40-06:00",    "lists_unavailable": []  },  "checked_at": "2026-11-14T10:25:02-06:00"}

Was this page helpful?