Is this ΑΦΜ written correctly?
Paste one Greek tax number (ΑΦΜ) or a list, one per line. You see whether each has nine digits and the right check digit, and you can download the list as a CSV. A right check digit does not show that the number is registered.
One number per line. Spaces, dots, the word ΑΦΜ and an EL prefix are ignored. Up to 5,000 lines; the list never leaves your browser.
What it checks
- Nine digits. An ΑΦΜ is nine digits and nothing else. Spaces, dots and dashes, the word ΑΦΜ in front and the EL prefix of a VAT number are ignored. With eight digits, the page tells you whether the number passes with a 0 in front, since Excel drops leading zeros.
- The check digit. The first eight digits are multiplied by 256, 128, 64, 32, 16, 8, 4 and 2, from left to right, and added up. The sum is divided by 11, and the remainder, taken mod 10 so that 10 becomes 0, must equal the ninth digit. This is the check in rule GR-R-003 of Peppol BIS Billing 3.0, the e-invoicing rules, where it is written out in the function TinVerification of the rules file.
- A whole list. Up to 5,000 numbers, one per line, with the numbers that appear twice marked and a CSV with the result for each line.
What it cannot tell you
It does not show that the number was ever given to anyone, or to whom. A random nine-digit number has about one chance in ten of passing the check. The check catches typing mistakes, such as a wrong digit or two digits swapped.
ΑΑΔΕ's own lookup, Αναζήτηση Βασικών Στοιχείων Μητρώου Επιχειρήσεων, is for businesses and people with business income: you register with your TAXISnet credentials, get special codes and call the service from a program. It is not an open form for everyone. For a number registered for trade within the EU, the European Commission's VIES says whether it is active: see the EU VAT number checker.
The numbers are checked in your browser. This page sends nothing to a server.
Questions
How many digits does an ΑΦΜ have?
Nine. The last one is the check digit, which follows from the first eight.
Why does my list from Excel have ΑΦΜ with eight digits?
Excel reads the column as numbers and drops the 0 at the start. Set the column to Text before you paste, or let the check tell you whether the number with a 0 in front is right.
Can I just fix the last digit when the check fails?
No. The check shows that something is wrong, not which digit. If you change only the last one, you get a well-formed number that may belong to someone else. Ask for the ΑΦΜ again.
What is the difference between an ΑΦΜ and a Greek VAT number?
The Greek VAT number for trade within the EU is the ΑΦΜ with EL in front, such as EL094014201. Article 215 of the EU VAT Directive lets Greece use EL instead of GR.