idnumbers
    Preparing search index...

    The National Identification Number of Luxembourg. This page is generated from the registry metadata of the library.

    Property Value
    Country code LUX, LU
    ID type National Identification Number
    Official name Numéro d'identification national
    Also known as National ID Number
    Display format YYYYMMDDSSSCC
    Input masks #############
    Length 13
    Example 1893120105732
    Checksum yes
    Checksum algorithm Dual: Luhn (digit 12) + Verhoeff (digit 13)
    Parsable yes

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('LUX', '1893120105732').isValid; // true

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

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

    register(country);
    validateNationalId('LUX', '1893120105732').isValid; // true