Skip to main content

German VAT ID (USt-IdNr) Generator

Generate and format valid German VAT ID (USt-IdNr) for software testing and development.

Waiting for generation...

About German VAT ID (USt-IdNr)

The German VAT Identification Number (USt-IdNr.) is the business tax identification number for companies conducting B2B transactions across the EU.

Composed of the prefix "DE" followed by 9 digits, where the final digit is verified using the ISO 7064 Modulo 11, 10 algorithm.

Anatomy & Structure of German VAT ID (USt-IdNr.)

The German VAT Identification Number consists of 11 characters structured per European VAT Directive:

PositionFieldLengthMeaning & RuleExample
1 & 2Country (ISO)2 lettersSovereign country code of Germany (ISO 3166-1 alpha-2)DE
3 to 10Company Serial8 digitsUnique corporate identifier assigned by BZSt12345678
11Check Digit1 digitControl digit calculated per ISO/IEC 7064, Mod 11, 10 standard9

German VAT ID Validation Algorithm (ISO/IEC 7064, Mod 11, 10)

BZSt validates USt-IdNr. through 8 modular product iterations as specified in ISO 7064:

P = ((S * 2) % 11) | S = (d_i + P) % 10
  1. 1. Initialize product variable with base value P = 10.
  2. 2. For each of the 8 numeric digits: compute S = (digit + P) % 10. If S = 0, reset S = 10.
  3. 3. Update product accumulator: P = (S * 2) % 11.
  4. 4. Calculate check digit candidate: C = 11 - P. If C = 10, check digit is 0; otherwise C.
  5. 5. Confirm match against the 9th numeric digit (11th character of DE string).

Frequently Asked Questions & Technical Guidelines