PEPPOL-COMMON-R040
GLN must have a valid format according to GS1 rules.
Why it fails
- A GLN (scheme
0088) has a wrong check digit, or contains spaces or letters. - Another identifier, such as a VAT number, was sent with scheme
0088.
How to fix it
Check the GLN with GS1's check digit calculator, or use the scheme that matches the identifier you have.
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
cbc:EndpointID[@schemeID = '0088'] | cac:PartyIdentification/cbc:ID[@schemeID = '0088'] | cbc:CompanyID[@schemeID = '0088']
matches(normalize-space(), '^[0-9]+$') and u:gln(normalize-space())
Checked with Peppol BIS Billing 3.0 Invoice, Peppol BIS Billing 3.0 Credit Note, Austria e-Rechnung.gv.at Peppol Invoice, Austria e-Rechnung.gv.at Peppol Credit Note