What decides the amount of customs duty to be paid?

The amount of customs duty to be paid is based on the so-called customs tariff, which is uniform throughout the EU.