idnumbers
    Preparing search index...

    The Individual Identification Number of Kazakhstan. This page is generated from the registry metadata of the library.

    Property Value
    Country code KAZ, KZ
    ID type Individual Identification Number
    Official name Individual Identification Number (ИИН/ЖСН)
    Also known as Individual Identification Number; ЖСН; ZhSN; ИИН; IIN
    Display format YYMMDDGSSSSC
    Input masks ############
    Length 12
    Example 900101300017
    Checksum yes
    Checksum algorithm Two-stage weighted sum mod 11 (weights 1..11; shifted weights retry when 10)
    Parsable yes

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('KAZ', '900101300017').isValid; // true

    To bundle only this country, import its definition from idnumbers/countries/kaz and pass it to register():

    import { register, validateNationalId } from 'idnumbers/core';
    import { country } from 'idnumbers/countries/kaz';

    register(country);
    validateNationalId('KAZ', '900101300017').isValid; // true