{
  "id": "cif",
  "kind": "datatype",
  "status": "stable",
  "name": "CIF por nombre de campo",
  "doc": "ES datatype for 'CIF por nombre de campo' (cif) from rules in context 'finances'. The CIF (Código de Identificación Fiscal) is a Spanish tax identification code assigned to companies and legal entities. It consists of 9 characters: one letter from the set A-H, J-N, P-S, U-W (excluding I, O, and certain letters), followed by 7 digits, and ending with one alphanumeric character (letter or digit) that serves as a check digit.",
  "is_pii": true,
  "categories": [
    "finances"
  ],
  "country": [
    "ES"
  ],
  "langs": [
    "es"
  ],
  "classification": "identifier",
  "regexp": "^[ABCDEFGHJKLMNPQRSUVW][0-9]{7}[A-Z0-9]$",
  "examples": [
    {
      "value": "A12345674",
      "description": "Valid CIF format with letter A, 7 digits, and check character",
      "valid": true
    },
    {
      "value": "B98765432",
      "description": "Another valid CIF format example",
      "valid": true
    }
  ],
  "mappings": {
    "orgid": "ES-NIF",
    "schema_org": "taxID",
    "stdnum": "es.cif"
  },
  "detected_by": {
    "tools": [
      "databricks",
      "dataprep",
      "metacrafter",
      "pythonstdnum"
    ],
    "metacrafter_rules": [
      {
        "rule": "esciffield",
        "type": "field",
        "match": "text",
        "file": "es/es_tax.yaml"
      },
      {
        "rule": "escifvalue",
        "type": "data",
        "match": "ppr",
        "file": "es/es_tax.yaml"
      }
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "negative example",
      "source link",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/ES/finances/cif.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/ES/finances/cif.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/ES/finances/cif.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/cif",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/cif.json"
  }
}