AF-0051

Der angegebene Wert '…' ist ungültig. Die angegebene GLN-Nummer ist ungültig. GLN-Nummern müssen 13-stellig sein, wobei die letzte Nummer eine Prüfziffer ist.

In English The GLN is not valid: it has thirteen digits, the last a 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
/*:Invoice/*:Biller | /*:Invoice/*:InvoiceRecipient
Test
every $g in *:Address/*:AddressIdentifier[@AddressIdentifierType = 'GLN'] satisfies at:gln(normalize-space($g))

Checked with Austria e-Rechnung.gv.at (ebInterface 6.1), Austria e-Rechnung.gv.at (ebInterface 6.0)