Comprehensive Tanger Med Customs Clearance Guide: BADR System, Required Documents and Avoiding Holds

Strategically positioned on the Strait of Gibraltar, the Tanger Med port complex—overseen by the Agence Spéciale Tanger Méditerranée (TMSA)—has developed into the Mediterranean’s leading container transshipment and industrial gateway. For international supply chain directors, industrial manufacturers operating under free zone regimes, and road freight hauliers moving goods between the European Union and North Africa, Tanger Med is a critical artery.

However, operating through Tanger Med requires strict adherence to Moroccan customs regulations enforced by the Administration des Douanes et Impôts Indirects (ADII). A missing document, an incorrect ten-digit HS code, or a mismatched gross weight can abruptly halt cargo, resulting in compounding port storage costs (magasinage), shipping line container demurrage (surestaries), and disrupted just-in-time (JIT) production lines.

Operational Objective:

This operational guide provides an exhaustive roadmap through Tanger Med’s regulatory framework, detailing the digital ecosystem (Portnet and BADR), mandatory documentation, customs regimes, and proactive measures to prevent customs holds.


1. The Digital Backbone: Portnet vs. Système BADR

Navigating Moroccan import and export logistics requires operating across two distinct yet interconnected digital platforms: Portnet and BADR. Conflating these two systems is one of the most common mistakes made by international operators.

PORTNET (National Single Window)
[B2G/G2B: Trade licenses, manifest tracking, shipping agents, banks, ministerial controls]
                          │
                          ▼ (API Data Linkage)
SYSTÈME BADR (ADII Customs Core)
[Customs-only: DUM filing, automated risk routing, tariff classification, liquidation, BAE release]

Portnet (Le Guichet Unique National)

Portnet is Morocco’s National Single Window for Foreign Trade Procedures. Managed by Portnet S.A., it coordinates operational data transfers between commercial logistics stakeholders:

  • Freight forwarders and shipping lines.
  • Terminal operators (APM Terminals, Eurogate, Tanger Med Port Authority).
  • Commercial banks (for import payment titling).
  • Regulatory inspection agencies (such as ONSSA for food safety and the Ministry of Industry and Commerce for industrial conformity).

Before cargo touches the quay at Tanger Med, the ocean carrier or road haulier must lodge the electronic manifest (déclaration sommaire) via Portnet. Simultaneously, the Moroccan importer of record or their customs representative must link the commercial transaction using an electronic import commitment (Engagement d’Importation or Titre d’Importation), certified by an accredited Moroccan commercial bank.

Système BADR (Base Automatisée des Douanes en Réseau)

Administered exclusively by the Administration des Douanes et Impôts Indirects (ADII), BADR is the centralized, real-time customs processing engine. While Portnet handles logistics and commercial workflows, BADR processes legal customs declarations:

  • Filing the DUM: Registered customs brokers (transitaires agréés) log directly into BADR to register the Déclaration Unique de Marchandise (DUM).
  • Risk Management Engine: BADR screens declarations and automatically assigns a clearance routing channel (Circuit de Dédouanement).
  • Duty Calculation: The system calculates duties (Droits de Douane), Import Value Added Tax (TVA à l’importation), and domestic consumption taxes (Taxe Intérieure de Consommation - TIC).
  • Release Clearance: BADR issues the critical electronic release order: the Bon à Enlever (BAE).

2. Essential Import & Export Documentation Architecture

To clear freight smoothly through Tanger Med without inspection delays, every commercial, logistic, and preferential document must be properly prepared and precisely cross-referenced.

1. Commercial Invoice (Facture Définitive)

Must be issued on company letterhead and must include:

  • Full legal company names and registered addresses (consignor and consignee).
  • The Moroccan consignee’s ICE (Identifiant Commun de l’Entreprise) number, customs identifier (Code Douane), and fiscal ID.
  • Delivery terms based on Incoterms 2020.
  • Unit prices, total invoice amount, currency, and detailed item descriptions.
  • Specific breakdown of freight and insurance charges if shipping under C- or D-terms (required for CIF calculation).

2. Transport Documents

  • Maritime Containerized Freight: Original Bill of Lading (B/L) issued as a Negotiable Marine Bill, Sea Waybill, or surrendered via Telex Release. The manifest number logged in Portnet must match the B/L number precisely.
  • TIR / Ro-Ro Road Freight: International Consignment Note (Lettre de Voiture Internationale - CMR). Must clearly state tractor and trailer registration plates, gross and net weights, and package counts matching the driver’s manifest (Feuille de Route).

3. Packing List (Liste de Colisage)

Must detail package marks and numbers, packaging type (e.g., standard heat-treated EUR-pallets), individual item weights, and total gross and net metric weights.

