Import duty is applied by customs of a country. Import duty is calculated based upon the tariff code of each product contained within the consignment. Each country sets varying levels of import duty depending on the product. Exemptions do apply to certain products and types of shipments, for example gifts and personal effects are often exempt from import duty if they are under a certain value threshold.