idnumbers
    Preparing search index...

    The National ID Number of Zimbabwe. This page is generated from the registry metadata of the library.

    Property Value
    Country code ZWE, ZW
    ID type National ID Number
    Official name National Registration Number
    Also known as National ID Number
    Display format RR######(N)CDD
    Input masks ########L##, #########L##
    Length 11 to 12
    Example 63123456G02
    Checksum yes
    Checksum algorithm Digit-sum mod 23 mapped to checksum letter
    Parsable yes

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('ZWE', '63123456G02').isValid; // true

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

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

    register(country);
    validateNationalId('ZWE', '63123456G02').isValid; // true