The ninth digit of a VÖEN cannot be calculated
The tax registration rule counts a VÖEN as ten digits. The first two digits are the territory. The next six digits are the serial number. The tax program sets the ninth digit with a special algorithm. The tenth digit is the status.
The algorithm is not published. A program cannot repair the ninth digit and cannot check it either. Do not write an invented formula.
0000000001 and 0000000002 on this page are not issued numbers. They are nobody's VÖEN. They only show the place of the last digit: 1 is a legal person, 2 is a natural person.
Some pages split the same ten digits as 2+5+1+2 and treat the last two digits as the status. The rule does not split it that way. The status is one digit, the tenth.
- The code prints
huquqi, thenfiziki. Both are only the form. The numbers were not issued. - Nine digits or a letter raise
10 reqem. A VÖEN has no letter. - If the last digit is not
1or2, the code raisesstatus. The ninth digit takes no part in this check. - A FİN is a different number. It has seven characters and may include a letter. Do not write it in place of a VÖEN.
- The form can be right and the taxpayer can still be inactive. The tax service's open search shows that. Do not write a real VÖEN on this page.
def forma(voen: str) -> str:
metn = voen.replace(" ", "")
if not (len(metn) == 10 and metn.isdigit()):
raise ValueError("10 reqem")
son = metn[9]
if son == "1":
return "huquqi"
if son == "2":
return "fiziki"
raise ValueError("status")
# Verilməmiş nömrələrdir. Yalnız son rəqəmi göstərir.
print(forma("0000000001"))
print(forma("0000000002"))
- python is not recognized
- The letter ə shows as a square
- Excel breaks the letter ə
- The letter ə becomes a question mark on the page
- Excel opens the CSV as one column
- PowerShell will not run the script
- In JSON the letter ə becomes \u0259
- APK will not install
- What is a parse error?
- The keystore is lost
- The signatures do not match
- Package name error
- The APK file is damaged
- Blocked by Play Protect
- Package appears to be invalid
- Not enough storage
- App not compatible with your device
- An older version will not install
- XAPK will not install
- ödəyici turns into ödÉ™yici
- In C# the letter ə becomes a question mark
- A WhatsApp chat breaks ə in Excel
- In a PDF the letter ə becomes a square
- In MySQL the letter ə becomes a question mark
- In an SMS the letter ə cuts the message to 70 characters
- In Java the letter ə breaks for Excel
- In PHP the letter ə becomes a question mark
- On Android the letter ə becomes a question mark
- A QR code will not take the letter ə
- How to check the Azerbaijan IBAN sample
- Gradle sync failed
- Could not resolve a dependency
- Duplicate class error
- Manifest merger failed
- Dex limit: 65536 methods
- R8: Missing class
- JDK version mismatch
- SDK location not found
- minSdkVersion conflict
- compileSdk is too low
- EAS build: Gradle failure
- expo prebuild error
- Metro: Unable to resolve module
- Hermes: JS error only in release
- White screen in release
- Red screen: cannot reach Metro
- Expo SDK mismatch
- Capacitor sync error
- Capacitor: white screen
- EAS: keystore and credentials error
- Keystore was tampered with / wrong password
- Wrong key alias or password
- Play: signed with the wrong key
- INSTALL_FAILED_UPDATE_INCOMPATIBLE
- INSTALL_FAILED_VERSION_DOWNGRADE
- INSTALL_FAILED_INSUFFICIENT_STORAGE
- INSTALL_FAILED_NO_MATCHING_ABIS
- Parse error (problem parsing the package)
- "App not installed" error
- Installing an AAB file on a phone
- adb: device "unauthorized"
- adb: device not found
- adb server version mismatch
- Activity class does not exist
- Play: targetSdk level too low
- Play: permissions policy rejection
- Play: 64-bit requirement
- Play: versionCode already used
- ClassNotFound / NoSuchMethod crash
- OutOfMemoryError crash
- CLEARTEXT communication not permitted
- SecurityException: permission denied