errorbusinessPeppol BIS 3.0

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

Fix: Invoice Navigator automatically fixes this Invoice compliance issue by updating the relevant XML elements (SE-R-013). Upload your invoice to fix this automatically.

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 rejected by Peppol access points and never reaches 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 — the invoice must be corrected and re-sent before it can reach the recipient.

Invoices with an incorrect Swedish organisation number will be rejected. Swedish tax authorities and Peppol Access Points validate this number. If the check digit is wrong, the receiver cannot verify your company identity.

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

Frequently Asked Questions

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.

Invoice Navigator automatically fixes this Invoice compliance issue by updating the relevant XML elements (SE-R-013). You can also use Invoice Navigator's compliance engine to correct this automatically in your pipeline.

Yes, SE-R-013 is a critical error that will cause invoice rejection. It must be fixed before submission.

Many instances of SE-R-013 can be automatically corrected using Invoice Navigator's compliance engine. The fix is applied in your pipeline with full audit evidence.

SE-R-013 is commonly seen in exports from All invoicing software used by Swedish companies. These packages sometimes generate invoices that need adjustment.

Related Errors

Related Content

Last updated: 27 February 2026

Share this guide:

Validate your invoice

Drop your XML here to check for SE-R-013

Auto-fix SE-R-013 in seconds

Upload your invoice and we fix this error automatically. Financial fields are never touched.