VF-1189
Si TipoFactura es F1 o F3 o R1 o R2 o R3 o R4 el bloque Destinatarios tiene que estar cumplimentado.
In English An invoice of type F1, F3, R1, R2, R3 or R4 needs at least one recipient (Destinatarios).
Why it fails
- A full invoice sent without the customer, or a simplified invoice given type F1.
How to fix it
Add the customer under Destinatarios/IDDestinatario with their NIF, or IDOtro for a customer without one; a ticket without the customer is F2.
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.
[1189] Si TipoFactura es F1 o F3 o R1 o R2 o R3 o R4 el bloque Destinatarios tiene que estar cumplimentado.
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
not($type = ('F1', 'F3', 'R1', 'R2', 'R3', 'R4')) or $recipients
Checked with VERI*FACTU invoice records