Invoice with several VAT rates in Verifactu

An invoice with several VAT rates has one entry in lineas per tax rate, for example one at 21% and one at 10%.

FieldValue
APIVerifactu API
Invoice type or keyF1 · varios tipo_impositivo
Endpoint/verifactu/create
When to use itOne entry in lineas per VAT rate.

What changes in this case

In some cases, invoices may contain multiple VAT rates. In this case, the field lineas must contain an array with the corresponding tax rates. Group all items with the same rate in one entry: lineas accepts at most 12 entries (AEAT limit).

Below is an example of such an invoice.

JSON request

Factura con multiples IVAs
{
  "serie": "Ejemplos",
  "numero": "1",
  "fecha_expedicion": "19-11-2026",
  "tipo_factura": "F1",
  "descripcion": "Factura con multiples IVAs",
  "nif": "A15022510",
  "nombre": "Nombre destinatario",
  "lineas": [
    {
      "base_imponible": "200",
      "tipo_impositivo": "21",
      "cuota_repercutida": "42"
    },
    {
      "base_imponible": "100",
      "tipo_impositivo": "10",
      "cuota_repercutida": "10"
    }
  ],
  "importe_total": "352"
}

Try this case in the test environment

Create your free account, copy the request and send it with the test API key of your test NIF.

Test environment and test NIF includedRead the documentation