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

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

Fixture ID: peppolBadSwedishOrg · XPath: /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cbc:EndpointID

1. Why This Rule Triggers (Diagnostic Message)

The Seller electronic address (BT-34) is "2021005488" under scheme "0007", which identifies the Swedish organisation number (Organisationsnummer). A value in that scheme must be exactly ten digits ending in a Luhn check digit, and this one is not. Sweden's organisationsnummer is a ten-digit Luhn-checked value, written without the hyphen that Swedish paperwork usually shows. Strip the hyphen and keep all ten digits — dropping the century prefix is the common way to break it. Peppol flags this fatal: the identifier is what an access point resolves to find your counterparty, so a value in the wrong form is undeliverable. 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-R049

Correct seller.electronicAddress, 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

"electronicAddress": { "schemeId": "0007", "value": "2021005489" }
Test & Validate XML / JSON in Live SchemaGuard Validator →