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