Retrieve an invoice's CFDI
Invoices
Retrieve an invoice's CFDI
Returns the invoice CFDI (Comprobantes Fiscal Digital por Internet) file content in different formats.
GET
Retrieve an invoice's CFDI
Authorizations
Your API key is available in the Production and Sandbox dashboards.
Headers
This header controls the output format:
- text/xml: Original XML file
- application/pdf: Original PDF file (XML's visual representation)
- application/json: Original XML file converted to JSON
Available options:
text/xml, application/pdf, application/json Path Parameters
Invoice ID
Example:
"91106968-1abd-4d64-85c1-4e73d96fb997"
Response
Invoice CFDI response
The response is of type object.