---
id: "national_tariff_code"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["industry", "shipping"]
langs: ["common"]
quality: 80
url: "https://registry.apicrafter.io/datatype/national_tariff_code"
---

# National tariff line code (HS-based, 8 or 10 digits) (`national_tariff_code`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Goods code of a national or regional customs tariff that extends the six-digit subheading of the Harmonized System (hs_code) with national digits. Countries usually set duties at the eight-digit level and often add a statistical suffix for ten digits in total. Examples are the EU Combined Nomenclature (eu_cn_code) and TARIC (eu_taric_code), the US HTS (us_hts_number), the EAEU TN VED (tnved) and the Indian ITC (HS). The same digits mean different goods in different tariffs, so use the record of the tariff when the country is known. The regexp accepts digits without separators, as trade databases write them.

- Parent datatype: `hs_code`
- Personal data (PII): no
- Categories: Industry (industry), Shipping and delivery (shipping)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^\d{8}(?:\d{2})?$
```

## Examples

- `01012100` — Eight digits: pure-bred breeding horses in the EU Combined Nomenclature
- `0101210010` — Ten digits: US HTS statistical reporting number 0101.21.00.10 without dots
- `010121` (invalid example) — Six digits: the HS subheading
- `010121001` (invalid example) — Nine digits

## Translations

- ru: Код национальной товарной номенклатуры (на основе ГС, 8 или 10 знаков)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Harmonized_System>
- doc: <https://www.wcoomd.org/en/topics/nomenclature/overview/what-is-the-harmonized-system.aspx>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/national_tariff_code.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/industry/national_tariff_code.yaml>
