VF-1202

Si ClaveRegimen es 06 TipoFactura no puede ser F2, F3, R5 y BaseImponibleACoste debe estar cumplimentado.

In English With regime 06 (VAT group, advanced level), TipoFactura may not be F2, F3 or R5, and BaseImponibleACoste is required.

error: the document is invalid

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

[1202] Si ClaveRegimen es 06 TipoFactura no puede ser F2, F3, R5 y BaseImponibleACoste debe estar cumplimentado.

Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Desglose/*:DetalleDesglose
Test
not($vatlike and $key = '06') or (not($type = ('F2', 'F3', 'R5')) and *:BaseImponibleACoste)

Checked with VERI*FACTU invoice records