Invoicing in Practice 6 min readPublished

German VAT Number Format: Tax Number vs VAT ID on Invoices

German VAT number format explained: DE plus nine digits, tax number formats by federal state, which number an invoice needs, and where both go in an e-invoice.

docutools.pro Editorial TeamEditorial Team

Key takeaways

  • A German VAT ID (USt-IdNr.) is DE followed by nine digits, for example DE123456789, issued by the Federal Central Tax Office (BZSt).
  • The tax number (Steuernummer) comes from the local tax office and has 10 or 11 digits in the state format, 13 in the federal format.
  • A domestic German invoice needs the supplier's tax number or VAT ID; EU supplies and EU B2B services need the VAT IDs of both parties.
  • The BZSt says the new business ID number (W-IdNr.) does not currently meet the invoice requirements of § 14 UStG.
  • In an XRechnung, the VAT ID goes in BT-31 and the tax number in BT-32; rule BR-DE-16 requires one of them.
On this page

The German VAT number format is DE followed by nine digits, for example DE123456789. This VAT ID (Umsatzsteuer-Identifikationsnummer, USt-IdNr.) comes from the Federal Central Tax Office (BZSt). The separate tax number (Steuernummer) comes from the local tax office. Under Section 14 of the German VAT Act (§ 14 UStG), a domestic invoice needs one of the two.

This guide is for foreign suppliers, finance teams and founders who need to read, check or set up German tax identifiers. It covers both formats, the cases where two VAT IDs are required, and the exact fields in an e-invoice. The full list of invoice details is in our guide to German invoice requirements.

What are the two German tax identifiers?

Germany uses two numbers for VAT purposes, and many invoices show only one of them.

Tax number (Steuernummer)VAT ID (USt-IdNr.)
Issued bythe local tax office (Finanzamt)the Federal Central Tax Office (BZSt), under § 27a UStG (opens in a new tab)
How you get itwith the tax registration of the businesson application; new businesses tick a box in the tax registration questionnaire
Formatdepends on the federal state, e.g. 21/815/08150DE plus nine digits, e.g. DE123456789
Per businessseveral are possible, e.g. one per economic activityone for the whole enterprise
Valid on a domestic invoiceyesyes
Valid for EU supplies and EU B2B servicesnoyes, for both parties (§ 14a UStG)

To apply for a VAT ID online, the BZSt asks for the tax office and the tax number of the business. A VAT ID therefore always presupposes a tax number. The BZSt sends the VAT ID by post only. If you lost the letter, you can request a copy of the original notice with the same application form; the number stays the same.

When does one number suffice and when are two VAT IDs required?

The type of transaction decides, not the size of the business.

TransactionNumber required on the invoiceLegal basis
Domestic supply with German VATsupplier's tax number or VAT ID§ 14(4) sentence 1 no. 2 UStG
Small business (Kleinunternehmer)tax number, VAT ID or small-business ID§ 34a sentence 1 no. 2 UStDV
Small-amount invoice up to EUR 250 grossno tax number needed§ 33 UStDV
Intra-community supply of goodsVAT IDs of supplier and customer§ 14a(3) sentence 2 UStG
B2B service under § 3a(2) UStG taxed in another EU countryVAT IDs of both parties, note "Steuerschuldnerschaft des Leistungsempfängers"§ 14a(1) sentence 3 UStG
Intra-community triangular transactionVAT IDs of both parties and a note on the triangular transaction§ 14a(7) UStG
Domestic reverse charge (§ 13b UStG)supplier's tax number or VAT ID, reverse-charge note§ 14a(5) UStG

Two details are easy to miss:

  • The simplified small-amount invoice under § 33 UStDV (opens in a new tab) does not apply to invoices for supplies under §§ 3c, 6a and 13b UStG. An intra-community supply of EUR 180 still needs both VAT IDs. Our guide to small-amount invoices explains the other limits.
  • For small businesses, § 19(1) sentence 2 UStG switches off the VAT ID requirements of § 14a(1) sentence 3, (3) sentence 2 and (7) sentence 2 UStG. Their minimum invoice content is set by § 34a UStDV (opens in a new tab), shown with a sample in our Kleinunternehmer invoice guide.

For domestic reverse charge, the law does not ask for the customer's VAT ID. The e-invoice rules do, as shown below.

What is the German tax number format by state?

The BZSt publishes a table that converts the state format (Standardschema der Länder) into the unified 13-digit federal format used for electronic transmission. F = tax office number, B = district number, U = distinguishing number, P = check digit.

