VF-1234
Si se identifica a través de la agrupación IDOtro y CodigoPais tiene valor ES (España), el campo IDType debe valer Pasaporte (03) o No Censado (07).
In English A recipient identified by IDOtro with CodigoPais ES must have IDType 03 (passport) or 07 (not registered); a Spanish company or person with a NIF goes under 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.
[1234] Si se identifica a través de la agrupación IDOtro y CodigoPais tiene valor ES (España), el campo IDType debe valer Pasaporte (03) o No Censado (07).
/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Destinatarios/*:IDDestinatario/*:IDOtro
$country != 'ES' or $type = ('03', '07')
Checked with VERI*FACTU invoice records