---
id: "gr_vat"
kind: "datatype"
status: "draft"
is_pii: true
categories: ["finances"]
country: ["GR"]
langs: ["el"]
quality: 93
url: "http://registry.apicrafter.io/datatype/gr_vat"
---

# Greek tax number (AFM) (`gr_vat`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Αριθμός Φορολογικού Μητρώου (ΑΦΜ), the 9-digit tax registration number of individuals and businesses in Greece. With the EL prefix it is the VAT number (ΦΠΑ). The last digit is a check digit.

- Parent datatype: `vatin`
- Personal data (PII): yes
- Categories: Finances and banking (finances)
- Countries: Greece (GR)
- Languages: Greek (el)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:(?:EL|GR)[ -]?)?\d{9}$
```

## Examples

- `072830684` — Synthetic number with a valid check digit
- `652909339` — Synthetic number with a valid check digit
- `0728306847` (invalid example) — One character too many

## Mappings

- purview: `Greek Tax Identification Number`, `Greece tax identification number`, `EU Tax Identification Number (TIN)`, `EU Tax identification number`
- schema_org: `taxID`, `vatID`
- stdnum: `gr.vat`

## Supported by tools

- `awsglue`
- `azureailanguage`
- `dataprep`
- `microsoftpurview`
- `pythonstdnum`
- `snowflake`

## Translations

- el: Αριθμός Φορολογικού Μητρώου (ΑΦΜ)

## Sources

- other: <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.gr.vat.html>
- other: <https://docs.dataprep.ai/user_guide/clean/clean_gr_vat.html>

## Quality

Score 93/100. Missing: authoritative source link.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/gr_vat.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GR/finances/gr_vat.yaml>
