VF-1227
Si el campo GeneradoPor es igual a E debe estar relleno el campo NIF del bloque Generador.
In English When the issuer generated the cancellation (GeneradoPor E), Generador must be identified by NIF.
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.
[1227] Si el campo GeneradoPor es igual a E debe estar relleno el campo NIF del bloque Generador.
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAnulacion
not(normalize-space(*:GeneradoPor) = 'E') or *:Generador/*:NIF
Checked with VERI*FACTU invoice records