Federal stateState formatFederal format (13 digits)
Baden-WürttembergFF/BBB/UUUUP28FF0BBBUUUUP
BavariaFFF/BBB/UUUUP9FFF0BBBUUUUP
BerlinFF/BBB/UUUUP11FF0BBBUUUUP
BrandenburgFFF/BBB/UUUUP3FFF0BBBUUUUP
BremenFF/BBB/UUUUP24FF0BBBUUUUP
HamburgFF/BBB/UUUUP22FF0BBBUUUUP
Hesse0FF/BBB/UUUUP26FF0BBBUUUUP
Mecklenburg-Western PomeraniaFFF/BBB/UUUUP4FFF0BBBUUUUP
Lower SaxonyFF/BBB/UUUUP23FF0BBBUUUUP
North Rhine-WestphaliaFFF/BBBB/UUUP5FFF0BBBBUUUP
Rhineland-PalatinateFF/BBB/UUUUP27FF0BBBUUUUP
SaarlandFFF/BBB/UUUUP1FFF0BBBUUUUP
SaxonyFFF/BBB/UUUUP3FFF0BBBUUUUP
Saxony-AnhaltFFF/BBB/UUUUP3FFF0BBBUUUUP
Schleswig-HolsteinFF/BBB/UUUUP21FF0BBBUUUUP
ThuringiaFFF/BBB/UUUUP4FFF0BBBUUUUP

Source: BZSt, "Aufbau Steuernummer im Bundesschema". For Hesse, the BZSt points out the leading zero in the state format.

Worked example (fictitious). Muster GmbH in Kiel has the tax number 21/815/08150. In the federal format for Schleswig-Holstein (21FF0BBBUUUUP) this becomes 2121081508150. On an invoice, use the number in the form the tax office gave you. The federal format is mainly for software and electronic filings.

Can the new business ID number replace the VAT ID on invoices?

No. Since November 2024, the BZSt has been assigning the business identification number (Wirtschafts-Identifikationsnummer, W-IdNr.) under § 139c of the Fiscal Code (AO) (opens in a new tab) in stages. It consists of DE, nine digits and a five-digit suffix, for example DE123456789-00001. Businesses that held a VAT ID on 30 November 2024 receive no separate letter: their W-IdNr. is the VAT ID plus -00001.

The BZSt FAQ answers the invoice question directly: "Nein, derzeit erfüllt die W-IdNr. nicht die in § 14 UStG aufgeführten Anforderungen" (no, the W-IdNr. does not currently meet the requirements of § 14 UStG). The BZSt also states that the W-IdNr. does not replace the VAT ID for EU trade. Keep using the tax number or the VAT ID on invoices until § 14 UStG changes.

Website legal notices are different. According to the BZSt, § 5 of the Digital Services Act (Digitale-Dienste-Gesetz) requires the VAT ID or the W-IdNr. in the legal notice (Impressum), if you have one of them.

Where do the numbers go in a German e-invoice?

German e-invoices follow the European standard EN 16931, in which every identifier has its own business term (BT):

FieldMeaningUBLCII
BT-31Seller VAT identifiercac:PartyTaxScheme/cbc:CompanyID with cac:TaxScheme/cbc:ID = VATram:SpecifiedTaxRegistration/ram:ID with schemeID="VA"
BT-32Seller tax registration identifier (tax number)cac:PartyTaxScheme/cbc:CompanyID with a TaxScheme ID other than VATram:SpecifiedTaxRegistration/ram:ID with schemeID="FC"
BT-48Buyer VAT identifiercac:AccountingCustomerParty/…/cac:PartyTaxScheme/cbc:CompanyIDram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID with schemeID="VA"
BT-63Seller tax representative VAT identifiercac:TaxRepresentativeParty/cac:PartyTaxScheme/cbc:CompanyIDram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID

A fragment of the seller party in a UBL XRechnung with both numbers (fictitious values):

<cac:PartyTaxScheme>
  <cbc:CompanyID>DE123456789</cbc:CompanyID>
  <cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:PartyTaxScheme>
<cac:PartyTaxScheme>
  <cbc:CompanyID>21/815/08150</cbc:CompanyID>
  <cac:TaxScheme><cbc:ID>FC</cbc:ID></cac:TaxScheme>
</cac:PartyTaxScheme>

The first block is BT-31, the second BT-32. Rule UBL-SR-13 accepts any TaxScheme ID except VAT for BT-32; the example uses FC, as the CII syntax does.

Which validation rules check the identifiers?

