Saltar a contenido

Delete a CFDI template

Permanently delete a scoped template of the issuer. Drafts made from it are not changed. A global template is invalid_state, since global templates are read-only. The result is deleted and template_id.

Alcance (scope): invoices:write · Características: Destructiva, Idempotente

Parámetros

Parámetro Tipo Obligatorio Descripción
template_id string Sí Id of the template, from list_cfdi_template.
issuer string Sí Id of the issuer the call acts for, from list_issuers.

Esquema de entrada (JSON Schema)

{
  "type": "object",
  "properties": {
    "template_id": {
      "type": "string",
      "description": "Id of the template, from list_cfdi_template."
    },
    "issuer": {
      "type": "string",
      "format": "uuid",
      "description": "Id of the issuer the call acts for, from list_issuers."
    }
  },
  "required": [
    "template_id",
    "issuer"
  ]
}