Electronic Invoicing in Morocco: What the 2026 Reform Requires of Businesses

Morocco’s Tax Authority (Direction Générale des Impôts, DGI) reached a decisive milestone in 2026 in rolling out mandatory electronic invoicing. After several years of preparation, the reform is now entering its operational phase for the largest companies, ahead of a gradual extension to the entire Moroccan business fabric by 2028. For legal, finance and accounting departments, this is a compliance project that touches internal processes, information systems and, potentially, the right to deduct VAT. Westfield law firm reviews what this reform concretely changes for Moroccan businesses.

A tax reform grounded in Article 145 of the General Tax Code

The principle of electronic invoicing originates in Article 145, paragraph IX, of the General Tax Code (CGI), which requires taxpayers to adopt an invoicing system meeting technical criteria set by the tax administration. Introduced in principle by the 2018 Finance Act, this provision was concretely activated by the 2024 Finance Act, which set the course for a phased rollout led by the DGI.

The project was built in stages: a public consultation with businesses and accounting professionals launched in October 2024, the award to Moroccan company xHub of the contract to develop the national e-invoicing platform, followed by a pilot phase launched in 2025 allowing volunteer companies to test the system under real conditions before its general rollout.

An important point of caution for practitioners: as of the writing of this article, the implementing decree detailing the precise technical arrangements of the reform has not yet been published in the Official Bulletin, the draft being under review by the Secretariat-General of the Government. Businesses should therefore closely monitor official publications from the DGI (tax.gov.ma) and the Official Bulletin, as the arrangements may still be clarified or adjusted.

Rollout timeline: who is affected, and from when?

The rollout of mandatory electronic invoicing is structured by the DGI around revenue thresholds, so as to give smaller structures more time to adapt. According to DGI communications, around 1,655 large companies are affected by the first wave, in 2026.

Company category Revenue threshold Indicative deadline
Large companies subject to corporate income tax Above 200 million dirhams 2026
Mid-sized companies, SMEs and self-employed entrepreneurs Annual revenue above 500,000 dirhams 2027
Very small businesses and smaller structures Below the above thresholds From 2028

This timeline, as communicated by the DGI, remains indicative until the implementing decree is published: the final dates and the entry-into-force arrangements for each company category will need to be confirmed by the regulatory text. Companies whose revenue is close to the announced thresholds therefore have an interest in preparing ahead of time, without waiting for the official publication, given the lead time required for technical compliance under the reform.

The “Clearance” model: prior validation by the DGI

On the technical side, Morocco has opted for a so-called “Clearance” model, or continuous transaction control, already used by several countries such as Italy, Brazil and Saudi Arabia. The principle is as follows: every electronic invoice must be submitted to the DGI’s national platform and validated by it before it can be legally transmitted to the customer. An invoice that has not received this prior validation has no legal value.

Two architectures are under consideration by the administration: a “4-corner” model, in which the supplier transmits the invoice simultaneously to its customer and to the DGI, and a “5-corner” model, which introduces an accredited third-party technical operator responsible for validating, time-stamping and transmitting invoices. The final choice between these two architectures, and its practical consequences for businesses, is expected to be clarified by the implementing decree.

Technical requirements: format, identification and archiving

Beyond the validation principle, the reform imposes a number of technical requirements that break with current practices at many Moroccan companies:

  • Invoices will need to be issued in a structured XML format, compliant with the international standards UBL (Universal Business Language) or CII (Cross-Industry Invoice); a simple PDF file sent by email will not be considered compliant.
  • Each invoice will need to include the Common Business Identifier (ICE) of both the seller and the buyer, and these identifiers will need to be validated by the platform.
  • An electronic signature, together with a reliable timestamp, will be required to guarantee the authenticity and integrity of each invoice.
  • Electronic invoices will need to be securely archived for a period of ten years, in accordance with the record-retention rules applicable under Moroccan law.

For many companies, these requirements mean upgrading or replacing their invoicing or management software, as well as a technical integration with the DGI’s platform once it is fully operational.

What are the risks of non-compliance?

Several specialized sources report a sanctions regime associated with the reform: a fine in the order of 500 dirhams per non-compliant invoice, subject to an annual cap, as well as a risk, in the longer term, of losing the right to deduct VAT relating to non-compliant invoices. These elements, not yet definitively confirmed by a published regulatory text, deserve close monitoring: beyond the financial penalty, the loss of the right to deduct VAT would represent a significant cash-flow issue for the companies concerned.

Beyond individual sanctions, the reform addresses a major budgetary concern for the State: the fight against false invoices and VAT fraud, a phenomenon whose fiscal shortfall is regularly estimated by industry players at several tens of billions of dirhams per year.

Preparing ahead rather than reacting to the reform

Given the scale of the technical and organizational undertaking that electronic invoicing represents, practitioners recommend starting compliance efforts several months before the deadline applicable to the company, rather than at the last minute. For large companies already affected in 2026, this kind of preparation has now become an operational necessity.

Practical points of attention for businesses

  • Check now whether the company’s revenue places it within the scope of the first wave (above 200 million dirhams) or a later wave.
  • Monitor the publication of the implementing decree in the Official Bulletin, which will specify the final arrangements, exact deadlines and any sector-specific adjustments.
  • Audit the current invoicing system (software, invoice format, ICE management) to identify gaps against the UBL/CII and electronic signature requirements.
  • Anticipate how electronic invoicing will interact with accounting obligations, including the requirement to keep accounts in electronic format, which was also strengthened by the 2026 Finance Act for taxpayers subject to corporate income tax or VAT.
  • Raise awareness among accounting, finance and sales teams, as well as key suppliers and customers, about the changes to invoicing processes.
  • Where relevant, put in place contractual safeguards with technical service providers (software vendors, future accredited e-invoicing operators) responsible for ensuring the company’s compliance.

Conclusion

Mandatory electronic invoicing marks a structural transformation in the relationship between Moroccan businesses and the tax administration, with a first milestone as early as 2026 for large companies. While the precise timeline and certain technical arrangements remain pending publication of the implementing decree, the broad outlines of the reform are now known and call for prompt preparation, particularly for companies close to the announced thresholds.

This article presents a general overview and does not constitute legal advice. Each company’s situation calls for an individualized analysis, taking into account in particular its sector of activity, its invoicing structure and its information systems. Westfield law firm advises Moroccan and international businesses on the analysis of their tax obligations and on securing their compliance: please do not hesitate to contact our firm with any questions regarding this reform.

Leave a Reply

Your email address will not be published. Required fields are marked *