ERR222

Only general TIN (010) is allowed for NRIC/ARMY: the … has an NRIC or army number and the general TIN ….

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
/*/cac:AccountingSupplierParty/cac:Party | /*/cac:AccountingCustomerParty/cac:Party
Test
not(exists($nric) and $general and $tin ne 'EI00000000010')

Checked with MyInvois e-Invoice