Timbrame.mx
CFDI issuing API
CFDI issuing API
API for issuing invoices, to which the standard Detecno XML is sent to create the CFDI, seal it, and send it for stamping with the available PAC. It also allows you to cancel CFDIs issued with this application.
Additionally, you can search and download previously issued withholdings receipts.
Documentación en español
English documentation
Below you will find links to the API production and demo environments as well as the Endpoints that you can use in both environments.
Productive URL:
Demo URL:
https://detecno-factura-electronica.com/timbrame/cfdWebPos_NV_Demo/
Endpoints:
Token request api/Token/AutoR/TokenAppId
Invoice issuance api/TimbrameServicio/GenerarCfdi
Invoice search api/TimbrameServicio/BuscarCfdi/?facturaId=
api/TimbrameServicio/BuscarCfdi/?uuid=
Invoice cancellation api/TimbrameServicio/CancelarCfdi
Obtaining withholding tax receipt api/TimbrameServicio/BuscarConstanciaRet/?comprobanteId=
api/TimbrameServicio/BuscarConstanciaRet/?uuid=
The process of generating invoices and other documents is carried out through the following functions:
Token request
It receives the access credentials to generate a request.
It delivers the authentication token.
Invoice issuance
It receives an XML file content in a Base64 representation.
It delivers the facturaId number, the Base64 representation of the XML and the PDF, and the UUID.
Invoice search
It receives the facturaId assigned by the system or the UUID of the invoice.
It delivers the Base64 representation of a ZIP archive containing the XML and PDF files.
Invoice cancellation
It receives the facturaId, the replacement invoice number and the reason for cancellation.
It delivers the cancellation status.
Obtaining the withholding tax receipt
It receives the comprobanteId number or the UUID of the withholding tax receipt.
It delivers the Base64 representation of the XML and the PDF, and the UUID.
You can find the API specifications at the following link.
The structure of the XML input files for posting to the API can be found in the following link:
1 The issuer sends access credentials to generate an authentication token.
2 The issuer sends the information in an XML file in Base64, and receives the status of the document as well as the XML and PDF of the stamped CFDI.
3 Optionally, you can search the document and download the XML and PDF files through the web portal.
4 The issuer may send the request for cancellation of documents by entering the facturaId, the replacement invoice number and the reason for cancellation.
Timbrame API conceptual diagram