CFDI Validation Invoice
Description
A CFDI is Mexico’s official electronic invoice format, regulated by the Servicio de Administración Tributaria (SAT). It is a digital tax receipt in XML format, validated and “timbrado” (stamped) by an authorized PAC (Proveedor Autorizado de Certificación). Each CFDI contains:
- Information about the issuer and recipient (RFC, name, regime, use of CFDI).
- Transaction details (products/services, amounts, taxes, payment methods).
- Unique identifiers (UUID, digital seals, QR code).
- SAT validation (legal proof that the invoice is authentic and registered). It fully replaces paper invoices and is mandatory for virtually all economic activities in Mexico including payment of payrolls.
HTTP method GET
Endpoint
https://api.msla-id.com/experience-idv-taxes-api-v1/api/idv-govcheck/v1/mx-tax-identifications/cfdi-validation-invoice?issuers_rfc=<value>&reseivers_rfc=<value>&cfdi_folio=<value>
For testing purposes, use the base domain: apidev.msla-id.com
info
Before proceeding, make sure you have your jwt token, if you don't, check the login documentation.
Request header parameter
| NAME | REQUIRED | TYPE | DESCRIPTION |
|---|---|---|---|
| Authorization | ✅ | string | bearer jwt token |
Query request parameter
| NAME | REQUIRED | TYPE | DESCRIPTION | EXAMPLE |
|---|---|---|---|---|
| issuers_rfc | ✅ | string | Tax Id number of issuer | CMC0712144R4 |
| reseivers_rfc | ✅ | string | Tax Id number of receiver | MSV9110143D4 |
| cfdi_folio | ✅ | string | Invoice Number / Unique ID | 00000000-0000-0000-0000-000000000000 |
Status code responses
| Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad request |
| 401 | Unauthorized |
| 404 | Not found |
| 500 | Internal server error. |
The full documentation error codes can be found here.
Response 200 status code
{
"traceId": "3e9871433e5c2db2",
"timestamp": "2026-03-09 14:30:34",
"data": {
"invoice": {
"validationCode": "fd1773084631.7008593",
"voucherEffect": "Ingreso",
"cfdiStatus": "Vigente",
"status": "OK",
"cancellationStatus": "Cancelable sin aceptación",
"certificationDate": "2022-01-11T13:19:12",
"issueDate": "2022-01-11T13:13:12",
"fiscalFolioUuid": "7CF671D9-9CD6-446D-A926-D54F168007C1",
"issuerName": "Aerocomercializadora del Pacifico, S.A de C.V.",
"receiverName": "MULTISISTEMAS DE SEGURIDAD DEL VALLE DE MEXICO SA DE CV",
"issuerRfc": "APA180214M82",
"pacRfc": "TLE011122SC2",
"receiverRfc": "MSV9110143D4",
"cfdiTotal": 115,
"currency": "MXN"
}
}
}
Response 400 status code
{
"traceId": "542fc743fffda052",
"timestamp": "2023-05-05 11:20:46",
"code": "IDV-4005",
"message": "-",
"data": null
}
Response 401 status code
{
"timestamp": "YYYY-MM-DDTHH:mm:ss.sssZ",
"status": 401,
"error": "Unauthorized",
"path": "/api/idv-govcheck/v1/mx-tax-identifications/cfdi-validation-invoice?issuers_rfc=<value>&reseivers_rfc=<value>&cfdi_folio=<value>"
}
Response 500 status code
{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1001",
"message": "A generic error has occurred.",
"data": null
}