idnumbers
    Preparing search index...

    The Tax Identification Number of Germany. This page is generated from the registry metadata of the library.

    Property Value
    Country code DEU, DE
    ID type Tax Identification Number
    Official name Steuerliche Identifikationsnummer (IdNr)
    Also known as Tax Identification Number; Steuerliche Identifikationsnummer; IdNr
    Display format XX XXX XXX XXX
    Input masks ## ### ### ###
    Length 11
    Example 12345678911
    Checksum yes
    Checksum algorithm Iterative modulus 11/10 (MN algorithm)
    Parsable no

    The root entry registers every country:

    import { validateNationalId } from 'idnumbers';

    validateNationalId('DEU', '12345678911').isValid; // true

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

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

    register(country);
    validateNationalId('DEU', '12345678911').isValid; // true