Official rule text
[SE-R-013] The last digit of a Swedish organization number must be valid according to the Luhn algorithm.
Why this error occurs
The element is mandatory in this standard but is missing or empty in your file. Typical causes: the field is not filled in the invoicing software, the ERP export does not map it, or the element is present but contains only whitespace.
How to fix it
Add the element with a non-empty value at the position given by the context above. Check the master data (seller, buyer, payment) in your invoicing software; most tools expose the field under the business term name shown here. Re-validate after the change.
What the validator checks
Checked element (context):
UBL
//cac:AccountingSupplierParty/cac:Party/cac:PartyLegalEntity[../cac:PostalAddress/cac:Country/cbc:IdentificationCode = 'SE' and cbc:CompanyID]Test (XPath):
u:checkSEOrgnr(normalize-space(cbc:CompanyID))CII
rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedLegalOrganization[../ram:PostalTradeAddress/ram:CountryID = 'SE' and ram:ID]Test (XPath):
u:checkSEOrgnr(normalize-space(ram:ID))
Check your invoice
Drop your XML or PDF on the validator and every failed rule is linked to its page here. Free, no account, the file is not stored.
Same check via API:
curl -F file=@invoice.xml https://einvoicechecker.com/v1/validateRelated rules
SE-R-001For Swedish suppliers, Swedish VAT-numbers must consist of 14 charactersSE-R-002For Swedish suppliers, the Swedish VAT-numbers must have the trailing 12 characters in…SE-R-003Swedish organisation numbers should be numericSE-R-004Swedish organisation numbers consist of 10 charactersSE-R-005For Swedish suppliers, when using Seller tax registration identifier, 'Godkänd för…SE-R-006For Swedish suppliers, only standard VAT rate of 6, 12 or 25 are usedSE-R-007For Swedish suppliers using Plusgiro, the Account ID must be numericSE-R-008For Swedish suppliers using Bankgiro, the Account ID must be numeric
Frequently asked questions
What does SE-R-013 mean?
SE-R-013 is a peppol national rule: The last digit of a Swedish organization number must be valid according to the Luhn algorithm.
Will my invoice be rejected because of SE-R-013?
Yes. SE-R-013 is flagged "fatal"; validators (KoSIT, Peppol access points, the German ZRE/OZG-RE portals, KSeF) reject the invoice until it is fixed.
Which formats does SE-R-013 apply to?
Only when the seller (or for some rules the buyer) is in the named country: the rule is triggered by the country code of the party. Dutch rules implement NLCIUS, German rules the XRechnung requirements inside Peppol. Syntax: UBL and CII.
Source: Peppol BIS Billing 3.0.20 national rules (November 2025). Catalogue generated from the official rule sets on 2026-10-15.