Back: Codes and identifiers
03

The structure and meaning of the tax number

The Hungarian tax number has 11 digits, in three parts: XXXXXXXX-Y-ZZ. Each part encodes something about the company, explained below.

XXXXXXXX
Base number (1–8)
The taxpayer's unique identifier: 7 significant digits + 1 check digit (the 8th). This base number also appears in the EU VAT number.
Y
VAT code (9th, the “middle” one)
Shows the VAT status: this decides how the company can invoice (see below).
ZZ
County code (10–11)
The code of the county / tax office of the registered seat, jurisdiction information.

All values of the VAT code (middle digit)

1
Exempt / not liable to VAT
Subjectively exempt (AAM), or carrying out only exempt (objectively exempt, TAM) activities, or outside the scope of VAT. Cannot pass on VAT: its invoices show no VAT charged (only an AAM/TAM/ÁTK designation). The system restricts such an issuer to these.
2
General VAT payer
Taxed under the normal rules, invoices with the rates (27 / 18 / 5 / 0%). Most companies are like this.
3
EVA payer
A payer of the simplified entrepreneurial tax (EVA). EVA ended in 2020, so it no longer occurs on new tax numbers, you only see it in old or archived data.
4
VAT group member
A member of a VAT group (related businesses forming a single VAT taxable person).
5
VAT group's shared number
The group itself as a single taxable person (group identification number).

Only the invoice of a taxable person with VAT code 2 (and historically 3) can contain VAT charged. So a company with VAT code …-2-… is a “VAT payer”, and a company with …-1-… is “subjectively exempt”.

Check digit (the 8th digit of the base number)

The 8th digit is the weighted check sum of the first seven: the weights are 9, 7, 3, 1, 9, 7, 3 in order, and check = (10 − (sum mod 10)) mod 10. This catches a mistyped tax number offline, but it does not mean the company exists. Existence and the company details come from NAV queryTaxpayer, and the system uses it when looking up the customer and your own company.

County code (digits 10–11)

The code of the county / tax office of the registered seat, e.g. Budapest: 41, 42, 43, Pest county: 13/33. This is purely jurisdiction information (where the company is registered), it does not affect invoicing or VAT.

EU VAT number

The number used for intra-EU transactions: HU + the 8-digit base number (e.g. 12345678 → HU12345678). The system derives it automatically from the tax number. A company with code 2 (VAT payer) usually has one, while a subjectively exempt company does not by default, but can request one for intra-Community acquisitions.

Art. (Act on the Rules of Taxation) VAT Act §§ 257/B–258