{
  "id": "fr_nif",
  "kind": "datatype",
  "status": "draft",
  "name": "French tax identification number (numéro fiscal)",
  "doc": "Numéro fiscal de référence, also called NIF or SPI number, the 13-digit number that the French tax administration gives to each person who must report taxes. It starts with 0, 1, 2 or 3 and the last three digits are a check key.",
  "is_pii": true,
  "categories": [
    "finances",
    "pii"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "fr"
  ],
  "classification": "identifier",
  "regexp": "^[0-3]\\d ?\\d{2} ?\\d{3} ?\\d{3} ?\\d{3}$",
  "examples": [
    {
      "value": "3251768311393",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "1351473348477",
      "description": "Synthetic number with a valid check digit",
      "valid": true
    },
    {
      "value": "32 51 768 311 393",
      "description": "The first example in its printed form",
      "valid": true
    },
    {
      "value": "32517683113937",
      "description": "One character too many",
      "valid": false
    }
  ],
  "mappings": {
    "dpv": "pd:OfficialID",
    "purview": [
      "France Tax Identification Number (numéro SPI.)",
      "France tax identification number",
      "EU Tax Identification Number (TIN)",
      "EU Tax identification number"
    ],
    "schema_org": "taxID",
    "stdnum": "fr.nif"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://fr.wikipedia.org/wiki/Num%C3%A9ro_d%27Immatriculation_Fiscale#France"
    },
    {
      "type": "doc",
      "url": "https://ec.europa.eu/taxation_customs/tin/tinByCountry.html"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.fr.nif.html"
    },
    {
      "type": "other",
      "url": "https://docs.dataprep.ai/user_guide/clean/clean_fr_nif.html"
    }
  ],
  "translations": {
    "fr": {
      "name": "Numéro fiscal de référence"
    }
  },
  "detected_by": {
    "tools": [
      "amazonmacie",
      "awsglue",
      "azureailanguage",
      "databricks",
      "dataprep",
      "microsoftpurview",
      "pythonstdnum",
      "snowflake"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/FR/finances/fr_nif.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/finances/fr_nif.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/finances/fr_nif.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/fr_nif",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/fr_nif.json"
  }
}