SchemaGuard by Ironbark Digital · EN 16931 / Peppol / XRechnung Reference
← All 294 EN 16931 / Peppol Rules & Live Validator
WARNING Official EN 16931 / Peppol / CIUS Rule BT/BG Fields: BT-30

PEPPOL-COMMON-R054 — E-Invoice Validation Rule & Fix

Fixture ID: peppolBadDutchIdentifiers · XPath: /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID

1. Why This Rule Triggers (Diagnostic Message)

The Seller legal registration identifier (BT-30) is "1234567" under scheme "0106", which identifies the Dutch Chamber of Commerce number (KVK-nummer). A value in that scheme must be exactly eight digits, and this one is not. The KVK number identifies a company in the Dutch trade register and is always eight digits, with no check digit. A twelve-digit value is usually the company's establishment number (vestigingsnummer), which Peppol files under scheme 0217 instead. Peppol flags this one as a warning rather than a rejection, so the document will be delivered — but a wrong identifier is delivered to the wrong place, or to nowhere. Peppol added this rule in BIS 3.0.21 as a warning, to give senders time to correct their data, and has said the Dutch identifier rules become fatal in a later release. This is a Peppol BIS Billing 3.0 profile rule: it applies because profile is "peppol-bis-3". It does not apply to the en16931, xrechnung-ubl or xrechnung-cii profiles, whose validators will accept the same document.

2. How to Fix PEPPOL-COMMON-R054

Correct seller.legalRegistrationId, or change its scheme identifier if the value belongs to a different register. A failing check digit or length almost always means a digit was transposed, dropped or added in transcription — compare it against the source register rather than re-typing it.

3. Valid Code / Payload Example

"legalRegistrationId": "12345678", "legalRegistrationSchemeId": "0106"
Test & Validate XML / JSON in Live SchemaGuard Validator →