VF-1116

Debe informarse el campo FacturasSustituidas sólo si la factura es de tipo F3.

In English FacturasSustituidas may only be given when TipoFactura is F3 (an invoice replacing simplified invoices).

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

[1116] Debe informarse el campo FacturasSustituidas sólo si la factura es de tipo F3.

Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
Test
$type = 'F3' or not(*:FacturasSustituidas)

Checked with VERI*FACTU invoice records