Metadata for this ID type
Calculate checksum (if applicable)
Validate an ID number
StaticcheckCheck that, within the first 10 digits, no digit fills three directly consecutive positions. The check digit (the 11th) is excluded, so a check digit that completes a run of three is allowed (ELSTER, "Prüfung der Steuer- und Steueridentifikationsnummer", section 2.2).
StaticcheckCheck if only one digit has multiple occurrences
StaticchecksumCalculate checksum for German Tax ID using the official algorithm
StaticgetStaticnormalizeNormalize by removing spaces
StaticvalidateValidate German Tax Identification Number
Germany Tax Identification Number (Steuerliche Identifikationsnummer) format https://en.wikipedia.org/wiki/National_identification_number#Germany https://www.bzst.de/DE/Privatpersonen/SteuerlicheIdentifikationsnummer/steuerlicheidentifikationsnummer_node.html https://download.elster.de/download/schnittstellen/Pruefung_der_Steuer_und_Steueridentifikatsnummer.pdf