Grécia AFM Validador de número fiscal
Paste Greek AFM numbers to check the length and the check digit, and get each valid number in the EL VAT format used for EU invoices.
Roda no seu navegador. Seus arquivos nunca saem do seu dispositivo. Veja como conferir
…
Como fazer
- 1Coloque os números
Um AFM por linha, com ou sem EL.
- 2Leia os resultados.
Cada AFM é marcado como aprovado ou rejeitado.
- 3Corrigir erros
Utilize o dígito de verificação esperado para números falhados.
- 4Copy VAT numbers
Each valid AFM shows its EL VAT form.
- 5Exportação
Baixe a tabela como CSV.
Sobre esta ferramenta
The AFM (Αριθμός Φορολογικού Μητρώου) is the Greek tax registration number, issued by the Independent Authority for Public Revenue (AADE) to every individual and business with tax obligations in Greece. It has nine digits, and the last one is a check digit. Businesses use the same number as their VAT number with the prefix EL, not GR, in EU trade. Invoices, myDATA submissions, contracts and bank accounts all require it, and a wrong digit can make an invoice invalid for the buyer's VAT deduction. This validator checks lists of AFM numbers with the official method, shows the expected check digit for errors and gives the EL VAT form.
Who this is for
Accountants, e-shops issuing invoices to Greek businesses, payroll staff and developers of invoicing software.
The check digit
Each of the first eight digits is multiplied by a power of two: 256, 128, 64, 32, 16, 8, 4 and 2, from left to right. The products are added, the sum is divided by 11 and the remainder is taken modulo 10. The result must equal the ninth digit. For 090000045, the first eight digits are 0, 9, 0, 0, 0, 0, 0 and 4, so the sum is 9 × 128 + 4 × 2 = 1,160, which leaves 5 when divided by 11, matching the last digit 5.
Who has an AFM
Every Greek tax resident, foreign residents with income or property in Greece, companies, sole traders and other legal entities. Foreigners usually get one at a tax office (ΔΟΥ) or online through a representative, before opening a bank account or signing a lease.
The EL VAT number
For intra-EU trade, the Greek VAT number is EL followed by the AFM. Greece uses EL, from Ellas, instead of the ISO code GR. Before applying reverse charge on a sale to a Greek business, check the VAT number in the European Commission's VIES system.
Invoices and myDATA
Since the introduction of myDATA, invoices are transmitted to AADE electronically, and the buyer's AFM is a key field. A wrong AFM means the invoice is not matched to the buyer, who may lose the expense or VAT deduction. Validating at data entry prevents this.
Batch use
Paste a column of numbers, with or without the EL prefix. Each line shows the result and, for errors, the expected check digit. Export the table as CSV.
Test numbers
The sample button creates numbers with valid check digits for software tests. They may belong to real taxpayers, so never use them on real invoices.
Limits
A valid check digit does not prove that a number was issued or is active. Use AADE's registry services or VIES for confirmation.
Exemplo prático
090000045 is valid: 9 × 128 + 4 × 2 = 1,160, which leaves 5 when divided by 11, matching the last digit.
Resumo rápido
- Categoria: Jurídico e governo
- Funciona no seu navegador, sem cadastro e sem envio de arquivos.
- O que você digita fica no seu dispositivo.
- Disponível em inglês.
- Conteúdo revisado pela última vez:
- Fonte oficial: AADE, structure of the Greek tax registration number (AFM, 9 digits with a mod 11 check digit) and the EL VAT prefix
Perguntas frequentes
Quantos dígitos tem um AFM grego?
Nove dígitos, o último dos quais é um dígito de verificação.
Como é calculado o dígito de verificação do AFM?
Os primeiros oito dígitos são ponderados por 256 até 2, somados, e a soma modulo 11 e depois modulo 10 deve ser igual ao último dígito.
Why does the Greek VAT number start with EL?
The EU uses EL, from Ellas, for Greece in VAT numbers instead of GR.
Os estrangeiros precisam de um AFM?
Sim, para abrir uma conta bancária, alugar, trabalhar ou comprar imóveis na Grécia.
A ferramenta pode confirmar o nome do detentor?
Não, só verifica o formato e o dígito de verificação.
Os números foram carregados?
Não, estão registados no teu navegador.
