Saltar a contenido

Get invoice


title: Get an invoice

Return everything stored about one invoice of the calling issuer: its version, the whole CFDI document (cfdi), and the stamp and cancellation data, which are null until the invoice is signed / canceled, and share: null, or the state of its receiver share link (status open, stamped, expired or revoked, failed_attempts and last_error, never the url).

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"
  ]
}