VF-1124

El valor del campo TipoImpositivo no está incluido en la lista de valores permitidos (…).

In English The VAT rate (TipoImpositivo) of a taxed line (CalificacionOperacion S1) is not one of the allowed rates: 0, 2, 4, 5, 7.5, 10 and 21 per cent.

error: the document is invalid

Why it fails

  • A rate of another tax (IGIC in the Canary Islands, IPSI in Ceuta and Melilla) on a line whose Impuesto is VAT (01) or left out.
  • A rate written as a fraction (0.21) instead of a percentage (21).

How to fix it

Give the percentage; for IGIC or IPSI give Impuesto 03 or 02 on the line.

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Message

[1124] El valor del campo TipoImpositivo no está incluido en la lista de valores permitidos (…).

Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Desglose/*:DetalleDesglose
Test
not($vatS1 and *:TipoImpositivo) or $rate = (0, 2, 4, 5, 7.5, 10, 21)

Checked with VERI*FACTU invoice records