idnumbers
    Preparing search index...

    The Icelandic Identification Number (kennitala) of Iceland. This page is generated from the registry metadata of the library.

    Property Value
    Country code ISL, IS
    ID type Icelandic Identification Number (kennitala)
    Official name kennitala
    Also known as Icelandic identification number; kennitala; kt.
    Display format DDMMYY-SSKC
    Input masks ######-####
    Length 10
    Example 120174-3399
    Checksum yes
    Checksum algorithm Weighted sum mod 11 (weights 3,2,7,6,5,4,3,2)
    Parsable yes

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('ISL', '120174-3399').isValid; // true

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

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

    register(country);
    validateNationalId('ISL', '120174-3399').isValid; // true