VF-1162
Si el TipoImpositivo es 21%, sólo se admite TipoRecargoEquivalencia 5,2 ó 1,75.
In English With a VAT rate of 21 %, the equivalence surcharge may only be 5.2 or 1.75 %.
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.
[1162] Si el TipoImpositivo es 21%, sólo se admite TipoRecargoEquivalencia 5,2 ó 1,75.
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Desglose/*:DetalleDesglose
not($vatS1 and *:TipoRecargoEquivalencia and $rate = 21) or $surcharge = (5.2, 1.75)
Checked with VERI*FACTU invoice records