A commodity code is a 8-digit number for exporting goods inside and outside the European Union. For importing goods from outside the EU, the commodity code becomes a 10-digit number. All products are placed in a commodity code and the code will dictate the amount of duty and VAT the item is liable to be charged for and whether there are any import or export restrictions in place.