Saltar a contenido

Get invoice document schema


title: Get the invoice document schema

Explains the document that create_invoice_draft and update_invoice_draft accept: JSON Schema, amount and date encoding, fixed values, forbidden fields, how to compute totals, tax rules, small catalogs, four valid examples filled with your issuer's data (an invoice, a multi-concept invoice, a payment complement of a PPD invoice, comprobante type P, and a credit note, type E), the validation error format, and how to use version / expected_version when replacing a draft. Read-only; it is the reference for writing a draft.

Alcance (scope): invoices:read · Características: Solo lectura, Idempotente

Parámetros

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

Esquema de entrada (JSON Schema)

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