idnumbers
    Preparing search index...

    The Personal Code (IDNP) of Moldova. This page is generated from the registry metadata of the library.

    Property Value
    Country code MDA, MD
    ID type Personal Code (IDNP)
    Official name Numărul de identificare (IDNP)
    Also known as Personal Code; IDNP
    Display format #############
    Input masks #############
    Length 13
    Example 1234567890123
    Checksum no
    Checksum algorithm None (format/length only; not validated)
    Parsable no

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('MDA', '1234567890123').isValid; // true

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

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

    register(country);
    validateNationalId('MDA', '1234567890123').isValid; // true