{
  "id": "ar_cuil",
  "kind": "datatype",
  "status": "draft",
  "name": "Argentine CUIL (Código Único de Identificación Laboral)",
  "doc": "Labour identification code that ANSES, the Argentine social security agency, gives every worker and benefit recipient: a two-digit prefix (20 or 27 by the sex on the identity document, 23 or 24 when the check digit would not fit), the eight digits of the DNI and a check digit, written 20-25218726-0 or without the hyphens. It has the format and the modulo 11 check digit of the CUIT tax number (cuit), and a person's CUIT is the same number; companies have a CUIT (30, 33, 34) and no CUIL. Payrolls, registers of officials and contractor lists carry it.",
  "parent": "cuit",
  "is_pii": true,
  "categories": [
    "pii",
    "persons",
    "finances"
  ],
  "country": [
    "AR"
  ],
  "langs": [
    "es"
  ],
  "classification": "identifier",
  "regexp": "^(?:20|23|24|27)-?\\d{8}-?\\d$",
  "examples": [
    {
      "value": "20-00000019-2",
      "description": "a made-up number with a valid check digit",
      "valid": true
    },
    {
      "value": "27000000278",
      "description": "without hyphens",
      "valid": true
    },
    {
      "value": "23-00000033-7",
      "valid": true
    },
    {
      "value": "30-70783660-8",
      "description": "a company prefix: cuit",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://es.wikipedia.org/wiki/C%C3%B3digo_%C3%9Anico_de_Identificaci%C3%B3n_Laboral"
    }
  ],
  "translations": {
    "es": {
      "name": "Código Único de Identificación Laboral (CUIL)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "arcuilbyname",
        "type": "field",
        "match": "regex",
        "file": "ar_country/ar_caba.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/AR/persons/ar_cuil.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/AR/persons/ar_cuil.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AR/persons/ar_cuil.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ar_cuil",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ar_cuil.json"
  }
}