VF-1197
Si CalificacionOperacion tiene valor Operación Sujeta y No exenta - Con inversión del sujeto pasivo (S2) TipoFactura solo puede ser F1, F3, R1, R2, R3 y R4.
In English Reverse charge (CalificacionOperacion S2) is allowed only with TipoFactura F1, F3, R1, R2, R3 or R4.
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.
[1197] Si CalificacionOperacion tiene valor Operación Sujeta y No exenta - Con inversión del sujeto pasivo (S2) TipoFactura solo puede ser F1, F3, R1, R2, R3 y R4.
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Desglose/*:DetalleDesglose
not($kind = 'S2') or $type = ('F1', 'F3', 'R1', 'R2', 'R3', 'R4')
Checked with VERI*FACTU invoice records