VF-1140
Los campos CuotaRepercutida y BaseImponibleACoste deben tener el mismo signo.
In English CuotaRepercutida and BaseImponibleACoste must have the same sign.
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.
[1140] Los campos CuotaRepercutida y BaseImponibleACoste deben tener el mismo signo.
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Desglose/*:DetalleDesglose
not($kind = 'S1' and *:BaseImponibleACoste and $checked) or not(($quota lt 0 and $cost gt 0) or ($quota gt 0 and $cost lt 0))
Checked with VERI*FACTU invoice records