Let us put things in order: what the law says, what the tax authority has announced, and what a company can do this week without risking investing in the wrong thing.

Where e-invoicing in Morocco really stands

The legal basis has existed since the 2018 Finance Act. Paragraph IX of Article 145 of the General Tax Code requires companies subject to corporate tax, professional income-tax payers under the actual or simplified net-profit regime, and VAT-registered businesses to use an invoicing system that meets the technical criteria set by the tax authority. The details are left to regulation.

That is where everything hinges. As of mid-October 2026, no implementing decree has been published in the Official Bulletin. A draft was sent to the General Secretariat of the Government in the spring and the DGI platform is described as ready, but without a published text there is no enforceable date, no official threshold, no mandated format and no penalty specific to the scheme.

In practice, a PDF invoice issued by software, numbered in a continuous series and carrying all the mentions required by Article 145-III (customer ICE, tax identifier, separate VAT amount, payment method) is still a valid invoice today. Those who say otherwise are describing the future system, not the law in force.

Two categories are expressly outside the scope: auto-entrepreneurs and taxpayers under the single professional contribution, under Article 145-XI.

The e-invoicing timetable announced by the DGI, to be read with caution

The Director General of Taxes outlined the project in April 2026, and the business press has since published a more detailed timetable. It comes in three waves.

The first would target large companies, those above 200 million dirhams in turnover, for their business-to-business and government transactions. According to figures relayed by the press, this represents about 1,655 companies and nearly 64% of the country’s economic volumes. The second wave, between 2027 and 2028, would cover SMEs and mid-sized companies. The smallest businesses would follow after 2028, with simplified tools and a free entry portal.

The start announced for 2026 has not taken place to date. Until the decree is out, these dates are a direction, not a deadline. They are still useful for planning: a company with 300 million dirhams in turnover knows it will be in the first group, whichever month is finally chosen.

Two things to watch this autumn: the draft 2027 Finance Act, which could amend Article 145, and of course the Official Bulletin and the DGI website.

What e-invoicing changes in the way you invoice

Morocco has announced a prior-validation model known as “clearance”. The invoice is no longer a document sent straight to the customer. It first goes to the DGI platform, which checks it, assigns it an identifier and then forwards it. Without that stamp, it would have no tax value.

The file itself changes nature. The talk is of a structured, machine-readable XML format that the platform can check field by field. A PDF is an image of an invoice; the structured file carries the data. That difference will let the tax authority automatically cross-check the seller’s and the buyer’s declarations.

Why is the State pushing so hard? Fake invoices are estimated to cost between 40 and 50 billion dirhams in lost revenue, according to tax data picked up by the press. Over the same period, VAT credit refunds rose from 13.5 billion dirhams in 2021 to 22 billion in 2024. An invoice validated in real time makes it possible to process these refunds faster and to spot fictitious invoicing circuits much earlier.

On the procurement side: receiving supplier invoices is the real project

There is a lot of talk about issuing invoices. For a procurement department or supplier accounting team, however, the shock will mostly come from receiving them.

Take a common case. A spare-parts supplier sends an invoice for MAD 184,000. The purchase order was for 160 units, the goods receipt shows 150, and the ICE quoted is the parent company’s instead of the subsidiary’s. Today that invoice circulates for three weeks between the buyer, the warehouse and accounting, then someone corrects it by hand. With a DGI-validated invoice, the ICE error can no longer be fixed with a pen: a credit note and a new invoice will be needed, both of which go through the platform again.

Preparation therefore starts with data: supplier records with a verified ICE, systematic purchase orders, goods receipts entered when the goods arrive. Once invoices are received as data, the matching between order, receipt and invoice can run on its own, and teams only handle the exceptions. That is precisely the role of supplier invoice management and three-way matching in SEMS. For suppliers who will keep sending PDFs for a long time, automatic invoice reading with OCR yields the same data without re-keying.

There is also a direct effect on payment terms. An invoice received in structured, time-stamped form leaves little room for debate about its receipt date, which matters since the new payment-term rules came into force. We covered them in our article Law 69-21: payment terms in Morocco.

Preparing for e-invoicing without waiting for the decree

Buying a solution today that is presented as “DGI-certified” would be unwise: no official certification exists yet. On the other hand, several workstreams do not depend on the text and pay off right away.

The first is to measure. How many invoices are issued and received each month, from how many suppliers, through which channels? Many companies discover on this occasion that a good share of their supplier invoices still arrive by post or as an email attachment sent to a buyer.

The second is cleaning up the supplier master data: ICE, tax identifier, exact company name, bank details. An invoice validated by the tax authority will not forgive an approximate supplier record.

The third concerns the internal approval workflow. Who approves what, within what time, and what do you do with an invoice that arrives without an order? It has to be written down before it can be automated.

The last is a question for your ERP vendor or integrator: how do you plan to connect to the DGI platform once the specifications are published, and how long will it take?

A company that has done these four things will be ready within weeks the day the decree appears. One that waits will discover its data problems at the moment each rejected invoice blocks a payment.

Frequently asked questions about e-invoicing in Morocco

Is e-invoicing already mandatory in Morocco?

Not as of mid-October 2026. Article 145-IX of the tax code sets the principle, but the decree that must fix the dates, thresholds and format has not been published in the Official Bulletin.

Is a PDF invoice sent by email still valid?

Yes, as long as it carries the mandatory mentions of Article 145-III and continuous numbering. That will change for the companies concerned once the implementing decree comes into force.

Which companies will be affected first?

According to DGI announcements and the business press, large companies with more than 200 million dirhams in turnover, then SMEs and mid-sized companies between 2027 and 2028. These points remain to be confirmed by the official text.

Are auto-entrepreneurs concerned?

No. Article 145-XI excludes auto-entrepreneurs and taxpayers under the single professional contribution.