VF-1122
El campo CodigoPais indicado no coincide con los dos primeros dígitos del identificador (…, …).
In English CodigoPais doesn't match the first two characters of the EU VAT number (Greece is GR with the prefix EL; for Northern Ireland GB may go with XI).
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.
[1122] El campo CodigoPais indicado no coincide con los dos primeros dígitos del identificador (…, …).
$otype != '02' or $ocountry = '' or substring($oid, 1, 2) = (if ($ocountry = 'GR') then 'EL' else if ($ocountry = 'GB') then ('GB', 'XI') else $ocountry)
Checked with VERI*FACTU invoice records