VF-1119
Si la factura no es de tipo rectificativa por sustitución el bloque ImporteRectificacion no debe tener valor.
In English ImporteRectificacion may only be given for a corrective invoice by substitution (TipoRectificativa 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.
[1119] Si la factura no es de tipo rectificativa por sustitución el bloque ImporteRectificacion no debe tener valor.
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
normalize-space(*:TipoRectificativa) = 'S' or not(*:ImporteRectificacion)
Checked with VERI*FACTU invoice records