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.
| Field | Value |
|---|---|
| Register | CVR (Erhvervsstyrelsen) |
| Shape | N{8} |
| Check digit | Advisory. 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 form | 24256790 |
| Also accepted as input | 24 25 67 90 |
| A one-character slip | 24256791 is accepted with a warning |
| Regex (normalised form) | ^[0-9]{8}$ |
| API call | GET /companies/search?country=DK&company_number=24256790 |
| VAT number | DK + CVR — built from the identifier by rule; the registration is not confirmed |
Some genuine CVR numbers fail the mod-11 check. Sole proprietorships and estates are never served.
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.
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.