The National ID Number of Turkey. This page is generated from the registry metadata of the library.
| Property | Value |
|---|---|
| Country code | TUR, TR |
| ID type | National ID Number |
| Official name | T.C. Kimlik Numarası |
| Also known as | TC Kimlik No; Turkish Identification Number; T.C. Kimlik Numarası |
| Display format | ########### |
| Input masks | ########### |
| Length | 11 |
| Example | 11111111110 |
| Checksum | yes |
| Checksum algorithm | Dual check digits: d10 = (7*odd-sum - even-sum) mod 10; d11 = sum of first 10 digits mod 10 |
| Parsable | no |
The root entry registers every country:
import { validateNationalId } from 'idnumbers';
validateNationalId('TUR', '11111111110').isValid; // true
To bundle only this country, import its definition from idnumbers/countries/tur and pass it to register():
import { register, validateNationalId } from 'idnumbers/core';
import { country } from 'idnumbers/countries/tur';
register(country);
validateNationalId('TUR', '11111111110').isValid; // true