Core Resources
- Events
- Files
- Exports
- Entities
- Tags
Extractions
- Extractions
- Schedulers
Datasource: SAT
- Credentials
- Invoices
- Tax Retentions
- Tax Returns
- Tax Compliance Checks
- Tax Status
- Electronic Accounting
Datasource: RPC
- Entidades
Datasource: RUG
- Operaciones
- RUG Garantias
- Garantias
Datasource: Syntage
- Score
Datasource: Buró de Crédito
- Reports
- Authorizations
Insights
- Invoicing Annual Comparison
- Vendor Network
- Customer Network
- Customer Concentration
- Supplier Concentration
- Employees
- Expenditures
- Financial Institutions
- Financial Ratios
- Government Supplier
- Invoicing Blacklist
- Risks
- Sales Revenue
- Trial Balance
- Scores
- Cash Flow
- RPC Shareholders
- Balance Sheet
- Income Statement
- Invoicing Concentration
Webhooks
- Overview
- Webhook Endpoints
- Webhook Requests
Retrieve an invoice's CFDI
Returns the invoice CFDI (Comprobantes Fiscal Digital por Internet) file content in different formats.
GET
/
invoices
/
{id}
/
cfdi
curl --request GET \
--url https://api.syntage.com/invoices/{id}/cfdi \
--header 'X-API-Key: <api-key>'
{
"Version": 3.3,
"Serie": "FA",
"Folio": 6787763004,
"Fecha": "2019-01-03T21:10:40",
"Sello": "pd77md8+...wiMlMQ==",
"FormaPago": "04",
"NoCertificado": 1000000502192402,
"Certificado": "MIIGTDCC...rOSkAn8=",
"CondicionesDePago": "Tarjeta de Credito",
"SubTotal": 45905,
"Descuento": 0,
"Moneda": "MXN",
"Total": 53249.8,
"TipoDeComprobante": "I",
"MetodoPago": "PUE",
"LugarExpedicion": "01210",
"Emisor": {
"Rfc": "AOM920820BEA",
"Nombre": "APPLE OPERATIONS MEXICO S.A. DE C.V.",
"RegimenFiscal": 601
},
"Receptor": {
"Rfc": "PEIC211118IS0",
"Nombre": "Pedro Infante Cruz",
"UsoCFDI": "G03"
},
"Conceptos": {
"Concepto": [
{
"ClaveProdServ": 43211503,
"NoIdentificacion": "Z0V0",
"Cantidad": 1,
"ClaveUnidad": "H87",
"Unidad": "06",
"Descripcion": "MBP 15.4 SPACE GRAY",
"ValorUnitario": 45905,
"Importe": 45905,
"Descuento": 0,
"Impuestos": {
"Traslados": {
"Traslado": {
"Base": 45905,
"Impuesto": "002",
"TipoFactor": "Tasa",
"TasaOCuota": 0.16,
"Importe": 7344.8
}
}
},
"InformacionAduanera": {
"NumeroPedimento": "19 47 1692 9000010"
}
}
]
},
"Impuestos": {
"TotalImpuestosTrasladados": 7344.8,
"Traslados": {
"Traslado": {
"Impuesto": "002",
"TipoFactor": "Tasa",
"TasaOCuota": 0.16,
"Importe": 7344.8
}
}
},
"Complemento": {
"TimbreFiscalDigital": {
"Version": 1.1,
"UUID": "e0a24894-7fbf-48ae-bfb0-efaae30a6319",
"RfcProvCertif": "SAT970701NN3",
"FechaTimbrado": "2019-01-03T23:10:40",
"SelloCFD": "pd77md8+...wiMlMQ==",
"NoCertificadoSAT": 1000000514965721,
"SelloSAT": "R9TebKU2...q7lDgA=="
}
}
}
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
Invoice CFDI response
The response is of type object
.
curl --request GET \
--url https://api.syntage.com/invoices/{id}/cfdi \
--header 'X-API-Key: <api-key>'
{
"Version": 3.3,
"Serie": "FA",
"Folio": 6787763004,
"Fecha": "2019-01-03T21:10:40",
"Sello": "pd77md8+...wiMlMQ==",
"FormaPago": "04",
"NoCertificado": 1000000502192402,
"Certificado": "MIIGTDCC...rOSkAn8=",
"CondicionesDePago": "Tarjeta de Credito",
"SubTotal": 45905,
"Descuento": 0,
"Moneda": "MXN",
"Total": 53249.8,
"TipoDeComprobante": "I",
"MetodoPago": "PUE",
"LugarExpedicion": "01210",
"Emisor": {
"Rfc": "AOM920820BEA",
"Nombre": "APPLE OPERATIONS MEXICO S.A. DE C.V.",
"RegimenFiscal": 601
},
"Receptor": {
"Rfc": "PEIC211118IS0",
"Nombre": "Pedro Infante Cruz",
"UsoCFDI": "G03"
},
"Conceptos": {
"Concepto": [
{
"ClaveProdServ": 43211503,
"NoIdentificacion": "Z0V0",
"Cantidad": 1,
"ClaveUnidad": "H87",
"Unidad": "06",
"Descripcion": "MBP 15.4 SPACE GRAY",
"ValorUnitario": 45905,
"Importe": 45905,
"Descuento": 0,
"Impuestos": {
"Traslados": {
"Traslado": {
"Base": 45905,
"Impuesto": "002",
"TipoFactor": "Tasa",
"TasaOCuota": 0.16,
"Importe": 7344.8
}
}
},
"InformacionAduanera": {
"NumeroPedimento": "19 47 1692 9000010"
}
}
]
},
"Impuestos": {
"TotalImpuestosTrasladados": 7344.8,
"Traslados": {
"Traslado": {
"Impuesto": "002",
"TipoFactor": "Tasa",
"TasaOCuota": 0.16,
"Importe": 7344.8
}
}
},
"Complemento": {
"TimbreFiscalDigital": {
"Version": 1.1,
"UUID": "e0a24894-7fbf-48ae-bfb0-efaae30a6319",
"RfcProvCertif": "SAT970701NN3",
"FechaTimbrado": "2019-01-03T23:10:40",
"SelloCFD": "pd77md8+...wiMlMQ==",
"NoCertificadoSAT": 1000000514965721,
"SelloSAT": "R9TebKU2...q7lDgA=="
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.