VF-1190

Si TipoFactura es F2 o R5 el bloque Destinatarios no puede estar cumplimentado.

In English A simplified invoice (F2) or its correction (R5) may not have recipients (Destinatarios).

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

[1190] Si TipoFactura es F2 o R5 el bloque Destinatarios no puede estar cumplimentado.

Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
Test
not($type = ('F2', 'R5')) or not(*:Destinatarios)

Checked with VERI*FACTU invoice records