Peppol BIS Billing 3.0.21 · UBL

PEPPOL-COMMON-R057: Dutch Chamber of Commerce Establishment numbers (0217) MUST be stated in the correct…

Peppol BIS Billing 3.0.21 · UBL

warningformat

Original rule text

[PEPPOL-COMMON-R057]-Dutch Chamber of Commerce Establishment numbers (0217) MUST be stated in the correct format (123456789012).

Stored validation assertion
matches(normalize-space(), '^[0-9]{12}$')

PEPPOL-COMMON-R057 is a warning rule in the format layer of Peppol BIS Billing 3.0.21 · UBL. An invoice that breaks it is flagged but not rejected.

What this rule requires

This is a warning rule for UBL invoices: if any cbc:EndpointID, cac:PartyIdentification/cbc:ID, or cbc:CompanyID element has @schemeID = '0217', its normalized value must match the pattern ^[0-9]{12}$, i.e. it must consist of exactly 12 digits after ignoring leading and trailing whitespace. A document that does not satisfy this is reported, but is not rejected because the severity is warning.

How to fix

Ensure the Dutch Chamber of Commerce Establishment number in each of these elements with @schemeID = '0217' is exactly 12 digits, for example 123456789012. The value may have surrounding whitespace, which the rule ignores, but it must contain only digits and be 12 characters long. Correct the establishment number if it has fewer or more digits or contains any non-digit characters.

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

Where to go next

PEPPOL-COMMON-R057 changed in 1 published Peppol BIS Billing UBL release comparison:

Validate an invoice against these rules · All release changes