A Greek VAT number is the EU VAT identifier for a Greek business: the prefix EL followed by the nine-digit AFM. It appears on cross-border invoices and is checked through the EU VIES system. Before applying reverse-charge or saving a supplier’s details, you can confirm the number is well-formed using the official modulus-11 check, run here entirely in your browser.
How it works
The number is EL plus nine digits, and the ninth digit is a check digit on the first eight:
- Confirm (or add) the
ELprefix and isolate the nine AFM digits. - Weight the first eight digits by descending powers of two:
256, 128, 64, 32, 16, 8, 4, 2. - Sum the eight products.
- Compute
(sum mod 11) mod 10. - That value must equal the ninth digit.
This is the same algorithm as the domestic AFM check — the VAT number only adds the EL prefix.
Example
Validate EL090000045. The nine AFM digits are 090000045; the first eight give a weighted sum of 1160. 1160 mod 11 = 5, and 5 mod 10 = 5, which matches the ninth digit 5. With the EL prefix present and the check digit correct, the VAT number is valid.
Notes
A valid result confirms the VAT number is well-formed — not that it is active. For reverse-charge certainty, verify it in VIES. Greece uses EL, not GR, as its VAT prefix. Everything runs locally.