Get cfdi xml
title: Get a CFDI XML download link¶
Get a download link for the stamped CFDI XML of one CFDI (invoice, credit note or payment complement; invoice_id is its id). Read-only. The XML itself is not returned. Only signed (or canceled) invoices have an XML: a draft answers invalid_state until sign_invoice stamps it. Returns {invoice_id, uuid, filename (
Alcance (scope): invoices:read · Características: Solo lectura, Idempotente
Parámetros¶
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
invoice_id |
string | Sí | |
issuer |
string | Sí | Id of the issuer the call acts for, from list_issuers. |
Esquema de entrada (JSON Schema)¶
{
"type": "object",
"properties": {
"invoice_id": {
"type": "string"
},
"issuer": {
"type": "string",
"format": "uuid",
"description": "Id of the issuer the call acts for, from list_issuers."
}
},
"required": [
"invoice_id",
"issuer"
]
}