Operational Warning: If the physical tare or gross weight differs from the weight registered in Portnet by more than 3–5%, the vehicle or container is flagged during automated platform weigh-ins at the Tanger Med entry/exit gates, triggering a mandatory physical inspection.

4. Proofs of Preferential Origin

To claim tariff exemptions under the EU-Morocco Association Agreement:

  • EUR.1 Movement Certificate: Endorsed by the exporting customs authority.
  • Origin Declaration on the Invoice: Permitted for shipments valued below €6,000, or for any shipment value if the European exporter holds Approved Exporter Status (Statut d’Exportateur Agréé) and cites their authorization number directly on the invoice.
  • Registered Exporter System (REX): Applied where applicable under evolving trade protocols.

5. Specialized Technical Certificates

  • ONSSA Clearance: The Office National de Sécurité Sanitaire des Produits Alimentaires mandates veterinary or phytosanitary certificates for agricultural products, food inputs, and packaging timber (ISPM 15 compliance).
  • Industrial Product Conformity: Enforced by the Ministry of Industry and Commerce (MICI) and executed by mandated inspection bodies (e.g., Bureau Veritas, TÜV Rheinland, SGS, Applus+). Products subject to this regime require a Certificate of Inspection (CoI) obtained prior to export, or must undergo testing at destination through Portnet.

3. Workflow Breakdown: Ro-Ro vs. Deep-Sea Container Clearance

Tanger Med operates distinct terminal operations: Tanger Med 1 and 2 handle deep-sea containerized traffic (TC1 to TC4), while the Tanger Med Passagers et Rouliers (Ro-Ro) port manages trailers, trucks, and flatbeds crossing the Strait via Algeciras or Motril.

Operational Parameter Deep-Sea Containers (TC1 - TC4) Ro-Ro / TIR Road Freight
Typical Origins Far East, North America, Sub-Saharan Africa Spain, France, Portugal, EU corridors
Primary Transport Doc Marine Bill of Lading (B/L) CMR Consignment Note
Average Port Clearance Time 24 to 72 hours (Standard) 2 to 6 hours (Targeted fast-track)
Pre-Clearing Capability Anticipated DUM (DUM Anticipée) pre-arrival DUM filed while ferry crosses Strait
Scanning Infrastructure Gantry and rail-mounted scanners on quays High-throughput drive-through portal scanners
Secondary Holding Area Terminal yard or off-dock MEAD depots ZRV (Zone de Régulation Véhicules)
High-Risk Cost Factors Line Demurrage (Surestaries), Port Storage, Reefer plug fees Truck detention, driver layover, missed ferry schedules

4. Leveraging Moroccan Customs Economic Regimes (RED)

Importing through Tanger Med does not always mean paying full customs duties (Droits de Douane) and VAT immediately. Global manufacturers operating in Morocco's automotive, aerospace, and textile clusters frequently utilize Régimes Économiques en Douane (RED) to optimize cash flow:

1. Mise à la Consommation

Standard import for direct entry into the domestic Moroccan market. Duties and standard 20% VAT are assessed and paid via BADR before release.

2. ATPA (Inward Processing)

Essential for manufacturers in Tanger Automotive City. Raw materials enter with duties and taxes completely suspended under a customs bond (acquit-à-caution) for export processing.

3. Entrepôt de Douane

Bonded warehousing in approved logistics hubs (such as Medhub at Tanger Med). Allows supply chain managers to defer duty until local distribution or re-export to Africa.

4. Transit Inter-Port

Permits bonded transport from Tanger Med under customs seal directly to inland dry ports or private bonded depots (MEAD) in Casablanca, Tangier city, or Kenitra.


5. The Anatomy of Customs Holds and How to Avoid Them

When a container or trailer receives a customs hold at Tanger Med, time is the primary liability. Daily costs compound rapidly across shipping line detention fees, TMSA storage charges, terminal handling charges (THC), and production stoppages.

Circuit Routing in BADR

Once the DUM is validated in BADR, the automated risk engine assigns one of three routing channels:

● Circuit Vert (Green)

Automated clearance. No documentary review or physical inspection required. The BAE issues electronically, allowing immediate exit gate passage.

● Circuit Orange (Orange)

Documentary audit. Customs inspectors review commercial invoices, origin proofs, and conformity documents against DUM declarations before clearing.

● Circuit Rouge (Red)

Mandatory physical examination (visite physique). Cargo must be positioned at the inspection bay (Quai de visite) and destuffed under supervision.

