The firm opens soon. Guides and calculators are already free to use —get notified when we open
Tax

Electronic invoicing in Morocco: what the CGI states, what remains to be confirmed, and how to prepare

Article 145-IX of the General Tax Code (CGI): electronic invoicing system in Morocco, businesses covered, exclusions, implementation timeline, and penalties.

Published 2 min readLevel: IntermediateEl Arabi Aich

In brief
  • The legal basis exists: Article 145-IX of the General Tax Code (CGI) requires businesses subject to corporate income tax (IS), personal income tax (IR) under the actual or simplified net profit regime, and VAT to adopt an electronic invoicing IT system meeting the tax authority’s criteria.
  • The practical details (sector rollout, timeline, format) are set by regulation. According to guides consulted in September 2026, no implementing decree had been published in the Official Gazette (Bulletin officiel): dates circulating online are not official deadlines.
  • Auto-entrepreneurs and taxpayers under the single professional contribution (CPU) are excluded from this obligation (art. 145-XI), though they must hold an email address (art. 145-X).

Electronic invoicing is one of the most searched topics at the moment, and one of the most poorly documented: many pages online announce dates and penalties that are not backed by any published legal text. This article separates what is in the law, what has been announced, and what remains to be confirmed.

What the CGI states (certain)

Article 145 of the General Tax Code (CGI) governs the keeping of accounting records and invoices. Paragraph IX sets out the principle:

Taxpayers subject to corporate income tax (IS), personal income tax (IR) on professional income determined under the actual or simplified net profit regime, and those liable for VAT must equip themselves with an electronic invoicing IT system meeting the technical criteria determined by the tax administration.

Three further points from the same article:

  • Procedures set by regulation: they are established “according to the activities of each sector” (art. 145-IX, final paragraph).
  • Email address: all taxpayers must hold an email address of their choice (art. 145-X).
  • Exclusions: individuals under the single professional contribution (CPU) or auto-entrepreneur regime are not subject to this article, save for the email address requirement (art. 145-XI).

Alongside this, the 2026 Finance Act made electronic accounting mandatory, with an accounting entries file per financial year, as well as an email address for notifications (see the 2026 Finance Act).

What has been announced (but not confirmed)

Guides and articles consulted in September 2026 describe a model involving prior validation of invoices through a General Tax Directorate (DGI) platform, with a first wave targeting large enterprises (over MAD 200 million in turnover), followed by extensions to medium-sized and small businesses. These sources:

  • disagree on the intermediate dates (2026, 2027, 2028);
  • disagree on the penalties (amounts of MAD 500 or MAD 1,000 per invoice are cited, with differing caps);
  • indicate that no implementing decree had been published in the Official Gazette (Bulletin officiel) as of that date.

Treat this information as indications, not as official deadlines.

How to prepare without waiting

  1. Audit your invoicing tool: continuous numbering, mandatory details under Article 145 (see the invoicing guide), and the ability to export invoices in a structured format.
  2. Clean up customer data: exact legal name, address, and ICE (Common Business Identifier).
  3. Link invoicing and accounting: consistency between issued invoices, output VAT collected, and accounting entries.
  4. Check the accounting entries file (FEC): your software must be able to generate it for each financial year.
  5. Declare an email address to the tax administration (mandatory for everyone).
  6. Document your processes: who issues, approves, and corrects an invoice, and how credit notes are handled.
  7. Follow the official source: the DGI portal and the Official Gazette.

Why this matters for an SME

An electronic invoice transmitted to the tax administration makes any discrepancy visible between what you invoice, what you declare, and what your customers deduct. Businesses whose invoicing is already in order (numbering, ICE, accurate VAT, tracked credit notes) will have little work to do; those invoicing manually or in a spreadsheet will need to switch tools.

We will update this article as soon as an implementing text is published.

Frequently asked questions

Is electronic invoicing already mandatory in Morocco?

The principle is in the law: Article 145-IX of the General Tax Code (CGI) requires an electronic invoicing IT system for taxpayers subject to corporate income tax (IS), personal income tax (IR) under the actual or simplified net profit regime, and VAT. However, the practical procedures, by sector, are set by regulation. Check the DGI portal to see whether the implementing text has been published before setting a date.

Are auto-entrepreneurs affected?

No. Article 145-XI excludes individuals whose professional income falls under the single professional contribution (CPU) or the auto-entrepreneur regime, subject to the requirement to hold an email address (art. 145-X).

What should I do right now?

Check that your invoicing software issues invoices compliant with Article 145, that your customer records include their ICE (Common Business Identifier), that your data can be exported in a structured format, that your accounting software can produce the accounting entries file (FEC), and that you have a declared email address.

What are the penalties for non-compliance?

They are not set to date in any published implementing text. The amounts cited online vary: do not rely on any figure that does not refer to the Official Gazette (Bulletin officiel) or the General Tax Directorate (DGI).

Reference texts
  • CGI 2026, art. 145-III, IV, IX, X and XI — invoicing, electronic invoicing IT system, and email address
  • Finance Act No. 50-25 for 2026 — electronic accounting and mandatory email address
  • Firm guides and business press (September 2026) — status of implementing decree: not published in the Official Gazette according to these sources; verify on the DGI portal

This article presents general rules as at the date shown; it does not replace an analysis of your situation. The French version of the texts prevails.

El Arabi Aich

Article written from the official texts and the firm’s engagement practice. It shows its publication date and, where applicable, its last review.

Related articles

A question about your situation?

Tell us about your project: we reply within 48 business hours with a draft engagement letter.