VF-1259
En el bloque Generador si se identifica mediante NIF, el NIF debe estar identificado y ser distinto del NIF ObligadoEmision.
In English Generador identified by NIF must be another person than the taxpayer in the header.
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.
[1259] En el bloque Generador si se identifica mediante NIF, el NIF debe estar identificado y ser distinto del NIF ObligadoEmision.
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAnulacion
not(*:Generador/*:NIF) or normalize-space(*:Generador/*:NIF) != $issuer
Checked with VERI*FACTU invoice records