{
  "id": "eu_cn_code",
  "kind": "datatype",
  "status": "draft",
  "name": "EU Combined Nomenclature (CN) code",
  "doc": "Eight-digit goods code of the Combined Nomenclature, the goods classification of the European Union for its common customs tariff and its foreign trade statistics. The CN is Annex I to Council Regulation (EEC) No 2658/87 and is updated every year. The first six digits are the HS subheading (hs_code) and the last two are EU subdivisions. The official text groups the digits as 1806 10 15; databases often write them without spaces. TARIC codes (eu_taric_code) add two more digits.",
  "is_pii": false,
  "categories": [
    "industry",
    "shipping"
  ],
  "country": [
    "EU"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^\\d{4} ?\\d{2} ?\\d{2}$",
  "examples": [
    {
      "value": "1806 10 15",
      "description": "Cocoa powder with added sugar, containing no sucrose or less than 5 % sucrose by weight",
      "valid": true
    },
    {
      "value": "18061015",
      "description": "The same code without spaces",
      "valid": true
    },
    {
      "value": "01012100",
      "description": "Horses, pure-bred breeding animals",
      "valid": true
    },
    {
      "value": "1806 10",
      "description": "Six digits: the HS subheading",
      "valid": false
    },
    {
      "value": "0101210000",
      "description": "Ten digits: a TARIC code",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://taxation-customs.ec.europa.eu/customs-4/calculation-customs-duties/customs-tariff/combined-nomenclature_en"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Combined_Nomenclature"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/EU/industry/eu_cn_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/EU/industry/eu_cn_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/EU/industry/eu_cn_code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/eu_cn_code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/eu_cn_code.json"
  }
}