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.
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
Check the org number
Swedish organisation numbers are always 10 digits: 6 digits, then 4 digits (XXXXXX-XXXX without the hyphen).
Remove formatting
Strip hyphens, spaces, and any other non-digit characters.
Verify the result
The result should be exactly 10 digits. If it is 9 digits, check if a leading zero was dropped.
Before / After
<Invoice> <!-- Issue: For Swedish suppliers, organisation numbers consist of 10 ch --> </Invoice>
<Invoice> <!-- Issue resolved per Peppol BIS 3.0 --> </Invoice>
Technical Reference
cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyIDCommon 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
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
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.