VF-1143

Los campos CuotaRepercutida y BaseImponibleOimporteNoSujeto deben tener el mismo signo.

In English CuotaRepercutida and BaseImponibleOimporteNoSujeto must have the same sign.

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

[1143] Los campos CuotaRepercutida y BaseImponibleOimporteNoSujeto deben tener el mismo signo.

Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Desglose/*:DetalleDesglose
Test
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