Sweden: company identifier formats (Organisationsnummer)

Shape, check digit, accepted and refused examples and the API call for Organisationsnummer in Sweden. Every example on this page is run through the same validators as the free identifier validator, so a value shown as accepted is a value the validator accepts.

Organisationsnummer

FieldValue
RegisterBolagsverket
ShapeN{6}-N{3} C
Check digitEnforced. Luhn (mod 10) over the 10 digits, and the third digit must be 2 or higher.
Worked example (accepted)556012-5790
Normalised form556012-5790
Also accepted as input5560125790
A one-character slip556012-5791 is refused
Regex (normalised form)^[0-9]{6}-[0-9]{4}$
API callGET /companies/search?country=SE&company_number=556012-5790
VAT numberSE + 10 digits + 01 — built from the identifier by rule; the registration is not confirmed

Notes and scope

A personal identity number (personnummer) has a third digit of 0 or 1 and is refused. Sole traders are never served.

Call it from code

curl "https://api.prometiam.com/functions/v1/risk-api/companies/search?country=SE&company_number=556012-5790" \
  -H "Authorization: Bearer YOUR_API_KEY"

Shape notation: N digit · L letter · X digit or letter · C check digit or character · {n} repeat n times.

A valid shape and check digit prove that a number is well-formed, not that a company holds it. Only a lookup in the register answers that.

Related pages

Start your 14-day free trial · API documentation

The free trial lasts 14 days and includes 500 credits. A card is required and nothing is charged during the trial; it then continues as Starter (EUR 9.99/month) unless you cancel.

Frequently asked questions

How is the Organisationsnummer checked?
Luhn (mod 10) over the 10 digits, and the third digit must be 2 or higher.