Peppol BIS Billing 3.0.21 · UBL

PEPPOL-COMMON-R056-1: Dutch VAT numbers (9944) MUST be stated in the correct format (NL123456789B12)

Peppol BIS Billing 3.0.21 · UBL

warningformat

Original rule text

[PEPPOL-COMMON-R056-1]-Dutch VAT numbers (9944) MUST be stated in the correct format (NL123456789B12).

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

PEPPOL-COMMON-R056-1 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

The rule checks that any Dutch VAT number carried with scheme identifier 9944 in cbc:EndpointID, cac:PartyIdentification/cbc:ID, or cbc:CompanyID matches the pattern NL followed by exactly nine digits, an uppercase B, and exactly two digits. It is a warning, so the document is not rejected; the validator reports it and recommends correcting the value.

How to fix

In the relevant field, provide a value that matches ^NL[0-9]{9}B[0-9]{2}$, for example NL123456789B12. Leading and trailing whitespace around the value is ignored by the test, but the trimmed value must match the pattern. Ensure there are no lowercase letters and exactly the stated digits.

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

Where to go next

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

Validate an invoice against these rules · All release changes