MYDATA-244
The rule sets below word this rule differently; each wording is shown with its rule set.
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
Counterpart's country for this invoice type must not be in EU: a … (… to a third country) goes to ….
inv:invoice
not($type = ('1.3', '2.3')) or empty(inv:counterpart) or not(gr:eu(inv:counterpart/inv:country))
Checked with myDATA 2.0.2
Issuer's country for this invoice type must not be in EU: a … (… from a third country) comes from ….
inv:invoice
not($type = ('14.2', '14.4')) or empty(inv:issuer) or not(gr:eu(inv:issuer/inv:country))
Checked with myDATA 2.0.2