Grecia AFM Validador del 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.

Se ejecuta en tu navegador. Tus archivos nunca salen de tu dispositivo. Cómo comprobarlo

…

Cómo hacerlo

  1. 1
    Pegar los números

    Un AFM por línea, con o sin EL.

  2. 2
    Lea los resultados

    Cada AFM está marcado como aprobado o no.

  3. 3
    Corregir errores

    Utilice el dígito de verificación esperado para números fallidos.

  4. 4
    Copy VAT numbers

    Each valid AFM shows its EL VAT form.

  5. 5
    Exportación

    Descarga la tabla como CSV.

Sobre esta herramienta

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.

Ejemplo práctico

090000045 is valid: 9 × 128 + 4 × 2 = 1,160, which leaves 5 when divided by 11, matching the last digit.

Datos rápidos

Preguntas frecuentes

¿Cuántos dígitos tiene un AFM griego?

Nueve dígitos, el último de los cuales es un dígito de verificación.

¿Cómo se calcula el dígito de verificación del AFM?

Los primeros ocho dígitos se ponderan en 256 hasta 2, sumados, y la suma modulo 11 y luego modulo 10 debe ser igual al ú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.

¿Necesitan un AFM los extranjeros?

Sí, para abrir una cuenta bancaria, alquilar, trabajar o comprar propiedades en Grecia.

¿Puede la herramienta confirmar el nombre del poseedor?

Sólo comprueba el formato y el dígito de verificación.

¿Están cargados los números?

No, están registrados en tu navegador.

Totalmente gratisSin coste, sin registro
Tus archivos son privadosTodo se ejecuta en tu navegador
Fácil en tu idiomaDisponible en muchos idiomas