SE-R-004:Swedish organisation number has wrong length
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 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 be 10 digits.
SE-R-004 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-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
See Also
Related Errors
Last updated: 27 February 2026
Handle SE-R-004 Automatically in Your Pipeline
The compliance engine auto-remediates this error with controlled safety policies and evidence pack generation.