| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Intro
This API retrieves a Validate CFE query you already executed, from the id that query returned.
It is meant for reading a result again without executing the query one more time and at no additional cost.
Important Points
Path parameter
| field | type | required | length | Description |
|---|---|---|---|---|
| id | Alphanumeric | Yes | N/A | Execution identifier returned by POST /api/v2/documentos/validate_cfe. |
Keep the id: it is the only handle
This service does not index the execution by any business field, so the bill cannot be looked up later by name or service number. The id returned when you execute the query is the only way to get back to it — store it on your side together with whatever record you created.
The body carries the data sent and the data returned
The detail includes the request exactly as you sent it and the response as it was resolved at that time. It does not include the exchange with the provider.
Successful response
The body is the same one returned by Validate CFE: the execution wrapper with the CFDI and the bill data.
| subfield | Description |
|---|---|
| id | Execution identifier. |
| createdAt | Date and time the execution started. |
| finishedAt | Date and time it finished. |
| duration | Duration in milliseconds. |
| status | Execution status. |
| errorMessage | Reason, only present when the execution failed. |
| request | The body that was sent. |
| response | The CFDI and the data printed on the bill. |
{
"id": "6939a1b2c3d4e5f600000c11",
"createdAt": "2026-05-10T18:24:02.118Z",
"finishedAt": "2026-05-10T18:24:04.902Z",
"duration": 2784,
"status": "SUCCESS",
"request": {
"name": "JUAN PEREZ HERNANDEZ",
"serviceNumber": "773204509871"
},
"response": {
"status": "OK",
"messageCode": 0,
"validationCode": "vcf2789217358129.382917",
"cfdi": {
"fecha": "2025-05-10",
"folio": "000409872345",
"serie": "RB",
"version": "4.0",
"tipoDeComprobante": "I",
"formaPago": "03",
"metodoPago": "PUE",
"moneda": "MXN",
"lugarExpedicion": "11560",
"subTotal": "270.50",
"total": "305.00",
"emisor": {
"nombre": "AGUAS DEL NORTE SA DE CV",
"rfc": "ACE891203TT9",
"regimenfiscal": "601"
},
"receptor": {
"nombre": "JUAN PEREZ HERNANDEZ",
"rfc": "PAHJ850612F12",
"usoCFDI": "G03",
"regimenFiscalReceptor": "612",
"domicilioFiscalReceptor": "04330"
},
"conceptos": [
{
"cantidad": "1",
"claveProdServ": "43191510",
"claveUnidad": "KWH",
"descripcion": "Energia",
"importe": "215.50",
"valorUnitario": "215.50"
}
]
},
"datos": {
"rpu": "773204509871",
"ajustePorRedondeo": "0.02",
"ocr": {
"periodo": "202505",
"digito": "3",
"tipo": "02"
},
"informacionFactura": {
"lineaDeReferencia": "02 773204509871 250610 000000305 3",
"uso": "Comercial",
"montoAPagarEnLetras": "TRESCIENTOS CINCO PESOS M.N.",
"cargosCreditos": "305.00",
"dias": "30",
"consumoDiario": "2.10",
"precioDiario": "7.02",
"codigoDeBarras": "027732045098712506100000003053"
},
"cliente": {
"nombre": "JUAN PEREZ HERNANDEZ",
"calle": "AV INSURGENTES SUR 1458",
"calle2": "INT 3",
"colonia": "DEL VALLE CENTRO",
"codigoPostal": "03100",
"ciudad": "CIUDAD DE MÉXICO",
"estado": "CDMX",
"tarifa": "02",
"consumo": "130",
"lecturaAnterior": "5210",
"lecturaActual": "5340"
},
"historialConsumos": [
{
"periodo": "10 MAR 25 al 10 MAY 25",
"consumo": 130,
"importe": 305
}
]
}
}
}Listing the possible not success responses
Not found
The id does not exist or does not belong to your account. You will not receive a body, only a 400 HTTP code.
Unauthorized
It means that the provided API is incorrect and that you are not authorized to access it. You will not receive a body, only a 401 HTTP code.
200
