Corrective invoice by differences in TicketBAI

A corrective invoice by differences carries only the amount of the correction, positive or negative: rectificativa.tipo I, with no base_rectificada or cuota_rectificada.

FieldValue
APITicketBAI API
Invoice type or keyrectificativa.tipo I
Endpoint/ticketbai/create
When to use itCorrecting an invoice by adding or subtracting the difference.

What changes in this case

A corrective invoice by differences adjusts the original invoice with an addition or a subtraction: positive if too little was charged, negative if too much was.

With tipo I the API does not accept base_rectificada, cuota_rectificada or cuota_recargo: those fields are only for correction by substitution.

In the first corrective example, the original invoice with a €1,000 base is reduced by €500: the corrective invoice carries a €-500 base and €-105 tax.

JSON requests

Original invoice

Factura original
{
  "serie": "A",
  "numero": "1",
  "fecha_expedicion": "19-11-2026",
  "descripcion": "Factura original",
  "nif": "A15022510",
  "nombre": "Nombre destinatario",
  "cp": "48001",
  "direccion": "Calle Ejemplo 1, Bilbao",
  "lineas": [
    {
      "descripcion": "Servicio de consultoría",
      "cantidad": "1",
      "importe_unitario": "1000.00",
      "importe_total": "1210.00"
    }
  ],
  "desglose_iva": [
    {
      "base_imponible": "1000.00",
      "tipo_impositivo": "21",
      "cuota_impuesto": "210.00"
    }
  ],
  "importe_total": "1210.00"
}

Corrective invoice by differences: lower base

Rectificación por diferencias
{
  "serie": "R",
  "numero": "1",
  "fecha_expedicion": "19-11-2026",
  "descripcion": "Rectificación por diferencias",
  "nif": "A15022510",
  "nombre": "Nombre destinatario",
  "cp": "48001",
  "direccion": "Calle Ejemplo 1, Bilbao",
  "rectificativa": {
    "codigo": "R1",
    "tipo": "I"
  },
  "rectificadas_sustituidas": [
    {
      "serie": "A",
      "numero": "1",
      "fecha_expedicion": "19-11-2026"
    }
  ],
  "lineas": [
    {
      "descripcion": "Rebaja sobre la factura A1",
      "cantidad": "1",
      "importe_unitario": "-500.00",
      "importe_total": "-605.00"
    }
  ],
  "desglose_iva": [
    {
      "base_imponible": "-500.00",
      "tipo_impositivo": "21",
      "cuota_impuesto": "-105.00"
    }
  ],
  "importe_total": "-605.00"
}

Corrective invoice by differences: bad debt

With code R3 (article 80 Four of the Foral VAT Rule), the corrective invoice reduces the taxable base of the unpaid operation.

Modificación de la base por crédito incobrable
{
  "serie": "R",
  "numero": "2",
  "fecha_expedicion": "19-11-2026",
  "descripcion": "Modificación de la base por crédito incobrable",
  "nif": "A15022510",
  "nombre": "Nombre destinatario",
  "cp": "48001",
  "direccion": "Calle Ejemplo 1, Bilbao",
  "rectificativa": {
    "codigo": "R3",
    "tipo": "I"
  },
  "rectificadas_sustituidas": [
    {
      "serie": "A",
      "numero": "1",
      "fecha_expedicion": "19-11-2026"
    }
  ],
  "lineas": [
    {
      "descripcion": "Crédito incobrable de la factura A1",
      "cantidad": "1",
      "importe_unitario": "-1000.00",
      "importe_total": "-1210.00"
    }
  ],
  "desglose_iva": [
    {
      "base_imponible": "-1000.00",
      "tipo_impositivo": "21",
      "cuota_impuesto": "-210.00"
    }
  ],
  "importe_total": "-1210.00"
}

Try this case in the test environment

Create your free account and ask soporte@verifacti.com for a TicketBAI test NIF; then copy the request and send it with its test API key.

Test environment and test NIF includedRead the documentation