errorbusinessPeppol BIS 3.0

SE-R-004:Swedish organisation number has wrong length

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

The seller's Swedish organisation number (organisationsnummer) does not have the required 10 characters. Swedish org numbers are always exactly 10 digits, typically written as XXXXXX-XXXX but stored without the hyphen.

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

Engine Classification

Normalizes the organisation number by removing non-digit characters and padding/trimming to exactly 10 digits

Confidence: 90% · Applied automatically in pipeline

What is SE-R-004?

SE-R-004 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 be 10 digits.

SE-R-004 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.

An organisation number with the wrong length will be rejected. Swedish tax authorities and Peppol validate the exact format.

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-004
  • ·Specification: Peppol BIS 3.0

How to Fix It

1.

Check the org number

Swedish organisation numbers are always 10 digits: 6 digits, then 4 digits (XXXXXX-XXXX without the hyphen).

2.

Remove formatting

Strip hyphens, spaces, and any other non-digit characters.

3.

Verify the result

The result should be exactly 10 digits. If it is 9 digits, check if a leading zero was dropped.

Before / After

Failing XML
<Invoice>
  <!-- Issue: For Swedish suppliers, organisation numbers consist of 10 ch -->
</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
StrategyNormalizes the organisation number by removing non-digit characters and padding/trimming to exactly 10 digits

Common Causes

  • ·Org number stored with hyphen (556789-1234 = 11 chars)
  • ·Leading zero dropped (567891234 = 9 digits)
  • ·Extra spaces in the value

Seeing this in production? The API handles SE-R-004 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) does not have the required 10 characters. Swedish org numbers are always exactly 10 digits, typically written as XXXXXX-XXXX but stored without the hyphen.

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

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

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

SE-R-004 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-004

Auto-fix SE-R-004 in seconds

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