Skip to main content
Skip to main content

W-IdNr Validator (Germany)

Validate authenticity, structure, and checksum of German Wirtschafts-Identifikationsnummer (W-IdNr).

About W-IdNr Validation (Germany)

The Wirtschafts-Identifikationsnummer (W-IdNr) is Germany's unified business identifier, enacted under § 139c of the German Fiscal Code (AO) and issued by the Federal Central Tax Office (BZSt).

The format starts with prefix "DE" followed by 9 digits (with a check digit computed by ISO 7064 Mod 11, 10) and a 5-digit differentiator suffix (Unterscheidungsmerkmal) preceded by a hyphen to distinguish business units and branches (e.g. DE123456789-00001).

Anatomy & Structure of W-IdNr

The German Wirtschafts-Identifikationsnummer consists of 16 alphanumeric characters structured according to the WIdV Ordinance and § 139c AO:

PositionFieldLengthMeaning & SpecificationExample
1 and 2Country (ISO)2 lettersSovereign code for Germany in ISO 3166-1 alpha-2 standardDE
3 to 10Base Number8 digitsMain numerical business identifier assigned by the BZSt12345678
11Prüfziffer (Check Digit)1 digitCheck digit computed according to ISO/IEC 7064, Mod 11, 109
12 to 16Unterscheidungsmerkmal5 digitsDifferentiator suffix for establishment/branch (00001 for main headquarters)00001

Validation Algorithm of W-IdNr (ISO/IEC 7064, Mod 11, 10)

The 9-digit base block follows the strict ISO 7064 recursive modular rules:

P = ((S * 2) % 11) | S = (d_i + P) % 10
  1. 1. Isolate the DE prefix and the 5-digit differentiator suffix (separated by optional hyphen).
  2. 2. Initialize product variable P = 10 for the first 8 digits.
  3. 3. For each digit calculate S = (digit + P) % 10 (if 0, reset to 10) and P = (S * 2) % 11.
  4. 4. Calculate check digit C = 11 - P (if 10, the check digit is 0; otherwise equal to C).
  5. 5. The 9th digit must match C, and the suffix must be between 00001 and 99999.

Frequently Asked Questions & Technical Specifications

What is the difference between USt-IdNr and W-IdNr?

The USt-IdNr has 11 characters (DE + 9 digits) and is dedicated to intra-community EU VAT operations. The W-IdNr incorporates the same 9-digit base number, but adds a 5-digit suffix (e.g. -00001) to distinguish individual branches, permanent establishments, and separate activities of the same economic entity.

Are the generated numbers real or official?

All numbers generated by this tool are purely synthetic and mathematically calculated for software development and QA testing purposes. Using synthetic numbers for official tax declarations or government filings is prohibited by law.