errorPeppol BIS 3.0

PEPPOL-COMMON-R049:Invalid Swedish organization number

A Swedish organization number (organisationsnummer) in this invoice is not correctly formatted. Swedish org numbers must be exactly 10 digits and include a valid check digit calculated using the Luhn algorithm. This applies to any identifier using scheme 0007, including seller and buyer endpoint addresses, company registration numbers, and party identifiers.

Severity
Fatal
Rule set
Peppol BIS 3.0
Country
All EU
Fix type
AUTO-FIX
Confidence
95%
Category
identifier

Engine Classification

Strips non-numeric characters and recalculates the Luhn check digit from the first 9 digits

Confidence: 95% · Applied automatically in pipeline

What is PEPPOL-COMMON-R049?

PEPPOL-COMMON-R049 is a fatal validation rule defined in the Peppol BIS 3.0 specification. It validates the EndpointID element in the UBL invoice XML.

When this rule fires, the invoice is non-compliant and will be rejected by Peppol access points and national validation services. The sending system receives a rejection response and the invoice does not reach the buyer.

Target path: //cbc:EndpointID[@schemeID='0007']

Why This Error Matters

Invoice will be rejected by PEPPOL validation. Swedish recipients require valid organization numbers for identification.

PEPPOL-COMMON-R049 is a hard failure. Invoices that trigger this rule are rejected at the access point and never reach the recipient. In Peppol networks, this means your sending system receives an MLR (Message Level Response) with a rejection status. The invoice must be corrected and re-sent, adding delay to your payment cycle.

Invoice Navigator can automatically correct this error in your pipeline. The fix is applied with full audit evidence, so your compliance trail remains intact.

Validator Behavior

  • ·Causes invoice rejection
  • ·Rejected by PEPPOL Access Points
  • ·Error returned: PEPPOL-COMMON-R049
  • ·Specification: Peppol BIS 3.0

How to Fix It

1.

Find the organization number

Look at your company registration certificate (registreringsbevis) from Bolagsverket. The org number is 10 digits, usually written as XXXXXX-XXXX.

2.

Remove formatting

Strip any hyphens, spaces, or other non-numeric characters. The result should be exactly 10 digits.

3.

Verify the check digit

The 10th digit is a Luhn check digit. If your ERP exported it with a typo or truncation, correct it to match your official registration.

Before / After

Failing XML
<Invoice>
  <!-- Issue: Swedish organization number with schemeID 0007 must be exact -->
</Invoice>
Corrected XML
<Invoice>
  <!-- Issue resolved per Peppol BIS 3.0 -->
</Invoice>

Technical Reference

XPath//cbc:EndpointID[@schemeID='0007']
SpecPeppol BIS 3.0
Operationnormalize
StrategyStrips non-numeric characters and recalculates the Luhn check digit from the first 9 digits

Common Causes

  • ·ERP system exports org number with hyphen (123456-7890 instead of 1234567890)
  • ·Copy-paste error introduced wrong check digit
  • ·Org number truncated to 9 digits
  • ·Non-numeric characters in the value (spaces, dots)

Seeing this in production? The API handles PEPPOL-COMMON-R049 automatically. See the fix response →

Commonly Seen In

All invoicing software sending to Swedish recipients via Peppol

See Also

Related Errors

Last updated: 27 February 2026

Share this guide:

Handle PEPPOL-COMMON-R049 Automatically in Your Pipeline

The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.