Faktura

PEPPOL-COMMON-R040

fatalPeppol BIS Billing 3.0profileCIIUBL

GLN must have a valid format according to GS1 rules.

Why it fails

A GLN does not have a valid GS1 format.

How to fix it

A GLN is 13 digits, and the last is a GS1 check digit computed over the first 12. A mistyped digit is caught here.

What the validator checks

CII — context ram:URIID[@schemeID = '0088'] | ram:ID[@schemeID = '0088'] | ram:GlobalID[@schemeID = '0088']

matches(normalize-space(), '^[0-9]+$') and u:gln(normalize-space())

UBL — context cbc:EndpointID[@schemeID = '0088'] | cac:PartyIdentification/cbc:ID[@schemeID = '0088'] | cbc:CompanyID[@schemeID = '0088']

matches(normalize-space(), '^[0-9]+$') and u:gln(normalize-space())

Related rules

Part of PEPPOL-COMMON — Peppol identifier formats.

Validate an invoice against this rule →

This is a Peppol BIS Billing 3.0 rule: an invoice can be perfectly valid EN 16931 and still be rejected by it.