Validate a CFDI version 3.3 or 4.0: integrity, digital signature and structure according to the SAT standard. It includes the SAT rules and error matrix, validation of the applicable complements, confirmation that the invoice exists in the SAT database and the tax status query (active, canceled or not found).
validatestatus=false parameter.URL´s
Choose the environment: the examples on this page update with your selection.
🔗 Endpoint
Request Example
Response
If you skip the status check, the statusSat, statusCodeSat, isCancelable and statusCancelation fields return No Aplica. The original strings are trimmed with … in the examples. The API texts (message, messageDetail, status values) are returned in Spanish, so the examples show them as you will receive them.
📋 Possible response values
In the successful response (200), the detail fields can return the following values.
CFDI40 - Validacion de Estructura Validations for the structure.CFDI40 - Validaciones Proveedor Comprobante ( CFDI40 ) Validations for the CFDI.CFDI40 - Validaciones Proveedor ComplementoConcepto Validations for the concepto complements.CFDI40 - Validaciones Proveedor Complemento pago20:Pagos Optional: it only appears if the XML has a complement. In this case, a CFDI with a payments complement, and this section holds the validations for that complement.0 Error.1 Information.2 Warning.Information Everything is correct.Error There is a structure error or a validation error.Warning There is an observation that does not invalidate the CFDI. For example, an XML stamped with a CSD that was valid at the time of stamping but is no longer valid today.OK Everything is correct.The SAT status fields come from the SAT Status Query service, and their values are returned as they are in this response.
S - Comprobante obtenido satisfactoriamenteN - 602 Invoice not found. This response code appears when the UUID of the invoice is not found in the SAT database.VigenteCanceladoNo EncontradoCancelable con aceptaciónCancelable sin aceptaciónNo cancelable(null)En procesoPlazo vencidoSolicitud rechazadaCancelado sin aceptaciónCancelado con aceptaciónIn SW® we strive to be the best for You, wich is why your opinion is very important. Please help us by rating this article and leaving your comments.