Get cfdi pdf
title: Get a CFDI PDF download link¶
Get a download link for the stamped PDF (printed representation) of one CFDI (invoice, credit note or payment complement; invoice_id is its id). Read-only. The PDF itself is not returned. Only signed (or canceled) CFDIs have one: a draft answers invalid_state until sign_invoice stamps it; a stamped CFDI whose PAC returned no PDF also answers invalid_state (the XML is still available). 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"
]
}