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.
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.
[1159] Se está informando del bloque Tercero cuando se indica que se va a informar de Destinatario.
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
not(*:Tercero) or $by != 'D'
Checked with VERI*FACTU invoice records