Peppol BIS Billing 3.0.21 · UBL

PEPPOL-COMMON-R041: Norwegian organization number MUST be stated in the correct format

Peppol BIS Billing 3.0.21 · UBL

fatalformat

Original rule text

[PEPPOL-COMMON-R041]-Norwegian organization number MUST be stated in the correct format.

Stored validation assertion
matches(normalize-space(), '^[0-9]{9}$') and u:mod11(normalize-space())

PEPPOL-COMMON-R041 is a fatal rule in the format layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is rejected.

What this rule requires

For each of the listed elements with @schemeID = '0192', the value must contain exactly nine digits ([0-9]{9}) and pass the Mod11 checksum (u:mod11). Surrounding whitespace is ignored, but internal spaces, dashes, or non-digit characters cause the rule to fail. This is a fatal rule, so a document that does not satisfy it is rejected.

How to fix

Set cbc:EndpointID, cac:PartyIdentification/cbc:ID, or cbc:CompanyID (where @schemeID = '0192') to the party's valid 9-digit Norwegian organization number, without separators or spaces, and ensure it passes the Mod11 checksum. Check the registered organization number if the value has 9 digits but still fails.

Guidance on this rule. The original text above is authoritative.

Where to go next

No published Peppol BIS Billing UBL release comparison lists a change to PEPPOL-COMMON-R041.

Validate an invoice against these rules · All release changes