Partita IVA Validator (Italy)
Paste partite IVA, with or without the IT prefix, to check the digits, see the office code and get the VIES format.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Paste numbers
One partita IVA per line.
- 2Check
See valid or not for each.
- 3Read details
Office code and VIES format.
- 4Export
Download the results as CSV.
About this tool
The Italian VAT number, partita IVA, identifies businesses and self-employed people for VAT. It has 11 digits: a 7-digit progressive number, a 3-digit code of the tax office or province that issued it, and a check digit calculated with an algorithm similar to Luhn. For EU transactions, it is written with the prefix IT. This validator checks numbers in batch, decodes the office code and gives the VIES format.
Who this is for
Accountants, purchasing and invoicing teams, developers building forms and anyone checking a supplier.
The structure
The first seven digits identify the taxpayer within the office. Digits 8 to 10 are the office code: 001 to 100 for the provincial offices, 120 and 121 for special cases, 888 for numbers assigned by the central office to some entities and 999 for non-resident taxpayers identifying directly. The eleventh digit is the check digit.
The check digit
Add the digits in odd positions (1st, 3rd, 5th, 7th, 9th). For the digits in even positions, double each one and subtract 9 if the result is over 9, then add them. The check digit is 10 minus the last digit of the total, or 0 if the last digit is 0. A single wrong digit always changes the result.
Companies and individuals
For companies, the partita IVA usually coincides with their numeric codice fiscale. Self-employed people have both a partita IVA and their personal alphanumeric codice fiscale.
Electronic invoices
Italian e-invoices sent through the SdI must contain the correct partita IVA or codice fiscale of both parties; invoices with invalid numbers are rejected. Validating your client records avoids rejections.
VIES
For transactions with other EU countries, check that the number is registered in the VIES database of the European Commission, using the IT prefix. A valid format is not enough: the business must have opted for intra-EU transactions.
What the check does not prove
A valid check digit does not show that the number is active. The Agenzia delle Entrate offers an online verification service for active numbers, and the business register shows company details.
Batch use
Paste numbers one per line; spaces, dots and the IT prefix are ignored. Export the results.
Common errors
Typing mistakes in long numbers, missing leading zeros (a partita IVA always has 11 digits, even if it starts with 0) and confusion with the 16-character personal codice fiscale.
Opening a partita IVA
A new partita IVA is assigned when you file the start-of-activity declaration with the Agenzia delle Entrate, online or through an intermediary, within 30 days of starting.
Worked example
12345678903 passes the check digit test: the odd digits sum to 25 and the doubled even digits to 22, total 47, so the check digit is 3. 12345678901 fails. IT 07643520567 is valid, with office code 056.
Limits
A format and check digit test, not an official confirmation that a number is active.
Worked example
12345678903 passes the check digit test, while 12345678901 fails.
Quick facts
- Category: Legal & Government
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: DPR 633/1972 art. 35 and DM 23 December 1976 (partita IVA: 7-digit taxpayer number, 3-digit office code 001-100 province or 120, 121, 888, 999, check digit with the Luhn-type algorithm)
Frequently asked questions
How many digits does a partita IVA have?
11 digits.
How is the check digit calculated?
With an algorithm similar to Luhn on the first ten digits.
What do digits 8 to 10 mean?
The code of the office or province that issued the number.
Does a valid number mean the business is active?
No; use the Agenzia delle Entrate verification or VIES.
How do I write it for EU transactions?
With the prefix IT, for example IT07643520567.
Is my data stored?
No. It stays in your browser.
