Skip to content
CRYSTAL ITIT Solutions
Electronic invoicing

Electronic invoicing in Morocco in 2026: DGI mandate, timeline and compliance

July 3, 20268 min read
Electronic invoicing in Morocco in 2026: DGI mandate, timeline and compliance

Electronic invoicing in Morocco becomes a legal obligation starting in 2026. Driven by the Directorate General of Taxes (DGI) under the 2026 Finance Law and Article 145 of the General Tax Code, the reform requires companies to issue their invoices in a structured electronic format, validated by the tax authority before being sent to the customer. This is no longer a mere modernisation: it is a change of method that concerns, in successive waves, every Moroccan company — from large enterprises as early as January 2026 to SMEs and very small businesses in 2027. This guide reviews what electronic invoicing really is, the official timeline by turnover bracket, the 'clearance' model chosen by Morocco, the penalties involved, and how to become compliant with confidence.

Electronic invoicing in Morocco in 2026: what are we talking about?

Electronic invoicing does not mean sending a PDF by email, nor scanning a paper invoice. It means issuing each invoice in a structured electronic format, readable by computer systems, and having it validated by the DGI platform before it is sent to the customer. The plain PDF is in fact explicitly excluded: the invoice must be produced in a standardised format — UBL 2.1 or UN/CEFACT CII — and carry the mandatory data that makes it usable by the administration.

In concrete terms, the reform relies on the national Simpl-TVA platform set up by the DGI (a pilot phase was run at the end of 2025). Every invoice passes through it to be checked before being considered legally valid. The State's aim is twofold: to fight VAT fraud and to make tax collection more reliable, by having a near real-time picture of transactions between businesses.

  • Mandatory structured format: UBL 2.1 or UN/CEFACT CII (a plain PDF is not compliant).
  • Mandatory data: ICE and IF identifiers, VAT breakdown, invoice line items.
  • Validation by the DGI's Simpl-TVA platform before transmission to the customer.
  • Scope: business-to-business (B2B) and public sector (B2G) transactions first, with B2C following in a later phase.

The DGI mandate timeline, by turnover bracket

The reform applies in stages, starting with the largest organisations before extending to smaller ones. The rollout is based on the company's annual turnover, following a progressive timeline that gives each category time to get equipped. The broad lines announced are as follows:

  • 1 January 2026: large companies subject to corporate tax with turnover above 200 million dirhams, as well as public sector suppliers.
  • 1 July 2026: medium-sized companies, with turnover between 10 and 200 million dirhams.
  • 1 January 2027: SMEs and very small businesses (turnover below 10 million dirhams) and self-employed entrepreneurs with turnover above 500,000 dirhams.

The 'clearance' model: how an invoice becomes valid

Morocco has adopted the so-called 'clearance' (prior validation) model, one of the most demanding in the world and already used by countries such as Mexico, Turkey or Saudi Arabia. In this model, an invoice only legally exists once it has been transmitted to the tax administration's platform, checked by it and validated. Until that validation has taken place, the invoice is not enforceable: it is no longer the company alone that decides an invoice is issued — it is the passage through the DGI system that authenticates it.

This logic changes the timing of invoicing. Where an invoice could once be issued and then corrected at will, it must now be produced in the right format, transmitted and validated in the flow of business. For the company, this requires a tool able to communicate automatically with the platform and handle the validation responses — a task no Word template or spreadsheet can perform.

Penalties and stakes: why you should not wait for the deadline

Electronic invoicing is not a recommendation: failing to comply carries penalties and, above all, a direct tax risk for the company. Postponing compliance means exposing yourself both to fines and to a last-minute bottleneck, at the very moment when every company in the same bracket will be trying to get equipped at once.

The points to keep in mind:

  • A fine of 500 dirhams per non-compliant invoice, up to a limit of 50,000 dirhams per year.
  • From 2027, a risk of losing the right to deduct VAT on non-compliant invoices.
  • An invoice in plain PDF format, outside the platform, is not recognised.
  • Companies that anticipate approach the reform calmly; those who wait endure the rush.

Becoming compliant with a Moroccan ERP: Crystal ERP

Complying with electronic invoicing is not just about ticking a box: it is an opportunity to integrate invoicing into the rest of management rather than handling it separately. That is the approach of Crystal ERP (erp.crystalit.ma), the Moroccan SaaS ERP developed by CRYSTAL IT: quotes, orders and deliveries turn into invoices with no re-entry, and each invoice automatically feeds payment tracking and accounting. Available in SaaS mode, the product benefits from continuous updates — a decisive point when regulation evolves in step with the DGI's timeline waves.

Developed in Rabat by a company with more than 20 years of experience, Crystal ERP comes with local support that understands the Moroccan tax context. This guide is the first in a series devoted to the reform: the coming articles will detail the timeline by turnover bracket, the UBL format and mandatory mentions, how Simpl-TVA validation works, the penalties, and a preparation checklist for SMEs. For the precise tax terms and the final timeline applicable to your company, please refer to the official DGI portal or your chartered accountant.

Mandatory electronic invoicing is not a threat, but a milestone to cross — and it is better to do so early, with the right tool. Beyond simply issuing invoices, the challenge for Moroccan companies is to adopt management where invoicing is integrated, structured and ready to communicate with the DGI's Simpl-TVA platform. Crystal ERP, powered by Crystal IA, places invoicing at the heart of all-in-one management and evolves in step with the reform. To take stock of your situation and anticipate the deadline calmly, request a personalised demonstration from the CRYSTAL IT teams in Rabat, with no obligation. (For the precise timeline and tax terms, please refer to the DGI or your chartered accountant.)

Have a project or a question? Let's talk with a CRYSTAL IT expert.

Request a demo