Morocco has no nationwide structured e-invoicing mandate yet. Learn current DGI invoice rules, B2B, B2C, B2G and VAT requirements.
n/a
DGI e-services / future national e-invoicing system
Direction Générale des Impôts (DGI)
-
Electronic invoice submission via AJAL / public-entity platforms
n/a
Retention rules apply
Morocco is actively developing a national electronic invoicing system under the Direction Générale des Impôts (DGI), but a nationwide structured B2B or B2C e-invoicing mandate is not yet officially confirmed as operational.
The DGI confirmed in its 2024 Activity Report that the functional and technical specifications of its future e-invoicing system had been finalised and that development was underway. For businesses, the key distinction is simple: Morocco already has invoice, VAT and digital tax obligations, but these should not be confused with a nationwide real-time e-invoicing clearance regime.
The project is intended to improve transparency, make tax compliance easier, secure commercial transactions and strengthen tax control and fraud prevention. Most importantly, the DGI confirmed that the system's functional and technical specifications were finalised and development was in progress.
This caution matters because Morocco previously paused its e-invoicing implementation. On January 15, 2019, the Ministry of Economy and Finance announced that all measures relating to the implementation of electronic invoicing had been suspended pending preparation of the regulatory framework in consultation with professional bodies.
In Morocco, an invoice created electronically is not automatically a structured e-invoice. Businesses can already generate invoices through accounting, ERP, billing or other computer systems while remaining subject to the normal requirements of the Moroccan General Tax Code. The current 2026 General Tax Code remains the main legal reference for existing invoicing and tax obligations.
The DGI's future national e-invoicing system should therefore be treated separately from invoices that businesses already create and send electronically today. Invoices must be generated and maintained according to the applicable General Tax Code requirements, including continuous invoice numbering and the relevant supplier, customer, transaction, and tax information.

2011: Introduction of the SIMPL portal by the DGI, laying the foundation for mandatory electronic tax declarations for large enterprises.
2018: Amendment to Article 145 of the General Tax Code (CGI), establishing the legal requirement for taxpayers to use billing software that meets specific technical and security criteria set by the DGI.
2020: Enactment of Law No. 43-20 on trust services for electronic transactions, defining the legal framework for qualified electronic signatures and secure electronic seals on digital invoices.
2022–2024: Mandatory integration of electronic invoicing for all public procurement contracts via the State's public procurement portal (TADDAMON / Trésorerie Générale du Royaume).
2025–2026: Enforcement of strict digital traceability, real-time transaction logging, and mandatory certified electronic security protocols across corporate tax filers.
Morocco already has meaningful electronic invoice submission in public procurement, although this is not the same as a nationwide structured tax e-invoicing model.
For EEPs (Établissements et Entreprises Publics), the Ministry introduced a progressive rollout through its own platforms or AJAL. The government roadmap initially covered invoices linked to orders above MAD 5 million from June 2021, with electronic submission progressively extended afterwards.
AJAL remains an official Ministry platform connected with EEP supplier invoices and payment processes. Businesses supplying public entities should therefore check the specific electronic submission process required by the contracting authority rather than assuming there is one universal B2G clearance platform.
B2B e-invoicing in Morocco is legally recognised and regulated under Article 145 of the CGI and Law No. 53-05. While a single, centralised B2B clearing portal for every private transaction is phased across tax tiers, businesses issuing digital invoices must ensure:
B2C transactions do not require structured electronic invoices delivered to the end consumer, but point-of-sale operations are heavily regulated.
Retailers, hospitality businesses, and consumer service providers must use certified POS systems or fiscalised cash registers. These devices must record every sale, secure transaction logs against alteration, and generate receipts containing mandatory legal tax references (ICE - Identifiant Commun de l'Entreprise, IF - Identifiant Fiscal, and VAT breakdown).
Electronic VAT filings, tax payments, and other DGI online services may already be mandatory for relevant taxpayers, but they do not themselves constitute Morocco's structured e-invoicing system.
VAT (Taxe sur la Valeur Ajoutée - TVA) compliance in Morocco requires monthly or quarterly electronic filing via the SIMPL-TVA portal, depending on annual turnover:
CGI results in direct financial and administrative sanctions:
Morocco is a good example of why businesses should avoid hard-coding every local compliance rule into their core billing system. DDD Invoices provides a single API layer that can sit between existing ERP, billing, POS, or other transaction systems and local invoicing infrastructure. Country-specific formats, validations, and transmission requirements can then be handled behind the integration as local rules evolve.
That approach is particularly useful in a market where the regulatory direction is clear, but the final structured e-invoicing requirements are still developing.
Still have questions?
In the 30min free call we will discuss:
A nationwide structured B2B or B2C e-invoicing mandate is not currently verified as operational. The DGI has confirmed that it is developing its national electronic invoicing system.
No nationwide requirement for all invoices to be transmitted to or cleared by the DGI in real time was verified from the official sources reviewed.
A final nationwide mandatory structured format has not yet been officially confirmed in the government material reviewed.
Not automatically. A PDF may be an electronically delivered invoice, but that is different from a structured invoice exchanged through the DGI's future e-invoicing system.
No. Electronic VAT filing and other digital tax services are separate from structured electronic invoicing.
Follow current Moroccan invoice and VAT rules, maintain accurate transaction data and keep invoicing systems flexible enough to support future DGI requirements.
The most reliable sources are the Direction Générale des Impôts and Morocco's Ministry of Economy and Finance, particularly new General Tax Code editions, Finance Laws, DGI activity reports and implementing regulations.