Generator of Latvia Registration Number / VAT
Latvian enterprise registration code and VAT number (Uzņēmumu reģistrs / VID) with Modulo 11.
Waiting for generation...
About Latvian Registration Number / VAT
The Reģistrācijas Numurs is the unified enterprise registration code issued by the Enterprise Register of the Republic of Latvia (Uzņēmumu reģistrs).
When registered for VAT with the State Revenue Service (VID) and the EU VIES system, it takes the prefix 'LV' and functions as the national VAT (PVN) identifier.
Anatomy & Structure of Latvian Registration Number / VAT
The Latvian enterprise code consists of 11 digits, optionally prefixed by 'LV':
| Position | Field | Length | Meaning & Rule | Example |
|---|---|---|---|---|
| 1 to 2 (Optional) | Country Code | 2 characters | ISO code 'LV' used for cross-border EU VIES VAT | LV |
| 3 | Entity Type | 1 digit | 4 or 5 for commercial companies (SIA/AS); 9 for state agencies | 4 |
| 4 to 12 | Base Registry Number | 9 digits | Sequential enterprise ID issued by Uzņēmumu reģistrs | 000301234 |
| 13 | Check Digit | 1 digit | Weighted Modulo 11 check digit: 3 - (Sum % 11) | 0 |
Official Uzņēmumu reģistrs / VID Algorithm (Modulo 11)
Weighted mathematical rule for Latvian legal entities:
C = 3 - (Σ (d[i] * w[i]) mod 11); if C < -1 then C = C + 11
- 1. Strip prefix 'LV' and ensure the number contains 11 digits.
- 2. Multiply the first 10 digits by weights [9, 1, 4, 8, 3, 10, 2, 5, 7, 6].
- 3. Calculate C = 3 - (Sum mod 11); if C is less than -1, add 11.
- 4. If C equals 10 or -1, the combination is invalid.
- 5. Value C must match the 11th digit.