{
  "id": "it_eori",
  "kind": "pattern",
  "status": "draft",
  "name": "Italian EORI number",
  "doc": "EORI number issued in Italy by the customs agency (Agenzia delle Dogane e dei Monopoli) for customs procedures in the European Union. For a VAT-registered operator it is IT followed by the partita IVA (it_iva). The Italian Trade Agency says that private persons get IT followed by the fiscal code; other guides add that only its first 15 characters are used, so that the number keeps to the 17 characters of an EORI. The regexp accepts both forms.",
  "semantic_type": "eori",
  "is_pii": false,
  "categories": [
    "companies",
    "finances"
  ],
  "country": [
    "IT"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^IT(?:\\d{11}|[A-Z]{6}[0-9LMNP-V]{2}[ABCDEHLMPRST][0-9LMNP-V]{2}[A-Z][0-9LMNP-V]{3})$",
  "examples": [
    {
      "value": "IT00743110157",
      "description": "Built from the python-stdnum test value of it_iva",
      "valid": true
    },
    {
      "value": "IT61248020200",
      "description": "Built from a synthetic it_iva number",
      "valid": true
    },
    {
      "value": "IT0074311015",
      "description": "Ten digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.ice.it/it/sites/default/files/inline-files/Codice%20EORI_istruzioni%20pratiche_DEF.pdf"
    },
    {
      "type": "doc",
      "url": "http://ec.europa.eu/taxation_customs/dds2/eos/eori_validation.jsp"
    }
  ],
  "translations": {
    "it": {
      "name": "Codice EORI",
      "doc": "IT seguito dalla partita IVA per i soggetti IVA, o dal codice fiscale per i privati."
    },
    "ru": {
      "name": "Номер EORI Италии",
      "doc": "IT и номер плательщика НДС (partita IVA); у частных лиц - IT и налоговый код."
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/IT/finances/it_eori.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/IT/finances/it_eori.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IT/finances/it_eori.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/it_eori",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/it_eori.json"
  }
}