PEPPOL-COMMON-R054: Dutch Chamber of Commerce (KVK) numbers (0106) MUST be stated in the correct format…
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[PEPPOL-COMMON-R054]-Dutch Chamber of Commerce (KVK) numbers (0106) MUST be stated in the correct format (12345678).
matches(normalize-space(), '^[0-9]{8}$')PEPPOL-COMMON-R054 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
For a Dutch Chamber of Commerce (KVK) number identified by schemeID '0106', the rule checks that the value in any of the listed UBL elements contains exactly eight digits (0-9). The test uses normalize-space(), so leading and trailing whitespace is ignored, but after that it must match the pattern ^[0-9]{8}$. This is a warning, so the validator reports it but the document is not rejected for it.
How to fix
In the relevant element (cbc:EndpointID, cac:PartyIdentification/cbc:ID, or cbc:CompanyID with @schemeID='0106'), set the value to exactly eight digits, for example 12345678. Ensure there are no letters, punctuation, spaces within the digits, or a different length. Surrounding whitespace is ignored by the test, so it does not need to be removed.
Guidance on this rule. The original text above is authoritative.
Where to go next
PEPPOL-COMMON-R054 changed in 1 published Peppol BIS Billing UBL release comparison:
- PEPPOL-COMMON-R054 in 3.0.20 → 3.0.21: New rule
Validate an invoice against these rules · All release changes