Top Causes of Customs Disputes & Prevention

  • Tariff Classification Errors: Declaring an incorrect HS code to lower duties is considered a major customs infraction (fausse déclaration d'espèce).
    Prevention: Request an advance tariff ruling (Classement Tarifaire Préalable) directly from ADII central administration in Rabat prior to shipping non-standard products.
  • Customs Valuation Challenges: ADII maintains a pricing database (argus douanier) tracking median transaction values. Invoicing significantly below market values triggers automatic investigation.
    Prevention: Maintain complete audit files, including SWIFT wire receipts, signed commercial agreements, and manufacturer price sheets.
  • Scanner Anomalies: Every truck and container passes through portal x-ray scanners. Inconsistent cargo density triggers physical unloading.
    Prevention: Never place undeclared samples, personal items, or maintenance spare parts in the nose of trailers or container recesses.

6. Actionable 5-Step Protocol: Fast-Tracking Clearance Through Tanger Med

Step 1: Portnet Pre-Filing (H-48 Hours)

Transmit the ocean manifest or trailer registration to the handling carrier. Verify that the bank-domiciled Engagement d'Importation is active, fully funded, and signed electronically within Portnet.

Step 2: Lodge an Anticipated DUM (DUM Anticipée)

Do not wait for vessel berthing or ferry docking to engage customs. Authorized brokers can lodge an anticipated declaration in BADR up to six days prior to arrival to resolve routing assignments before docking.

Step 3: Complete Required Certifications Pre-Loading

For goods subject to mandatory quality control, secure your Certificate of Inspection (CoI) via certified inspection bodies before factory dispatch in Europe, Asia, or the Americas. Upload the certificate directly to Portnet.

Step 4: Utilize a Customs Bond Account (Crédit d'Enlèvement)

Avoid manual bank transfers or physical check payments. Importers and customs brokers should maintain an active Crédit d'Enlèvement (a bank-guaranteed customs line of credit) allowing BADR to liquidate duties automatically and generate the BAE instantly.

Step 5: Secure the Electronic Delivery Order (Bon à Délivrer - BAD)

Coordinate with the shipping agent or terminal operator via Portnet to clear all commercial terminal freight, port dues, and ocean handling fees. Once the BAD and BAE align, the digital gate pass (Bon de Sortie) issues immediately.


7. Frequently Asked Questions (FAQ)

What is the practical difference between Circuit Vert, Circuit Orange, and Circuit Rouge in BADR?

Circuit Vert (Green) provides immediate, automated clearance, issuing the Bon à Enlever (BAE) without human intervention. Circuit Orange (Orange) suspends release until an ADII customs inspector reviews the physical and digital documents against the DUM. Circuit Rouge (Red) triggers mandatory physical examination, requiring the container or trailer to be moved to an inspection dock for partial or complete destuffing.

Can a foreign logistics operator clear customs at Tanger Med without a local customs broker?

No. Under Moroccan customs regulations, legal customs declarations (DUMs) can only be registered in BADR by an accredited Moroccan customs broker (Transitaire Agréé en Douane) or directly by an established Moroccan company that holds dedicated self-clearing authority from the ADII. International freight forwarders must partner with licensed Moroccan forwarders or brokers.

How are demurrage (surestaries) charges incurred and mitigated at Tanger Med?

Demurrage is charged directly by ocean carriers when a container remains inside the terminal beyond the negotiated free-time period (typically 3 to 7 calendar days). Importers can mitigate these costs by:
1. Negotiating 14 to 21 days of combined demurrage/detention free time directly into freight contracts.
2. Lodging an Anticipated DUM to clear cargo before the vessel arrives.
3. Transferring un-cleared containers under bond (acquit-à-caution) to an off-dock container depot (MEAD) where daily storage rates are significantly lower.

What happens when goods are flagged for conformity inspection under the NMCI program?

Goods regulated by the Ministry of Industry and Commerce that lack an authorized pre-shipment Certificate of Inspection (CoI) are held at the port. They must undergo destination inspection, where mandated testing agents (e.g., Bureau Veritas, TÜV Rheinland, SGS, Applus+) draw samples for physical laboratory testing. Cargo remains held at Tanger Med until the laboratory confirms conformity and validates the filing in Portnet.

HO

Mr. Hatim Oulad Belhaj

Supply Chain & Transport Operations Expert

Specialist in Moroccan port operations (Tanger Med & Casablanca Port) and International Road Transport (TIR). Over 5 years of hands-on experience handling Moroccan customs procedures (BADR portal, Single Goods Declaration - DUM, EUR.1 certificates, and Portnet). Holds a Bachelor's degree in Supply Chain & International Logistics.

Verified LinkedIn Profile → • Reviewed by CargooMaghreb Editorial Board

This operational guide is published by CargooMaghreb.com, the independent online resource for logistics, freight forwarding, and international customs compliance across Morocco, the Maghreb, and European transport corridors.

Next Post Previous Post
No Comment
Add Comment
comment url