{
  "id": "de_stnr",
  "kind": "datatype",
  "status": "draft",
  "name": "German tax number (Steuernummer)",
  "doc": "Steuernummer (St.-Nr.), the number that a regional German tax office gives to taxable individuals and organisations. The regional form has 10 or 11 digits and is usually written with slashes; the form that is unique in all of Germany has 13 digits. It holds the tax office number, a district number, a serial number and a check digit. The tax identification number (Steuer-ID) and, for businesses, the W-IdNr. are replacing it.",
  "is_pii": true,
  "categories": [
    "finances"
  ],
  "country": [
    "DE"
  ],
  "langs": [
    "de"
  ],
  "classification": "identifier",
  "regexp": "^(?:\\d{2,3}[/ ]\\d{3,4}[/ ]\\d{4,5}|\\d{10,11}|\\d{13})$",
  "examples": [
    {
      "value": "31 5565/0251",
      "description": "Synthetic number in the documented format",
      "valid": true
    },
    {
      "value": "810 576 0864",
      "description": "Synthetic number in the documented format",
      "valid": true
    },
    {
      "value": "31/556/50251",
      "description": "The first example in its printed form",
      "valid": true
    },
    {
      "value": "315565025",
      "description": "One character too few",
      "valid": false
    }
  ],
  "mappings": {
    "presidio": "DE_TAX_NUMBER",
    "schema_org": "taxID",
    "stdnum": "de.stnr"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://de.wikipedia.org/wiki/Steuernummer"
    },
    {
      "type": "other",
      "url": "https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.de.stnr.html"
    },
    {
      "type": "other",
      "url": "https://docs.dataprep.ai/user_guide/clean/clean_de_stnr.html"
    }
  ],
  "translations": {
    "de": {
      "name": "Steuernummer (St.-Nr.)"
    },
    "ru": {
      "name": "Налоговый номер Германии (Steuernummer)",
      "doc": "Номер, который региональная налоговая инспекция присваивает налогоплательщику, - 10-11 цифр в региональной форме или 13 цифр в общефедеральной."
    }
  },
  "detected_by": {
    "tools": [
      "dataprep",
      "presidio",
      "pythonstdnum"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/DE/finances/de_stnr.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/DE/finances/de_stnr.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/DE/finances/de_stnr.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/de_stnr",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/de_stnr.json"
  }
}