VF-1114

Si la factura es de tipo rectificativa, el campo TipoRectificativa debe tener valor.

In English A corrective invoice (TipoFactura R1 to R5) needs TipoRectificativa: S (by substitution) or I (by differences).

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

[1114] Si la factura es de tipo rectificativa, el campo TipoRectificativa debe tener valor.

Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
Test
not($corrective) or normalize-space(*:TipoRectificativa) != ''

Checked with VERI*FACTU invoice records