Customs — Digital services portal
Digital services desk made available to businesses and economic operators.
Import, export, customs clearance, authorizations and foreign-exchange operations: find the main official digital services for preparing foreign-trade procedures in Morocco.
Digital services desk made available to businesses and economic operators.
Online customs-clearance system for customs operations according to required authorizations.
Portal providing access to customs services connected to the PortNet ecosystem.
Single digital window for foreign-trade and logistics-chain procedures.
Platform dedicated to orchestrating and digitizing import-export procedures.
Service for subscribing to PortNet services and connected customs services.
Unified access portal for PortNet services and partner foreign-trade services.
Access to digital services relating to import operations through port and logistics platforms.
Access to digital services relating to export operations through port and logistics platforms.
Platform for digitizing formalities and procedures with the Office des Changes.
Service relating to CITES permit applications and exchanges in foreign trade.
Information portal on logistics, zones and sector support schemes.
Practical guide to foreign trade in Morocco
Importing goods, preparing an export or moving a file through customs quickly becomes stressful when you do not know which portal to use. Between shipment, commercial documents and administrations to consult, one forgotten formality can delay the entire operation.
In Morocco, a large part of the pathway for foreign trade and customs is now digital. Customs has its own services and the BADR system, while PORTNET Foreign Trade orchestrates many import and export procedures in an environment connected to different partners. TheOffice des Changes offers SMART for several procedures relating to authorizations and foreign-exchange operations. This page helps you understand the role of each tool before starting.
The first reflex is not to treat import-export as a single procedure. Your operation may include a commercial formality, a customs declaration, a sectoral authorisation, a sanitary inspection, a foreign-exchange formality or a logistics step. Each digital service addresses a different part of this process.
The Customs and Indirect Tax Administration provides operators with digital services for customs operations. The Automated Network Customs Database, BADR, is one of the systems used for paperless processing of operations according to the user’s profile and authorizations.
If your need directly concerns a declaration or customs-clearance operation, Customs and BADR are therefore among the references to identify. Your freight forwarder or declarant may also be involved depending on your company’s organization.
PORTNET Foreign Trade serves as the national reference platform for orchestrating, digitising and integrating import and export procedures. It is intended in particular for importers, exporters and customs brokers, and connects many public authorities to the foreign-trade ecosystem.
Its benefit for you is to reduce fragmentation among several contacts: the portal provides access to import-export formalities, licences and authorizations while ensuring traceability of many files and exchanges.
Your transaction with another country may also fall under foreign-exchange regulations. The platform Office des Changes SMART notably digitizes submission of authorization requests and allows the operators concerned to make certain declarations online.
SMART guides you in preparing the request from the data and documents required for the selected operation. Once the file is submitted, the service also provides remote tracking of its processing.
The selection above brings together different entry points. The following table helps you quickly understand when each may be useful.
| Service | What is it for? | Main profile | Associated result or procedure |
|---|---|---|---|
| Customs — digital services | Access the digital services of the Customs and Indirect Tax Administration. | Economic operators | Customs formalities and services according to your operation |
| BADR | Process customs operations through the automated system, according to your authorizations. | Authorized declarants and operators | Customs declaration and processing according to the applicable regime |
| Customs via PortNet | Access customs services connected to the PortNet ecosystem. | Importers, exporters, freight forwarders | Connected customs exchanges and formalities |
| PortNet — single window | Centralize foreign-trade and logistics-chain procedures. | Businesses and professionals | Files, formalities and digital tracking |
| PORTNET Foreign Trade | Coordinate import and export procedures. | Importers, exporters, freight forwarders | Formalities, licences and authorizations according to the product |
| PortNet subscription | Create your access to PortNet services and connected services. | New operators | Account and access to subscribed services |
| PortNet federating portal | Bring together several PortNet and partner services in one access point. | Foreign-trade operators | Guidance toward available digital services |
| PortNet — import services | Manage digital procedures related to import operations. | Importers and freight forwarders | Import files and formalities |
| PortNet — export services | Manage digital procedures related to export operations. | Exporters and freight forwarders | Export files and formalities |
| Office des Changes — SMART | Submit certain authorization requests and declarations relating to foreign exchange. | Natural and legal persons concerned | Application, declaration and tracking with Office des Changes |
| PortNet — E-CITES | Manage CITES permit requests. | Operators concerned by regulated species | CITES permit application depending on the file |
| AMDL | Consult information on logistics and sector support schemes. | SMEs and professionals | Logistics information and guidance |
A well-prepared import starts before the goods arrive. Before transport begins, determine the formalities that apply to the product and identify the administrations likely to be involved.
The commercial description used on your invoice is not always sufficient to determine the regulatory treatment. You need to know the nature of the product, its origin, its use and the applicable classification. This information notably affects the duties, controls, licences or authorisations that may be required.
Certain products may be subject to a specific control or authority: food products, plants, medicines, vehicles, regulated equipment, protected species or other goods subject to authorisation. PORTNET Foreign Trade connects several authorities and sector partners for precisely this reason.
If you are a new operator, plan ahead for the creation of the necessary accounts and authorisations. A PortNet subscription is an entry point for accessing the platform's services and connected services. Depending on your role, specific customs access or authorisation may also be required.
Gather documents corresponding to your transaction and goods. Do not start from a generic list found online: importing raw materials does not necessarily follow the same process as a food product, vehicle or regulated goods.
PortNet facilitates information exchange between different foreign-trade stakeholders, while strictly customs-related operations form part of the Customs and BADR ecosystem. Keep the references for each file so that you can track applications, respond to any requests for additional information and coordinate with your customs broker or declarant.
For exports, your objective is twofold: comply with Moroccan requirements and prepare the documents expected at destination. Again, the nature of the product determines the process.
BADR stands for Networked Automated Customs Database. The portal notably distinguishes access for declarants, customs officers and officers from other departments. For a business, the key point is that BADR is at the core of digital processing of customs operations.
PORTNET Foreign Trade aims to provide a unified environment for many procedures. The official platform highlights secure, continuous access and traceability of files and exchanges with administrations.
It brings together very different stakeholders: Customs, port authorities, control bodies, banks and sectoral administrations. For you, the main benefit is operational: instead of managing each interaction as an isolated procedure, you have a digital environment that orchestrates a significant part of the process.
Before using the services, choose the profile corresponding to your activity. PORTNET distinguishes in particular between needs related to foreign trade, port operations and cargo. For the import-export formalities covered on this page, the Foreign Trade area directly concerns importers, exporters and customs brokers.
An international operation is not limited to movement of the goods. Certain payments, transfers or arrangements may require a procedure with theOffice des Changes.
SMART notably allows users to submit authorisation applications and declare certain foreign-exchange transactions online. The service structures the required information and documents and then allows processing to be tracked remotely. The user may receive notifications relating to submission and completion of the processing of the application.
There is no single list for all applications. Supporting documents must correspond to the selected operation. For company registration, for example, the official interface requests company identification information and provides for documents such as a copy of the commercial register, updated articles of association and an ICE certificate. For a specific authorisation, always follow the list displayed in the relevant process.
The module E-CITES is particularly important if your activity involves wildlife or plant species subject to the CITES Convention. PortNet publishes a dedicated guide to managing CITES permit requests, confirming the existence of a specific digital process.
Never assume that a product of animal or plant origin can be shipped with only the usual commercial documents. When CITES rules apply, the corresponding permit becomes a central part of the file.
The exact documents vary according to your operation. The table below helps distinguish the main families of documents or administrative results you may encounter.
| Document / result | When can it be involved? | Service or organization | Point to check |
|---|---|---|---|
| Commercial documents | Import or export | Business / trading partners | Consistency of references, quantities, value, origin and description |
| Import title or formality | Depending on the operation and product | PORTNET Foreign Trade | Type of goods and applicable procedure |
| Customs declaration | During customs processing | Customs / BADR | Customs regime, data and associated supporting documents |
| Sector-specific licence or authorization | For a regulated product | PortNet / competent administration | Authority concerned and product-specific requirements |
| Office des Changes authorization | When the foreign-exchange transaction requires authorization | SMART | Documents specific to the selected operation |
| CITES permit | For certain regulated species or derivative products | E-CITES / competent administrations | Species, product type and applicable CITES regime |
| Sector-specific certificate or check | Depending on the product category | Relevant supervisory administration | Sanitary, technical or regulatory requirements |
Attention: this table is intended to guide you. It does not replace regulatory verification of your goods or the instructions provided on official portals.
Before confirming your shipment, check these points:
Goods already in transit leave little room when a prior authorization is missing. As soon as your international order is sufficiently precise, begin regulatory checks and identify the digital services to use.
PORTNET Foreign Trade centralizes and digitizes many import and export procedures. It is aimed notably at importers, exporters and freight forwarders and provides access to formalities, licences and authorizations depending on the operation concerned.
PortNet orchestrates foreign-trade procedures and connects several public authorities. BADR is the Customs system used for customs operations and declarations according to the profile and required authorisations. The two tools may therefore be involved in the same process without performing the same function.
There is no universal file. Documents depend on the product, its origin, customs regime, transport and applicable controls. Always check requirements corresponding precisely to your goods before shipment.
The SMART platform allows authorization requests to be submitted to the Office des Changes. Choose the operation concerned, enter the requested information, attach the indicated supporting documents and then use the tracking provided by the service.
E-CITES concerns management of CITES permit requests when operations involve animal or plant species subject to this international regulation. The procedure and supporting documents depend on the product and species concerned.
PortNet brings together many procedures and participants, but some procedures remain linked to specific systems or administrations. An operation may therefore require PortNet, customs processing through BADR, a SMART procedure or a sector authorization.
Foreign trade in Morocco relies on an integrated digital ecosystem, without making all formalities identical. PortNet centralises a significant part of the import-export process, BADR is involved in customs processing, SMART covers procedures of the Foreign Exchange Office, and E-CITES meets a specialised regulatory need.
Your best protection against delays is therefore preparation: identify the goods, check the regulations, open the correct access accounts and compile supporting documents before transport begins.
Start by choosing the service corresponding to your need from the list above, consult its page on e-services.ma, then access the official portal to check the formalities applicable to your operation.