VF-1148
Si la ClaveRegimen es 14, el campo TipoFactura debe ser F1, R1, R2, R3 o R4.
In English With regime 14, TipoFactura must be F1, R1, R2, R3 or R4.
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
[1148] Si la ClaveRegimen es 14, el campo TipoFactura debe ser F1, R1, R2, R3 o R4.
Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Desglose/*:DetalleDesglose
Test
not($vatlike and $key = '14') or $type = ('F1', 'R1', 'R2', 'R3', 'R4')
Checked with VERI*FACTU invoice records