m2m.maCustoms and AI
Customs and AI

Customs Exchange Rate in Morocco: Converting Invoices to Dirhams

Invoice currency, applicable rate, date and source: how to correctly convert an invoice into dirhams to calculate customs duties in Morocco.

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

Customs Exchange Rate in Morocco: Converting Invoices to Dirhams

A conversion that weighs on the whole assessment

Most invoices received by a Moroccan customs broker are in euros, dollars or yuan. To calculate duties and taxes, the customs value must be expressed in dirhams. The exchange rate used is therefore no minor detail: it multiplies every line of the invoice, and any error carries through to import duty, parafiscal tax and VAT on imports.

A difference of a few centimes in the rate may seem negligible, but on a large invoice it represents several thousand dirhams of difference in the calculation basis. Above all, an inaccurate rate exposes you to a correction by the administration and a pointless discussion with the client about the amount of duties.

Which rate to use

The rate to be applied for customs value is set by customs regulations, with a specific reference date. It is not necessarily the rate at which the importer paid the supplier, nor the bank's rate on the day of payment. The customs broker must therefore know the applicable rule and find the rate corresponding to the right date.

Reference rates for the dirham are published by Bank Al-Maghrib (Morocco's central bank), and the assessment in BADR prevails for the rate actually applied to the declaration. When in doubt about the rule or the date to use, refer to the ADII portal, douane.gov.ma, rather than to a habit of the firm or a rate shown on a commercial website.

Classic conversion errors

Several errors come up often. The rate from a previous file is reused for convenience. The rate for one currency is applied to another, for example a dollar rate to an invoice in euros. Freight and insurance are converted at a different rate from the goods, for no reason. Or it is forgotten that a currency such as the yen is sometimes quoted per hundred units.

The actual currency of the invoice must also be checked: a European supplier may invoice in dollars, an Asian supplier in euros. The three-letter ISO currency code removes the ambiguity. A "$" sign on its own, for example, is not enough to identify the currency concerned, as several countries use this symbol.

  • Rate carried over from another file
  • Invoice currency misidentified
  • Rate undated or without a source
  • Quotation unit misread

Fictitious conversion example

Fictitious example, rates to be checked. An invoice of 12,000 dollars, CIF, is converted at an assumed rate of 9.9 dirhams per dollar: the customs value reaches 118,800 DH. Had a rate of 10.8, that of another currency, been used by mistake, the value would be 129,600 DH, i.e. 10,800 DH of excess taxable base.

With an assumed duty of 10% and VAT at the standard rate of 20%, this exchange rate error alone would inflate the duty by 1,080 DH, then the VAT by just over 2,300 DH. The figures are fictitious, but the order of magnitude shows why the rate deserves systematic checking.

How douane.m2m.ma handles exchange rates

In douane.m2m.ma, the invoice currency is picked up by the AI from its ISO code, and the customs broker can correct it. The rate applied follows a precise order: first the rate entered in the file, then the official rate retrieved for the file date when a rate source is configured on the server, and finally the rate in the firm's rate table, each with its date and source.

If no rate is available, the calculation stops with a message asking for it to be entered. If the rate has no verified source, a warning flags it as to be confirmed. The rate used and its source appear in the calculation and in the Excel export, so everyone knows where the figure comes from.

Document to protect yourself

Keeping the rate used, its date and its source in each file is a simple protection. If the client raises a question or there is an inspection, the customs broker can show how the conversion was done and quickly check whether a discrepancy comes from the rate or from something else, such as freight or classification.

To apply dated and sourced rates in all your files, with an alert as soon as a rate is missing or still to be confirmed, try douane.m2m.ma. The free trial is counted in files and lets you check how it works on your invoices in euros, dollars or other currencies, with the rates in your own rate table.

Frequently asked questions

Can I use my bank's rate for the customs value?

Not necessarily. The rate to be used for customs value is set by customs regulations, with a specific reference date, and the assessment in BADR prevails. The rate at which the supplier is paid may be different. Check the rule on douane.gov.ma.

Where can I find the dirham reference rates?

Bank Al-Maghrib publishes the reference rates of the dirham against the main currencies. For the customs declaration, the rate actually applied is the one used in BADR under ADII regulations, to be checked for each operation.

What does douane.m2m.ma do if no rate is entered?

The calculation stops and asks for the rate to be entered, in the file or in the firm's rate table. If a rate is available but has no verified source, the calculation proceeds with a warning inviting you to confirm the rate before declaring.

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.