Estonia (EE)
Estonian VAT Number Validation
Format, pattern, and checksum algorithm for EE VAT numbers
Estonian VAT numbers (Käibemaksukohustuslase number) consist of 9 digits with a weighted checksum using the pattern 3, 7, 1.
Format vs. Active Validation
This checks format only, not if a VAT number is really registered. Use VatDB's API to verify is a number is really registered and active. VatDB checks official EU and national datasources.
Format Overview
| Property | Value |
|---|---|
| Country Code | EE |
| Format | 9 digits |
| Length | 9 digits |
| Example | EE123456789 |
Regex Pattern
^EE[0-9]{9}$
Checksum Algorithm
def validate_ee_vat(number):
if number.startswith('EE'):
number = number[2:]
if len(number) != 9 or not number.isdigit():
return False
weights = [3, 7, 1, 3, 7, 1, 3, 7]
total = sum(int(d) * w for d, w in zip(number[:8], weights))
check = (10 - (total % 10)) % 10
return check == int(number[8])
Frequently Asked Questions
How do I verify an Estonian VAT number?
Estonian VAT numbers use a weighted checksum with pattern [3,7,1,3,7,1,3,7]. Calculate the weighted sum of the first 8 digits, then check digit = (10 - sum mod 10) mod 10. Use VatDB's API for official verification against EU and national databases.
What does an Estonian VAT number look like?
An Estonian VAT number has the format EE123456789 - 'EE' followed by exactly 9 digits. There are no letters in Estonian VAT numbers.
How many digits are in an Estonian VAT number?
An Estonian VAT number contains exactly 9 digits after the EE country code. The complete number is 11 characters: EE + 9 digits.
Where can I check an Estonian company's VAT number?
Use VatDB's API to validate VAT numbers against official EU and national databases. Get instant verification with company information.
What's the difference between format validation and checking if a VAT number is active?
The checksum proves correct structure, not existence. Anyone could calculate a valid-looking number that was never issued. VatDB checks official records to confirm it belongs to a real, active business.