EN16931 / XRechnung / Peppol BIS 3 Validator

PEPPOL-COMMON-R056-2: Dutch VAT numbers MUST have the format (NL123456789B12).

warning UBL

What this error means and how to fix it

A Peppol common rule: an identifier (for example a GLN, or a national company or VAT number) fails its format or check-digit test. This is a warning: on its own it does not reject the invoice.

Check your invoice against PEPPOL-COMMON-R056-2 — free

Runs the KoSIT validator 1.6.3, unmodified · result in seconds · the file is not stored · No file at hand? Try a sample invoice

Warnings are not repaired automatically. The free check shows every finding in the file with its location; if other errors in the same file are in the automatic set (totals, VAT breakdown, rounding, element order), the result page offers the corrected file for 9 €.

Rule text

[PEPPOL-COMMON-R056-2]-Dutch VAT numbers MUST have the format (NL123456789B12).
Where the rule is checked (XPath context and test)
SyntaxSeverityContext (XPath)Test (XPath)
Peppol-UBLwarningcac:PartyTaxScheme [normalize-space(cac:TaxScheme/cbc:ID) = 'VAT'] /cbc:CompanyID [starts-with(normalize-space(.), 'NL')]matches(normalize-space(.), '^NL[0-9]{9}B[0-9]{2}$')

Source: Peppol BIS Billing 3.0 Schematron, UBL (OpenPeppol, docs.peppol.eu validation artefacts 3.0.21).

Check your invoice against this rule