Retrieve a tax retention CFDI
Returns the tax retention CFDI (Comprobantes Fiscal Digital por Internet) file content in different formats.
GET
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
200
application/json
Tax retention CFDI response
The response is of type object
.