VF-1159

Se está informando del bloque Tercero cuando se indica que se va a informar de Destinatario.

In English The Tercero block is given although EmitidaPorTerceroODestinatario says the recipient (D) issued the invoice.

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

[1159] Se está informando del bloque Tercero cuando se indica que se va a informar de Destinatario.

Context
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
Test
not(*:Tercero) or $by != 'D'

Checked with VERI*FACTU invoice records