The KoSIT rules for XRechnung 3.0.2 (configuration 2026-08-31) check the numbers in several places:

  • BR-DE-16: if the VAT category codes S, Z, E, AE, K, G, L or M are used, BT-31, BT-32 or a seller tax representative (BG-11) must be present. This is the XML form of § 14(4) sentence 1 no. 2 UStG.
  • BR-CO-09: BT-31, BT-48 and BT-63 need a country prefix according to ISO 3166-1 alpha-2; Greece may use EL. A tax number placed in BT-31 breaks this rule because it starts with digits.
  • BR-S-02, BR-Z-02, BR-E-02: lines with the standard rate, zero rate or an exemption require BT-31, BT-32 or BT-63. This includes small businesses if they mark their exempt sales with category E.
  • BR-AE-02: with reverse charge, the invoice also needs the buyer's VAT ID (BT-48) or legal registration identifier (BT-47). Here the e-invoice asks for more than § 14a(5) UStG.
  • BR-O-02: for supplies not subject to VAT (category O), BT-31, BT-63 and BT-48 must not be present.

One error these rules catch: the tax number sits in the VAT ID field. Validation then reports BR-CO-09, although the invoice carries a number that is valid under § 14 UStG. The fix is to move the number to BT-32. The other required fields are listed in our guide to XRechnung mandatory fields.

How to check the identifiers with docutools.pro

  1. Open the German invoice requirements checker in "Checklist" mode. The item "Tax number (Steuernummer) or VAT ID (USt-IdNr.) of the issuer" is mandatory. The tool runs in your browser and does not check the format of the number.
  2. For an XRechnung or ZUGFeRD XML, use the import and click "Auto-check XML". The checker ticks the item if the XML contains a seller tax identifier.
  3. To test the rules, upload the XML file to the XRechnung validator. The "KoSIT validation" lists BR-DE-16, BR-CO-09 or BR-AE-02 with the rule code, and "Extracted data" shows the VAT IDs it read. The file is sent to our server for this; the free plan allows two uploads per day, and the Pro plan has no daily limit.
  4. To create an XRechnung with the generator, enter your VAT ID in the "VAT ID" field under "Company". The generator writes it as BT-31. It has no field for the tax number (BT-32), and for the VAT treatments "§ 13b reverse charge" and "Intra-community" it requires the VAT IDs of both parties.

Before you send the first invoice, compare it with our invoice requirements template. More guides on templates and special invoice types are in our invoicing in Germany guides.

Sources

Last reviewed: November 2026

This article is general information, not tax or legal advice.

Tags:VAT IDTax numberInvoice requirementsGermanyXRechnung

Tools for this article

Frequently asked questions

What does a German VAT number look like?

A German VAT identification number (Umsatzsteuer-Identifikationsnummer, USt-IdNr.) consists of the country prefix DE and nine digits, for example DE123456789. The Federal Central Tax Office (BZSt) issues it on application under § 27a UStG, in addition to the tax number from the local tax office. A business gets one VAT ID for its whole enterprise, even if it runs several trades.

Is a German tax number the same as a VAT number?

No. The tax number (Steuernummer) is assigned by the local tax office (Finanzamt) and its format depends on the federal state, for example 21/815/08150. The VAT ID is a separate number from the BZSt that starts with DE. On a domestic invoice either one is enough under § 14 UStG. For supplies and services to businesses in other EU countries, only the VAT ID works.

Which number goes on a self-billed invoice in Germany?

The supplier's number, not the number of the customer who issues the document. § 14(4) sentence 1 no. 2 UStG asks for the tax number or VAT ID assigned to the supplying business, and this also applies when the customer settles by self-billing (Gutschrift) under § 14(2) sentence 5 UStG. A customer who self-bills therefore needs the tax number or VAT ID of each supplier in its master data.

How long does it take to get a German VAT ID?

The BZSt gives no fixed period. It can only issue the VAT ID after the local tax office has registered the business for VAT and passed the data on, and it says this transfer can take several weeks. The number is sent by post only, never by e-mail or phone. New businesses apply by ticking the box in the tax registration questionnaire (Fragebogen zur steuerlichen Erfassung).

Does the customer's VAT ID have to be on every German invoice?

No. For domestic supplies, § 14 UStG only asks for the supplier's number. The customer's VAT ID is required under § 14a UStG for intra-community supplies of goods, for B2B services taxed in another EU country under § 3a(2) UStG, and for triangular transactions. In an e-invoice with reverse charge, rule BR-AE-02 also requires the buyer's VAT ID (BT-48) or legal registration ID (BT-47).

Topic hubMore on Invoicing in PracticeMandatory details, VAT, small businesses, archiving and workflows: practical guides to getting invoices right in Germany.