Technical
9 min read23 December 2025

Difference Between Tax Code and VAT Number: Complete Guide

What is the difference between Italian Tax Code and VAT Number? When are they needed, how to get them and main differences explained simply.

Technical aspects of the Tax Code
Technical aspects of the Tax Code

What the difference between tax code and VAT number really means

The difference between tax code and VAT number trips up almost everyone who deals with the Italian system for the first time. They look similar, they both come from the same office, and people use the words interchangeably. They are not the same thing.

Here is the short version. The tax code (codice fiscale) identifies you as a person. The VAT number (partita IVA) identifies you as someone running an economic activity. One is about who you are; the other is about what you do for a living. Mix them up on a contract or an invoice and you will hear about it from your accountant.

Tax Code

RSSMRA85C15H501S

For every individual

VAT Number

IT12345678901

For business activity

The tax code, explained

The codice fiscale is the unique identifier the Italian state attaches to every person who lives in, works in, or has dealings with Italy. It is sixteen characters long, and unlike the VAT number, it is not random — it is built from your own personal data.

Break it apart and you get a small biography encoded into letters and numbers:

  • Three letters drawn from your surname
  • Three letters from your first name
  • Five characters encoding your date of birth and sex (a letter marks the month)
  • Four characters for the town or foreign country where you were born
  • One final check character that validates the whole string

Because it is derived from fixed facts about you, it never changes. You get it once and you keep it for life. Italian citizens receive it automatically at birth; foreign residents are assigned one when they register with the local authorities, request residency, or open a relationship with the public administration.

A point most people miss

The tax code is free and permanent. It carries no obligations on its own — having one does not mean you owe anything. It is simply how the state knows it is you. You can rebuild yours from your personal details with our tax code calculator, or run an existing one through the code checker to confirm it is formally valid.

Want the full anatomy, character by character? We pull it apart in our guide to the tax code structure.

The VAT number, explained

The partita IVA is a different animal. It is an eleven-digitnumeric code — no letters at all — and it identifies entities that carry out an economic activity: freelancers, sole traders, companies, associations that sell or invoice.

The structure is plainer than the tax code, because it carries no personal information:

  • First 7 digits — a sequential identifier assigned by the office
  • Digits 8 to 10 — the code of the issuing tax province
  • Final digit — a check digit

That sequential nature matters. The VAT number is handed out in order, not calculated from who you are, so two people with nearly identical names get completely unrelated numbers. And it is not for everyone. You only get one when you actually open an economic activity, and you can close it again when you stop trading — something you can never do with a tax code.

The catch? A VAT number is free to open, but it comes with a tail of duties: VAT returns, bookkeeping, social-security contributions, periodic filings. The number is the easy part. The obligations that follow it are the real commitment.

The core differences, side by side

Strip away the jargon and the contrast is sharp. One is universal and permanent; the other is conditional and closable. The table below lays it out:

FeatureTax CodeVAT Number
Format16 alphanumeric characters11 numeric digits
Assigned toIndividualsBusinesses and professionals
MandatoryFrom birthOnly for economic activity
DurationPermanentCan be closed
Issued byRevenue AgencyRevenue Agency
Main usePersonal tax identificationCommercial transactions

Don't confuse the two

The rule that clears up most of the confusion: everyone has a tax code, but only people with a business activity have a VAT number. So a VAT number always sits alongside a tax code — never instead of it.

One more nuance worth holding onto. Both identifiers are issued by the same authority, the Italian Revenue Agency (Agenzia delle Entrate). The tax code itself rests on a much older foundation — it was introduced by Presidential Decree 605/1973, the law that still defines how the codice fiscale works today.

When do you actually need each one?

This is where the theory becomes practical. You will reach for one or the other constantly once you live or do business in Italy — and knowing which is which saves real headaches.

You need your tax code for

  • Personal income tax returns (the 730 or Redditi forms)
  • Opening a bank account
  • Signing an employment contract as an employee
  • Buying or renting property
  • Registering with the national health service and getting a health card
  • Utility contracts — electricity, gas, internet
  • Pretty much any interaction with the public administration

You need a VAT number for

  • Issuing invoices for goods or services
  • Filing VAT returns
  • B2B commercial transactions
  • Importing and exporting across borders
  • Practising a regulated profession — lawyers, doctors, consultants, and so on

Notice the pattern. The first list is the stuff of ordinary life. The second is the stuff of running a business. If money is changing hands as part of a self-employed activity, the VAT number shows up; otherwise, the tax code does the work.

The special cases that cause the most confusion

Now for the messy edges — the situations where the neat split between "person" and "business" gets blurry. These are exactly the cases people email accountants about.

Freelancers and the self-employed

A freelancer holds both: a personal tax code that never goes away, and a VAT number for the professional activity. Here is the twist that surprises people — for a sole trader, the eleven digits of the VAT number are often the same eleven charactersas the numeric core of their position. One person, two roles, two identifiers.

Companies and legal entities

Companies (Srl, SpA, Snc, and the rest) do not have a sixteen-character alphanumeric code, because they were never born and have no surname. Instead they get an eleven-digit numeric tax code that, in most cases, coincides with their VAT number. For a company, the two numbers are usually one and the same.

Foreign companies operating in Italy

A foreign company can be required to take an Italian VAT number if it carries out taxable transactions in Italy — even with no office, no staff, and no physical footprint here. The activity triggers the obligation, not the address.

VAT numbers in the EU

For cross-border trade inside the EU, an Italian VAT number is prefixed with IT (for example, IT12345678901). That is what lets a counterpart validate it through the EU VIES system before doing business.

Frequently asked questions

Can my VAT number and my tax code be identical?

For individuals and sole traders, yes — the eleven numeric digits often line up. For a company, the numeric tax code and the VAT number are typically one and the same number. They overlap by design, which is part of why people confuse the two in the first place.

What is the practical difference between tax code and VAT number?

The tax code identifies you as a person and you have it from birth or registration, for life, for free, with no strings attached. The VAT number identifies an economic activity, you only open it when you start trading, and it brings tax and accounting obligations with it. One is about identity; the other is about doing business.

Do I need a VAT number just to work in Italy?

No. If you are an employee, your employer handles the tax side and your personal tax code is enough. You only need a VAT number if you work for yourself — invoicing clients, running a business, or practising a profession independently.

Where do both numbers come from?

Both are issued by the Italian Revenue Agency (Agenzia delle Entrate). The tax code is assigned automatically to citizens at birth and to foreign residents on registration; the VAT number is requested when you open an economic activity.

Can I check whether a tax code or VAT number is valid?

You can check the formal validity of a tax code with our verification tool, and if you only have the code and want to read the data back out of it, the reverse lookup decodes it for you. For a VAT number used in the EU, the official VIES portal confirms it is active.

Does a tax code ever expire or get cancelled?

The tax code is permanent and does not expire. A VAT number, by contrast, can be closed when you stop your activity — and reopened later if you start again. That closability is one of the cleanest lines between the two.

I am a foreigner — will I get an Italian tax code?

Almost certainly. Renting a flat, opening a bank account, signing a work contract, or registering for healthcare all require one. We cover the process in detail in our guide on the tax code for foreigners, and the paperwork side in documents for the tax code.

Still unsure about the difference between tax code and VAT number?

Start with your own codice fiscale — generate it in seconds from your personal details.

Calculate Now

Official Sources