Shape, check digit, accepted and refused examples and the API call for Registration number in Latvia. 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 | Uzņēmumu reģistrs |
| Shape | N{10} C |
| Check digit | Enforced. 11 digits starting 4 to 9. Weights 9,1,4,8,3,10,2,5,7,6,1; the sum mod 11 must be 3. |
| Worked example (accepted) | 40003032949 |
| Normalised form | 40003032949 |
| Also accepted as input | LV40003032949 |
| A one-character slip | 40003032940 is refused |
| Regex (normalised form) | ^[4-9][0-9]{10}$ |
| API call | GET /companies/search?country=LV&company_number=40003032949 |
| VAT number | LV + the 11 digits (State Revenue Service list) — published or confirmed by the register |
An 11-digit number starting 0 to 3 is a personal code and is refused. The oldest 9-digit codes carry no check digit.
curl "https://api.prometiam.com/functions/v1/risk-api/companies/search?country=LV&company_number=40003032949" \ -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.
Register data that the API serves for Latvia carries this credit:
Contains data from the Register of Enterprises of the Republic of Latvia and the State Revenue Service (CC0)
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.