errorPeppol BIS 3.0

SE-R-013:Swedish organisation number has wrong check digit

The seller's Swedish organisation number (organisationsnummer) has an incorrect check digit. The last digit of a 10-digit Swedish org number is calculated using the Luhn algorithm. This rule checks the seller's company registration number specifically.

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

Engine Classification

Recalculates the Luhn check digit from the first 9 digits of the Swedish organisation number

Confidence: 95% · Applied automatically in pipeline

What is SE-R-013?

SE-R-013 is a fatal validation rule defined in the Peppol BIS 3.0 specification. It validates the CompanyID element under Party > PartyLegalEntity 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: cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID

Why This Error Matters

Invoice will be rejected by Swedish validation. Organization number must pass Luhn checksum.

SE-R-013 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: SE-R-013
  • ·Specification: Peppol BIS 3.0

How to Fix It

1.

Check your registration certificate

Find your company's registreringsbevis from Bolagsverket. The org number is printed as XXXXXX-XXXX (6 digits, hyphen, 4 digits).

2.

Verify the number

Remove the hyphen. You should have exactly 10 digits. The last digit is the check digit.

3.

Update your invoicing software

Correct the organisation number in your ERP or invoicing software settings. A single wrong digit will cause this error on every invoice you send.

Before / After

Failing XML
<Invoice>
  <!-- Issue: The last digit of a Swedish organization number must be vali -->
</Invoice>
Corrected XML
<Invoice>
  <!-- Issue resolved per Peppol BIS 3.0 -->
</Invoice>

Technical Reference

XPathcac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
SpecPeppol BIS 3.0
Operationnormalize
StrategyRecalculates the Luhn check digit from the first 9 digits of the Swedish organisation number

Common Causes

  • ·Typo when entering org number in ERP settings
  • ·Org number copied without the check digit
  • ·ERP system reformatted the number incorrectly

Seeing this in production? The API handles SE-R-013 automatically. See the fix response →

Commonly Seen In

All invoicing software used by Swedish companies

See Also

Related Errors

Last updated: 27 February 2026

Share this guide:

Handle SE-R-013 Automatically in Your Pipeline

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