PEPPOL-COMMON-R041
Norwegian organization number MUST be stated in the correct format.
error: the document is invalid
Peppol documentation ↗
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.
Peppol BIS Billing 3.0 rules 3.0.21
Peppol Order rules 3.7
Peppol Order Response rules 3.2
Peppol Despatch Advice rules 3.5
Peppol Catalogue rules 3.5
Peppol Catalogue Response rules 3.0
Peppol Invoice Response rules 3.1
Peppol Message Level Response rules 3.0
Peppol Order Change rules 3.2
Peppol Order Cancellation rules 3.0
Context
cbc:EndpointID[@schemeID = '0192'] | cac:PartyIdentification/cbc:ID[@schemeID = '0192'] | cbc:CompanyID[@schemeID = '0192']
Test
matches(normalize-space(), '^[0-9]{9}$') and u:mod11(normalize-space())
Checked with Peppol BIS Billing 3.0 Invoice, Peppol BIS Billing 3.0 Credit Note