MYDATA-202
Invalid Greek VAT number: … (the …'s ΑΦΜ) is not nine digits with a right check digit.
error: the document is invalid
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
Context
inv:issuer | inv:counterpart
Test
not($greek) or gr:afm(normalize-space(inv:vatNumber))
Checked with myDATA 2.0.2