Export data
Authorizations
Your API key is available in the Production and Sandbox dashboards.
Body
Format for your resource
csv, xlsx, json Use any supported content type's collection endpoints and use its query parameters to filter
Example of supported URI values
- /entities
- /entities/{entityId}/tax-returns
- /entities/{entityId}/invoices
If a this field is specified it will return a ZIP file with the content files (Available just for Invoices) Use the prefixed values corresponding to the data that you want
1invoice.cfdi.xml, invoice.cfdi.pdf, tax_return.transcript, tax_return.ack_receipt, tax_return.payment_receipt Response
Export resource response
Export IRI reference
"/exports/91106968-1abd-4d64-85c1-4e73d96fb997"
"91106968-1abd-4d64-85c1-4e73d96fb997"
{
"type": "Export",
"resource": "/exports/91106968-1abd-4d64-85c1-4e73d96fb997",
"mimeType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"extension": "xlsx",
"filename": "9137b53f-1abd-4d64-85c1-4e73d96fb997.xlsx"
}"xlsx"
1invoice.cfdi.xml, invoice.cfdi.pdf pending, running, finished, failed "pending"
"/entities/91106968-1abd-4d64-85c1-4e73d96fb997/invoices?usage=I01&type=I&issuedAt[after]=2020-01-01"
Date and time the resource was created
"2020-01-01T12:15:00.000Z"
Date and time the resource was last updated
"2020-01-01T12:15:00.000Z"