Skip to main content
Skip to main content

German VAT ID (USt-IdNr) Validator

Validate the authenticity, format, and checksum of German VAT ID (USt-IdNr).

About German VAT ID (USt-IdNr) Validation

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

How to validate a German USt-IdNr using the ISO 7064 algorithm?
Iterates through the first 8 digits with an initial accumulator of 10: at each step calculates (digit + acc) % 10 (if 0 becomes 10) and multiplies by 2 % 11. Check digit is 11 - acc.
Are the data in this tool real or official?
All identifiers generated by this tool are strictly synthetic and calculated via mathematical algorithms for software development and QA testing purposes. Using fake data in official or legal filings is strictly prohibited by law.