List CFDI templates
List the CFDI templates the issuer sees: the global templates, which every issuer sees, and the issuer's own scoped templates. scope narrows the list to global, issuer or all (the default). Each template carries its note, which says what a draft made from it still needs. A scope outside those three is invalid_argument.
Alcance (scope): invoices:read · Características: Solo lectura, Idempotente
Parámetros¶
| Parámetro | Tipo | Obligatorio | Descripción |
|---|---|---|---|
scope |
string | No | Which templates to list. Defaults to all. |
issuer |
string | Sí | Id of the issuer the call acts for, from list_issuers. |
Esquema de entrada (JSON Schema)¶
{
"type": "object",
"properties": {
"scope": {
"type": "string",
"enum": [
"global",
"issuer",
"all"
],
"description": "Which templates to list. Defaults to all."
},
"issuer": {
"type": "string",
"format": "uuid",
"description": "Id of the issuer the call acts for, from list_issuers."
}
},
"required": [
"issuer"
]
}