A commodity code (also called a tariff code) is a similar system used by EU and UK customs to describe goods being imported. Unlike HS codes, commodity codes contain 10 or more digits. Luckily, the first six digits are the item's HS code. Only the final four digits are different.