Customs duty is levied on imported goods at a rate set by the importing country’s tariff. Rates are linked to the HS code, and the customs value (usually the transaction value plus certain costs such as freight and insurance, depending on the country) is the base.
Preferential rates under a trade agreement apply only when the goods meet the rules of origin and the proof is produced. Without it, the general or most-favoured-nation rate normally applies.
Duty can also come from other measures. Anti-dumping and countervailing duties, safeguards and tariff quotas are charged on top of the normal rate in some cases.

