VF-1208
Si CalificacionOperacion es Operación Sujeta y No exenta - Sin inversión del sujeto pasivo (S1) y BaseImponibleACoste no está cumplimentada, TipoImpositivo y CuotaRepercutida son obligatorios.
In English A taxed line (S1) without BaseImponibleACoste needs TipoImpositivo and CuotaRepercutida.
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.
[1208] Si CalificacionOperacion es Operación Sujeta y No exenta - Sin inversión del sujeto pasivo (S1) y BaseImponibleACoste no está cumplimentada, TipoImpositivo y CuotaRepercutida son obligatorios.
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Desglose/*:DetalleDesglose
not($kind = 'S1' and not(*:BaseImponibleACoste)) or (*:TipoImpositivo and *:CuotaRepercutida)
Checked with VERI*FACTU invoice records