The Harmonized System, maintained by the World Customs Organization, classifies goods into chapters, headings and subheadings. The first six digits are the same in every member country; countries add more digits for their own tariff lines.

The code decides the duty rate, whether licences or certificates are needed, and whether a free-trade agreement applies. A wrong code can mean overpaying duty, penalties or a held shipment.

Classification follows legal rules of interpretation, so when in doubt importers can ask a customs broker or seek a binding ruling from customs.