VF-1191
Si TipoFactura es R3 sólo se admitirá NIF o IDType = No Censado (07).
In English With TipoFactura R3, recipients may only be identified by NIF or as not registered (IDType 07).
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.
[1191] Si TipoFactura es R3 sólo se admitirá NIF o IDType = No Censado (07).
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta
not($type = 'R3') or (every $r in $recipients satisfies ($r/*:NIF or normalize-space($r/*:IDOtro/*:IDType) = '07'))
Checked with VERI*FACTU invoice records