m2m.maCustoms and AI
Customs and AI

HS Code in Morocco: How to Find the Right Tariff Heading

Harmonized System, Moroccan nomenclature, interpretation rules and official sources: the method for finding the right HS code for an imported product.

by the m2m.ma team · Published on · 4 min read

HS Code in Morocco: How to Find the Right Tariff Heading

The HS code, the key to the whole file

The Harmonized Commodity Description and Coding System, managed by the World Customs Organization, classifies products into sections, chapters, headings and subheadings. The first six digits are common to the countries that apply it. Morocco adds its own subdivisions to form the national nomenclature heading, on which the tariff and the applicable measures are based.

This code determines the import duty, any taxes, technical or sanitary controls and sometimes the authorisations required. A wrong classification can result in incorrect duty, a missing document or a reassessment. It is therefore the stage where the customs broker's expertise makes the most difference, and the one that deserves the most time for a product that is new to the firm.

Start from the actual description of the product

Classification begins with a good description: nature of the product, constituent material, function, condition, presentation and use. A trade name such as "premium kit" or a mere supplier reference is never enough. It is sometimes necessary to ask the client for a technical data sheet, a photo or a composition before classifying correctly. Making this request early avoids holding up the file at the last minute.

Also note the factors that can tip the classification: a product assembled or in spare parts, presented as a set, intended for a specific use, or containing several materials. These details, often missing from the invoice, sometimes change the heading and therefore the rate applied. It is better to ask the client before the declaration than after an inspection.

  • Nature and constituent material
  • Function and intended use
  • Condition: assembled, disassembled, in bulk, packaged
  • Presentation: single unit, set, kit
  • Technical data sheet or photo of the product

Apply the General Interpretative Rules

The Harmonized System comes with General Interpretative Rules that set the order of reasoning. You start from the terms of the headings and the section and chapter notes, which have legal force, before the section titles, which are for reference only. The rules then deal with incomplete articles, mixtures, sets and packaging.

The Explanatory Notes published by the WCO help to understand the scope of each heading. They do not replace the legal texts, but they shed light on borderline cases. For the Moroccan nomenclature and the associated rates, the reference remains the tariff search on the ADII portal, douane.gov.ma, which also gives the measures attached to each heading.

Securing difficult cases

Some products regularly raise questions: multifunction devices, chemical mixtures, spare parts, articles made of several materials. In these cases, document your reasoning: heading chosen, note or rule applied, source consulted. This record will be useful if the administration raises the question, and it will help your colleagues faced with the same product the following month.

In case of serious doubt, it is better to consult the administration or a classification specialist than to declare at random. The cost of a prior check is always lower than that of a reassessment or of goods held in a customs area, with storage charges accruing every day.

What douane.m2m.ma does for classification

In douane.m2m.ma, the AI reads each item on the invoice and suggests a Harmonized System code of at least six digits, and goes to ten digits only when it is sure of the Moroccan subdivision. Each suggestion comes with a short justification and a high, medium or low confidence level. Low confidence flags the item to be examined first.

For a given item, the customs broker can launch a search of official sources: the Moroccan customs portal, the WCO and the relevant government websites. Only pages actually consulted are kept as sources. The customs broker then validates or corrects the code, and the history keeps a record of every validation and every correction, with the name of the person who made it. No item is calculated without this approval.

Building the firm's memory

A firm that handles the same product families benefits from keeping its validated classifications. The douane.m2m.ma Excel export lists items with their suggested code, their validated code and the confidence level, which makes it possible to spot frequent gaps between the suggestion and the final decision and to derive internal rules from them.

Classification remains a profession, and no tool should decide in place of the customs broker. On the other hand, a reasoned suggestion and a sourced search save valuable time on every file, especially on long invoices. To see this on your own invoices, try douane.m2m.ma with the free trial counted in files.

Frequently asked questions

How many digits does a customs code have in Morocco?

The first six digits correspond to the international Harmonized System. The Moroccan nomenclature adds national subdivisions to form a ten-digit heading, used for the tariff and the declaration. Always check the full heading in the tariff search on douane.gov.ma.

Can you rely on the HS code given by the supplier?

It is a useful clue, not a guarantee. The supplier often gives the code used in their own country, whose national subdivisions differ, and they may be wrong. The customs broker must check the classification against the rules of the Harmonized System and the Moroccan nomenclature.

Does the douane.m2m.ma AI give duty rates?

No. Reading the invoice suggests an HS code, never a rate. Rates come from the firm's rate table, with date and source. The search of official sources may suggest a rate found on an official page, which is added to the rate table as "to be checked".

Share this article

Put it into practice with m2m.ma

E-invoicing, accounting and business management services for Moroccan companies. 15-day free trial, no credit card.