Denmark: company identifier formats (CVR number)

Shape, check digit, accepted and refused examples and the API call for CVR number in Denmark. 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.

CVR number

FieldValue
RegisterCVR (Erhvervsstyrelsen)
ShapeN{8}
Check digitAdvisory. Weights 2,7,6,5,4,3,2,1 over all 8 digits; the sum should divide by 11. Advisory: a mismatch is a warning.
Worked example (accepted)24256790
Normalised form24256790
Also accepted as input24 25 67 90
A one-character slip24256791 is accepted with a warning
Regex (normalised form)^[0-9]{8}$
API callGET /companies/search?country=DK&company_number=24256790
VAT numberDK + CVR — built from the identifier by rule; the registration is not confirmed

Notes and scope

Some genuine CVR numbers fail the mod-11 check. Sole proprietorships and estates are never served.

Call it from code

curl "https://api.prometiam.com/functions/v1/risk-api/companies/search?country=DK&company_number=24256790" \
  -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 CVR number checked?
Weights 2,7,6,5,4,3,2,1 over all 8 digits; the sum should divide by 11. Advisory: a mismatch is a warning.