Analysis note
Setting up an import-export company in Morocco is not enough to import or export. Each transaction involves a chain of systems and actors: PortNet, the domiciliation bank, the customs BADR system and inspection bodies. Each of them requires consistent documents.

Findings: PortNet within the chain of foreign trade systems
Moroccan foreign trade rests on a principle of freedom laid down by Law No. 13-89 on Foreign Trade. That principle is subject to exceptions, notably quantitative restrictions. An order of the minister responsible for foreign trade sets the list of those restrictions. In addition, several authorities share the procedural framework. The Customs and Excise Administration (ADII) handles customs clearance, duties and taxes and customs procedures. The Foreign Exchange Office (Office des changes), acting through the banks, governs settlement. Finally, the ministry responsible for industry and the National Food Safety Office (ONSSA) oversee product conformity.
The operator enters the import title on PortNet, the national single window for foreign trade procedures. It then lodges the detailed declaration in BADR, the ADII’s online clearance system, for imports and exports alike. The invoice, the import title, the declaration and the proof of origin must therefore match in description, tariff heading, value and quantity. Otherwise, any discrepancy spreads from PortNet to the next system. Depending on the case, it results in a refusal of domiciliation, a hold at clearance, the loss of tariff preference or a payment incident.
Analysis: acquiring importer or exporter status and PortNet access
Setting up an import-export company in Morocco follows the ordinary rules. Law No. 88-17 established the DirectEntreprise platform, which brings together the business creation formalities. The Moroccan Industrial and Commercial Property Office (OMPIC) manages it. Drafting the articles of association, and in particular the corporate purpose, calls for the involvement of a legal or accounting professional.
Registration in the commercial register, the tax identification number and the common business identifier (ICE) form the basic identification of the operator. In addition, the importer must obtain identification in the BADR system and subscribe to PortNet. Using an approved customs broker is not mandatory, but it is common.
Analysis: the documentary file, from PortNet to the declaration
On import, entering an import undertaking on PortNet and domiciling it with a bank are mandatory before any import of goods. The only exceptions are those that foreign trade regulations provide for. Before domiciliation, the bank checks that the commercial contract and the import undertaking recorded on PortNet match. It also checks that the payment terms comply with foreign exchange regulations. Goods subject to quantitative restrictions require an import licence. After bank pre-domiciliation, the department responsible for foreign trade endorses that licence.
The detailed declaration, known as the single goods declaration (DUM), relies on documents that must be consistent. These include the commercial invoice and the transport document. They also include proof of origin where the operator claims preference and, depending on the products, a conformity document.
For industrial products subject to mandatory standards, inspection falls under Law No. 24-09. Since 1 February 2020, inspection bodies have performed part of it in the country of shipment, and their certificate of conformity supports the file. For food products, Law No. 28-07 is the basis for ONSSA’s intervention. Moreover, Order No. 466-23 has applied since 1 January 2024. Pursuant to it, the importer registers with ONSSA the foreign establishments from which it sources certain categories of products.
Analysis: tariff classification and economic customs procedures
Tariff classification governs everything. Indeed, it determines the import duty, any domestic consumption tax, the conformity checks and the rule of origin. The Moroccan nomenclature rests on the Harmonized System. The customs administration’s ADIL interface displays the duties and taxes attached to each heading. Tariff preference applies to customs duties, but it leaves import value added tax in place.
The Customs and Excise Code provides for economic customs procedures: warehousing, temporary admission, temporary admission for inward processing, drawback and transit. These procedures make it possible to suspend or refund duties and taxes. However, they require a guarantee and discharge within the prescribed time limits.
Analysis: financial settlement and origin
The 2026 General Instruction on Foreign Exchange Operations, in force since 1 January 2026, sets the foreign exchange rules. On import, payment in principle takes place after customs has charged the import title and up to its amount. According to the Foreign Exchange Office, the operator may make down payments up to 30% of the total value of the import. Advance payment, for its part, is subject to its own ceilings.
On export, the Foreign Exchange Office sets a maximum of 150 days to repatriate the proceeds of sales of goods. That period runs from the date of registration of the customs declaration.
Analysis: EU-Morocco preferential origin and the revised rules
In trade with the European Union, the Association Agreement, applied since 1 March 2000, makes preference conditional on the originating status of the goods. A proof of origin evidences that status. Since 1 January 2026, the Union applies only the revised Pan-Euro-Mediterranean Convention with the parties that have ratified it. Pending its ratification by Morocco, the European Commission states that exports from the Union to Morocco fall under the revised Convention. By contrast, exports from Morocco to the Union fall under the transitional rules that the bilateral agreement provides for.
Decision No 1/2025 of the EU-Morocco Association Council of 2 October 2025 incorporated these rules into Protocol No 4. They apply until 31 December 2027 or, if earlier, until the publication of the revised Convention in the Bulletin officiel of Morocco. According to the French customs administration, proofs of origin must carry the statement “REVISED RULES”. This requirement concerns those accompanying imports into the Union of products originating in Morocco. Finally, the Moroccan importer bears the risk of post-clearance verification.
Implications for the import-export company
An import-export company’s actual capacity to operate requires a banking relationship organised for domiciliation and repatriation. It also requires a tariff classification method. Furthermore, it calls for record-keeping that reconstructs, transaction by transaction, the consistency of the documents and the payment. Discrepancies that customs identifies at clearance or during a subsequent audit fall within customs litigation, and some of its outcomes involve a customs settlement.
For the Spanish or European exporter, three points require checking before the order. First comes the domiciliation of the import undertaking by the Moroccan customer. That domiciliation rests on a consistent pro forma invoice and contract. Second comes the product’s conformity regime. Third comes the rule of origin applicable under the revised Convention, supported by up-to-date supplier’s declarations. On the Union side, exporting requires an EORI number and an export declaration. According to the European Commission, the proof of origin remains valid for ten months from its issue.
Points of attention on PortNet, documents and payment
- Align the description, tariff heading, value and quantity across contract, invoice, import title, declaration and proof of origin.
- Check, before shipment, that the importer has entered the import undertaking on PortNet and domiciled it. For the goods concerned, check that the importer has obtained the licence.
- Identify the product’s conformity regime and where inspection takes place, in the country of shipment or in Morocco.
- Settle tariff classification before quoting.
- Align export payment terms with the 150-day repatriation period.
- For EU-Morocco origin, apply the rules specific to each direction of trade and the statements required on the date of the transaction.
References
- Law No. 13-89 on Foreign Trade; Order of the Minister of Foreign Trade, Foreign Investment and Handicrafts No. 1308-94 of 7 Kaada 1414 (19 April 1994) setting the list of goods subject to quantitative restriction measures on imports and exports, as amended and supplemented.
- Customs and Excise Code, approved by Dahir having force of law No. 1-77-339 of 25 Chaoual 1397 (9 October 1977), as amended.
- Law No. 88-17 on the electronic creation of businesses and their support.
- Law No. 24-09 on the Safety of Products and Services; Ministry of Industry, Trade, Green and Digital Economy, notice to importers on the outsourcing of import inspection (products shipped from 1 February 2020) (in French).
- Law No. 28-07 on the Food Safety of Food Products; Order No. 466-23 of 20 February 2023 on the registration of establishments exporting food products to Morocco; ONSSA, notice to importers, December 2023 (in French).
- Foreign Exchange Office, 2026 General Instruction on Foreign Exchange Operations, Articles 50, 53 and 89; pages “Importations de biens” and “Exportations de biens” and FAQ on the import undertaking (pages consulted on 15 October 2026) (in French); PortNet, Guide utilisateur – Importateur, 2024 (in French).
- Euro-Mediterranean Agreement establishing an association between the European Communities and their Member States, of the one part, and the Kingdom of Morocco, of the other part, Protocol No 4 concerning the definition of the concept of “originating products” and methods of administrative cooperation; Regional Convention on pan-Euro-Mediterranean preferential rules of origin, revised version; Decision No 1/2025 of the EU-Morocco Association Council of 2 October 2025 amending Protocol No 4 (OJ L, 2025/2664); Council Decision (EU) 2025/2023 of 2 October 2025.
- Regulation (EU) No 952/2013 of the European Parliament and of the Council of 9 October 2013 laying down the Union Customs Code, Article 9; European Commission, Access2Markets, “Pan-Euro-Mediterranean Convention (PEM)”; French Directorate-General of Customs and Excise (DGDDI), fact sheet “Zone pan-euro-méditerranéenne et cumul diagonal de l’origine”, updated on 6 July 2026 (in French).
See also: Analysis Notes – EU preferential origin: preparing for post-clearance verification; EU preferential origin: the supplier’s declaration, the invisible link; Customs settlement in Morocco: rationale, conditions and limits; Checklist – Proofs of origin: required documents; Checklist – International payment clause; Grid – Selecting an export market. International Trade & Export and Customs Compliance & Litigation practices.
General information document; it constitutes neither legal advice nor an opinion on a particular situation. References to legal texts should be checked against the version in force on the date of use.
Consulting firm not registered with any Bar; no representation before the courts and no act reserved to the regulated legal professions.
