VF-1153
Valor del campo RechazoPrevio no válido, solo podrá incluirse el campo RechazoPrevio con valor X si se ha informado el campo Subsanacion y tiene el valor S.
In English RechazoPrevio X may only be given with Subsanacion S.
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.
[1153] Valor del campo RechazoPrevio no válido, solo podrá incluirse el campo RechazoPrevio con valor X si se ha informado el campo Subsanacion y tiene el valor S.
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
not(normalize-space(*:RechazoPrevio) = 'X') or normalize-space(*:Subsanacion) = 'S'
Checked with VERI*FACTU invoice records