PEPPOL-COMMON-R056-2: Dutch VAT numbers MUST have the format (NL123456789B12)
Peppol BIS Billing 3.0.21 · UBL
Original rule text
[PEPPOL-COMMON-R056-2]-Dutch VAT numbers MUST have the format (NL123456789B12).
matches(normalize-space(.), '^NL[0-9]{9}B[0-9]{2}$')PEPPOL-COMMON-R056-2 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
Rule PEPPOL-COMMON-R056-2 is a warning that applies to UBL cac:PartyTaxScheme where cac:TaxScheme/cbc:ID equals VAT and cbc:CompanyID starts with NL. It checks that the entire cbc:CompanyID matches the pattern NL + nine digits + B + two digits, as in NL123456789B12. Since the severity is warning, a document that does not satisfy this rule is not rejected; the validator reports it as advisory.
How to fix
Set cbc:CompanyID to a Dutch VAT number in the required format, e.g. NL123456789B12 (NL, nine digits, B, two digits). Ensure the system that generates the invoice uses the full VAT identifier for Dutch parties, not an abbreviated or local number.
Guidance on this rule. The original text above is authoritative.
Where to go next
PEPPOL-COMMON-R056-2 changed in 1 published Peppol BIS Billing UBL release comparison:
- PEPPOL-COMMON-R056-2 in 3.0.20 → 3.0.21: New rule
Validate an invoice against these rules · All release changes