Customs clearance, duties and compliance made clear.
Understand how goods cross borders: the clearance process, the HS code, the customs value, duties and taxes, origin and the rules that apply to your shipments.
Written by a forwarder with a doctorate in transport law. Includes a clearance flow explorer, a duty and tax calculator with preferential origin, and an HS chapter lookup.
What customs does
Customs authorities control the movement of goods across borders and protect the economy, health and security.
Collect duties and taxes
Customs duty, VAT and other taxes on imported goods, and export taxes where they exist.
Enforce regulations
Prohibitions, licences, product safety, health and environmental rules at the border.
Protect and facilitate
Security, anti-fraud controls and trade statistics, while speeding up compliant trade.
The customs clearance flow
Select a procedure to see its stages. Names and steps vary by country, but the logic is similar everywhere.
General overview. Declaration systems, deadlines and documents depend on the country and the customs office.
Import duty and tax calculator
Calculate the customs value, duty, VAT and the landed cost of an import, and see what a preferential rate can save.
Where the money goes
Calculation
Simplified model. Customs value rules vary: some countries use CIF (including freight and insurance to the border), others FOB (for example the USA). Enter freight and insurance only if they are not already in the invoice price. VAT is often calculated on customs value plus duty and other taxes, but rules and exemptions differ by country. Check the rates in the official tariff or with your customs broker.
The HS code, digit by digit
The Harmonized System classifies goods worldwide. The first 6 digits are international, and countries add digits for their own tariff.
The tool explains the structure and the sector of a code. It does not classify goods or give duty rates: classification depends on the exact nature of the product, the HS notes and the national tariff. Use the official tariff of the importing country or a binding ruling when in doubt.
Customs value: the six methods
Under the WTO Customs Valuation Agreement, customs applies the methods in order. The first one that fits is used.
Transaction value
The price actually paid or payable, with adjustments such as freight, insurance and royalties. Used in most cases.
Identical goods
Transaction value of identical goods imported at about the same time.
Similar goods
Transaction value of similar goods imported at about the same time.
Deductive value
Based on the resale price in the importing country, less certain deductions.
Computed value
Cost of production plus profit and general expenses. The importer can ask to apply 5 before 4.
Fall-back method
Reasonable means consistent with the Agreement, based on available data.
Customs regimes at a glance
The regime you choose decides whether duties are paid, suspended or relieved.
Release for free circulation
Standard import: duties and taxes are paid and the goods circulate freely.
Export
Goods leave the customs territory, usually with relief from import-type taxes.
Customs transit
Goods move under customs control with duties suspended, for example under T1 or a TIR carnet.
Customs warehousing
Goods are stored with duties suspended until they are released or re-exported.
Temporary admission
Goods enter for a limited period and are re-exported, for example under an ATA carnet.
Inward processing
Imported goods are processed and then re-exported, with relief from duties.
Outward processing
Goods are exported temporarily for processing and re-imported with reduced duties.
Free zones
Designated areas where goods can be stored or processed under special customs and tax rules.
Origin of goods and preferential duties
The origin of goods is where they were produced or substantially transformed, not where they were shipped from. Under a trade agreement, goods that meet the rules of origin and carry a valid proof can benefit from reduced or zero duties.
Shipping documents guideKey points
- Preferential origin: needed for reduced duty under an agreement
- Non-preferential origin: used for statistics, quotas and trade measures
- Proof: a certificate or an origin declaration, as the agreement requires
- Rules: wholly obtained, change of tariff classification or value added
- Keep supporting records: customs can verify origin afterwards
Trade agreements for traders in Morocco
Morocco has trade agreements with several partners. Each one has its own products, quotas, rules of origin and proofs, and these terms evolve: always check the current text with the Moroccan customs administration (ADII) or your broker.
Examples to check
- EU: Association Agreement
- United States: Free Trade Agreement
- Turkey: free trade agreement
- Agadir Agreement with Arab Mediterranean partners
- African Continental Free Trade Area (AfCFTA)
Key conventions and organizations
Customs rules are built on international instruments that countries apply in their own law.
HS Convention (WCO)
Establishes the Harmonized System used to classify goods in international trade.
Revised Kyoto Convention
Sets standards to simplify and harmonize customs procedures worldwide.
WTO Customs Valuation Agreement
Defines the methods used to determine the customs value of imported goods.
WTO Trade Facilitation Agreement
Aims to make border procedures faster, more transparent and less costly.
TIR Convention
International customs transit system for goods moved by road under a TIR carnet.
ATA / Istanbul Convention
Allows temporary admission of goods, such as samples and equipment, under an ATA carnet.
Beyond duties: regulations to respect
Paying duties is not enough. Many goods and parties are subject to specific rules.
Prohibited and restricted goods
Some goods are banned, others need a licence, permit or quota, such as weapons, drugs, protected species or certain waste.
Export controls
Dual-use goods, technology and software can need an export licence, depending on destination and end use.
Sanctions and screening
Check parties, destinations and ownership against sanctions and restricted-party lists before shipping.
Product regulations
Food safety, pharmaceuticals, chemicals, electronics and labelling rules can apply at the border.
Authorized Economic Operators (AEO)
Many customs administrations offer trusted trader programmes, such as the AEO in the EU and other countries, or C-TPAT in the USA. Certified operators benefit from fewer controls and simplified procedures, in exchange for proven security and compliance.
Choose a freight forwarderTypical benefits
- Fewer physical and documentary inspections
- Priority treatment when controls are needed
- Simplified procedures and faster clearance
- Recognition in some partner countries
Common customs mistakes
Most penalties and delays come from errors that could have been avoided before shipping.
Watch out for
- Wrong HS code or vague goods description
- Understating the customs value or omitting freight
- Claiming a preferential rate without valid proof
- Missing licences, certificates or pre-arrival information
- Not keeping records for customs audits
Frequently asked questions
Is the customs value the same as the invoice price?
Not always. The customs value usually starts from the transaction price and is adjusted for items such as freight and insurance to the border, commissions or royalties, depending on the valuation rules of the importing country.
What happens if the HS code is wrong?
It can lead to the wrong duty rate, delays, inspections, additional duties and penalties, and to missing licences or restrictions that apply to the correct code. Classify carefully, and ask for a binding ruling when the case is unclear.
What is the difference between customs duty and VAT?
Customs duty is a tax on imported goods, set by the tariff and the origin. VAT is a general consumption tax, often charged on imports on customs value plus duty. Importers registered for VAT can often recover it.
Who is the declarant or importer of record?
It is the person or company that lodges the customs declaration and is legally responsible for it. It can be the importer itself or a customs broker acting on its behalf, depending on the country and the type of representation.
Can I reduce customs duties legally?
Yes, by using a trade agreement with a valid proof of origin, choosing a suitable customs regime, correct classification and valuation, and, where eligible, duty relief or inward processing. Always stay within the law.
Master import-export in practice
Learn customs procedures, Incoterms, documents and payment in the online training, delivered in French.
View training IncotermsThe content on this website is for informational purposes only and does not constitute legal or tax advice. Customs rules, tariffs and agreements change and vary by country: always check the official sources or ask a licensed customs broker.
