Official rule text
[PEPPOL-COMMON-R049] Swedish organization number MUST be stated in the correct format.
Why this error occurs
An identifier with schemeID 0007 is a Swedish organisation number and must be exactly ten digits with a valid Luhn check digit. The rule checks cbc:EndpointID, cac:PartyIdentification/cbc:ID and cbc:CompanyID with schemeID 0007 (UBL) or ram:URIID, ram:ID, ram:GlobalID with schemeID 0007 (CII) for length 10, numeric content and checksum. It fails on the hyphenated form 556677-8899, the SE prefix, the 12-digit VAT number SE556677889901 or a transposed digit.
How to fix it
Write the ten digits without hyphen, e.g. 5566778899, and verify the Luhn checksum. The VAT number (SE + 10 digits + 01) belongs in cac:PartyTaxScheme/cbc:CompanyID or under EAS scheme 9955 on the endpoint, not under 0007. Take the number from Bolagsverket's register entry of the party.
Example (valid)
<cbc:EndpointID schemeID="0007">5566778899</cbc:EndpointID>
What the validator checks
Checked element (context):
UBL
cbc:EndpointID[@schemeID = '0007'] | cac:PartyIdentification/cbc:ID[@schemeID = '0007'] | cbc:CompanyID[@schemeID = '0007']Test (XPath):
string-length(normalize-space()) = 10 and string(number(normalize-space())) != 'NaN' and u:checkSEOrgnr(normalize-space())CII
ram:URIID[@schemeID = '0007'] | ram:ID[@schemeID = '0007'] | ram:GlobalID[@schemeID = '0007']Test (XPath):
string-length(normalize-space()) = 10 and string(number(normalize-space())) != 'NaN' and u:checkSEOrgnr(normalize-space())
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
PEPPOL-COMMON-R040GLN (scheme 0088) has an invalid formatPEPPOL-COMMON-R041Norwegian organisation number (scheme 0192) has an invalid formatPEPPOL-COMMON-R042Danish organization number (CVR) MUST be stated in the correct formatPEPPOL-COMMON-R043Belgian enterprise number (scheme 0208) has an invalid formatPEPPOL-COMMON-R044Italian IPA code (scheme 0201) has an invalid formatPEPPOL-COMMON-R045Tax Code (Codice Fiscale) must be stated in the correct formatPEPPOL-COMMON-R046Tax Code (Codice Fiscale) must be stated in the correct formatPEPPOL-COMMON-R047Italian VAT Code (Partita Iva) must be stated in the correct format
Frequently asked questions
What does PEPPOL-COMMON-R049 mean?
PEPPOL-COMMON-R049 is a peppol bis billing 3.0 rule: Swedish organization number MUST be stated in the correct format.
Will my invoice be rejected because of PEPPOL-COMMON-R049?
Yes. PEPPOL-COMMON-R049 is flagged "fatal"; validators (KoSIT, Peppol access points, the German ZRE/OZG-RE portals) reject the invoice until it is fixed.
Which formats does PEPPOL-COMMON-R049 apply to?
Invoices and credit notes sent over the Peppol network (UBL) and, because XRechnung embeds the Peppol rule set, every XRechnung as well. Syntax: UBL and CII.
Source: Peppol BIS Billing 3.0.20 (November 2025). Catalogue generated from the official schematron on 2026-10-14.