Skip to main content
GET
Retrieve a tax retention CFDI

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Headers

Accept
enum<string>
default:application/json

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

id
string<uuid>
required

Invoice ID

Example:

"91106968-1abd-4d64-85c1-4e73d96fb997"

Response

Tax retention CFDI response

The response is of type object.