Skip to Content
News · DGI e-invoicing

DGI electronic invoicing: what is confirmed, what is still unclear — summer 2026 status update

Published on 1 August 2026 · By the Karizma team · 6 min read

In brief: electronic invoicing is coming to Morocco — that much is settled: a phased obligation, a “clearance” model in which the tax administration validates the invoice before it is transmitted to the customer, and a rollout by decreasing company size, starting with large enterprises. The precise timetable and the thresholds circulating here and there, however, diverge from one source to another, as no implementing texts have been published. Our advice: do not wait for the decree to get ready — the prerequisites (clean master data, mandatory invoice details, invoicing already digitalised in an ERP) take months to put in place, and they are the same whatever the final timetable turns out to be.

What is confirmed

A phased obligation, not an option

The principle of mandatory electronic invoicing is set out in Morocco's legislative framework, and the DGI has begun building the system. The approach adopted is a rollout in waves, starting with large enterprises before extending progressively to mid-sized companies and then to small businesses — the very pattern already proven in countries that have carried out this reform.

The “clearance” model

Morocco is moving towards what is known as a clearance model: the electronic invoice, structured in a standardised format (UBL/XML type), is validated by the tax administration's platform before being transmitted to the customer. The invoice is born digital, electronically signed and time-stamped — paper ceases to be the legal reference. In practical terms: a PDF sent by email will not be a compliant electronic invoice.

The objective: fake invoices

The main stated aim is the fight against invoicing fraud, whose cost is estimated by the tax analyses relayed in the press at several tens of billions of dirhams. Prior validation by the administration makes fake invoicing mechanically far more difficult.

What is still unclear (and why you should treat it with caution)

Try it for yourself: search for “electronic invoicing Morocco timetable” and compare the results. Some firms announce a first phase for companies above 200 M DH of turnover, others mention 50 M DH, with different entry-into-force dates. There is a simple explanation for these contradictory timetables: the detailed implementing texts have not yet been published, and everyone is extrapolating. Any precise date you read today is a hypothesis, not an official deadline.

Our position: rely solely on the official texts once they are issued — and accept that uncertainty over the date changes nothing about the need to prepare, because large enterprises will go first and will pull their entire supplier chain along with them.

Getting ready without waiting for the decree: the 4 prerequisites

  • Clean master data. Complete and verified ICE, IF and RC details for your customers and suppliers, standardised items and TVA rates: structured electronic invoicing does not tolerate approximate databases.
  • Invoices that are already compliant. Mandatory details applied systematically (customer ICE, RC, IF, TP, amount in words): what is optional in practice today will become a blocker at validation.
  • Invoicing already digitalised in an ERP. If your invoices come out of Excel or Word, the step is a double one: digitalise first, then connect to the platform. Companies already running an ERP will simply have the connection to switch on.
  • A software publisher able to keep pace with the reform. Connecting to the DGI platform will be a continuous software programme (formats, statuses, rejections, credit notes). Make sure your provider has already proven itself in this field.

On that last point, we speak from experience: Karizma has developed the connection to the DGI electronic invoicing system and already runs it in production, and we have onboarded more than 30 clients onto the French e-invoicing scheme — a comparable reform, carried out a few years earlier. What we learned there: those who start six months ahead go through a formality; those who start six weeks ahead go through a crisis.

Where do you stand? Our 2026 Compliance Diagnostic assesses your readiness for e-invoicing, electronic accounting and withholding taxes in 3 minutes — instant score and action plan.

Frequently asked questions

Is electronic invoicing already mandatory in Morocco?
No, not yet on a general basis: the principle is settled and the system is being built, but the implementing texts setting the final timetable and the thresholds for each phase have not been published. Large enterprises will be concerned first.
Will a PDF sent by email be a compliant electronic invoice?
No. Under the clearance model being targeted, the invoice is a structured file (UBL/XML type), electronically signed and validated by the administration's platform before transmission to the customer. The PDF is only a visual representation.
My SME is not in the first wave: can I wait?
That is risky. As soon as your large-account customers switch over, they will require compliant invoices from their suppliers. And the prerequisites — clean master data, mandatory details, digitalised invoicing — take months of upgrading.
Is Odoo ready for Moroccan e-invoicing?
Odoo natively handles the structured electronic invoice formats (UBL in particular) used in many countries, and Karizma has already developed and put into production the connection to the DGI electronic invoicing system. Our clients will be connected to the national platform as soon as their phase opens.
Sources: AMDE, “Electronic invoicing in Morocco: guide to the DGI reform” · Efficience Expertise, “Electronic invoicing 2026 in Morocco” · Moroccan business press analyses, July 2026. The timetables cited by these sources diverge — only the official texts still to come will be authoritative.

Prepare your e-invoicing with a team that has already done it

DGI connection live in production, more than 30 e-invoicing clients in France: talk to people who have already been through the reform.

Book a 30-minute call