PEPPOL-COMMON-R049
Swedish organization number MUST be stated in the correct format.
What does this rule mean?
An identifier declared as a Swedish organization number does not match the required format.
The scheme identifier promises the value comes from that register, so Peppol checks it: Ten digits, last digit per Luhn. If the format is wrong the receiver cannot resolve the party.
Official rule message (standard)
Swedish organization number MUST be stated in the correct format.
Where the rule applies
Syntax: CII · UBL
The same rule, expressed twice: UBL and CII name the same fields with different paths. Running a CII file against the UBL rules is why you get errors that mean nothing.
UBL
cbc:EndpointID[@schemeID = '0007'] | cac:PartyIdentification/cbc:ID[@schemeID = '0007'] | cbc:CompanyID[@schemeID = '0007']
CII
ram:URIID[@schemeID = '0007'] | ram:ID[@schemeID = '0007'] | ram:GlobalID[@schemeID = '0007']
Technical test
The rule passes when this Schematron expression holds true:
string-length(normalize-space()) = 10 and string(number(normalize-space())) != 'NaN' and u:checkSEOrgnr(normalize-space())How to fix it
A missing or incorrect business entry only you can supply. Add or correct it, then re-check.
Correct the identifier — or, if it comes from a different register, correct the schemeID.
Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.
Check an e-invoice here
Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.