Skip to main content
Back to blog
Guides6 min read

Electronic Invoicing in Morocco: Calendar and Impact for Merchants

Morocco's DGI electronic-invoicing calendar explained. What e-invoicing changes for merchants with a POS terminal, and how to get ready.

Electronic Invoicing in Morocco: Calendar and Impact for Merchants

Electronic invoicing is coming: what is it about?

Electronic invoicing (e-invoicing) is gradually becoming mandatory in Morocco. It is not simply about emailing a PDF: it is a structural change in how businesses issue, transmit, and archive their invoices. For many merchants with a payment terminal, this reform raises questions and sometimes confusion. This guide clarifies the calendar, the technical requirements, and what it concretely changes, while staying transparent about the areas that are still uncertain.

Important: most of the information available online comes from consulting-firm blogs or software-vendor content, not from the official text of the Direction Générale des Impôts (DGI). We encourage you to confirm each point with the DGI and your chartered accountant before making any decision.

The legal framework

The legal basis for electronic invoicing in Morocco rests on article 145-IX of the General Tax Code (CGI). The 2024 Finance Law established the principle of a progressive rollout, following a calendar phased according to company size.

This obligation, however, remains subject to an application decree that must specify the technical details, the exact thresholds, and the definitive dates. This is why some of the information circulating today should be treated as expected or to be confirmed.

The rollout calendar

Here is the calendar as it emerges from the majority of sources. The dates and thresholds remain to be confirmed by the DGI application decree.

PhaseWho is affectedDateStatus
Phase 1Large companies subject to corporate tax (IS)Since 1 January 2026In force (per sources)
Phase 2Medium companiesSince 1 July 2026In force (per sources)
Phase 3Very small businesses / SMEs / self-employed (annual turnover > 500,000 DH)1 January 2027 (expected)To be confirmed by decree
Phase 4Smaller very small businessesNot confirmedTo be confirmed by decree

Sources diverge in particular on the treatment of the smallest structures: some place them later in the calendar, others give no date at all. Until the application decree is published, treat these deadlines as indicative.

Technical requirements: a PDF is not enough

This is the most frequently misunderstood point. DGI-compliant electronic invoicing does not mean sending a simple PDF or a scan. The expected requirements are significantly stricter:

  • Structured format: the invoice must be issued in a structured data format, generally UBL 2.1 or CII, not a simple visual document.
  • Electronic signature: each invoice must be electronically signed to guarantee its authenticity and integrity.
  • Prior validation by the DGI: before it is even sent to the customer, the invoice must be transmitted to the DGI platform for validation. This is a so-called "clearance" model: the invoice is valid only once the tax administration has validated it.

In concrete terms, this means your invoicing system will need to communicate with the DGI platform in real time or near real time. A spreadsheet or a Word template exported to PDF will not meet these requirements.

The planned penalties

According to the sources consulted, failing to meet the obligation would expose the merchant to a fine of around 500 DH per non-compliant invoice, within an annual cap of 50,000 DH.

These amounts are consistent across several sources but remain to be confirmed through the official text. The application decree will specify the definitive penalty regime.

POS or invoicing: do not confuse collection and tax obligation

This is the most common confusion among merchants: "my payment terminal is my invoicing". That is not the case, and the distinction is essential.

  • A payment terminal (POS) is used to collect: it processes your customer's card payment, via the national payment network, and secures the transaction.
  • Electronic invoicing is a tax obligation: it concerns the issuance of the invoice document itself, its format, its signature, and its validation by the DGI.

These are two different worlds. Collecting a payment and issuing a compliant invoice are not the same operation. To better understand what your terminal actually does, see our guide on reading your POS transaction statement.

How a modern POS makes your compliance easier

If the POS does not issue your tax invoices, a modern connected terminal and good transaction tracking make your compliance significantly simpler. Here is why.

A clean transaction history

Electronic invoicing requires reliable data on your collections. With a clear, timestamped transaction history, you feed your invoicing software more easily and reconcile your sales effortlessly. Disorganized tracking, by contrast, multiplies the risk of error and therefore of non-compliant invoices.

Export and accounting integration

The TKpay dashboard lets you export your transaction data in a format compatible with your accounting or invoicing software. You thus keep a single, reliable source to feed your invoicing chain.

A clear view for your chartered accountant

The more structured your data, the faster and more confidently your chartered accountant works. A dashboard that distinguishes transaction date from settlement date, by card type and by status, gives them exactly what they need.

To be perfectly clear: TKpay does not issue DGI-compliant electronic invoices on your behalf. Our role is to complement your invoicing setup by making it easier to keep and export your transaction records. Issuing compliant invoices remains the responsibility of your invoicing software and your chartered accountant.

How to prepare right now

Even if your deadline is not immediate, a few simple actions will save you time:

  1. Identify your phase: estimate your turnover and your category to know when the obligation will apply to you.
  2. Talk to your chartered accountant: they are the key contact for choosing a compliant invoicing solution.
  3. Choose invoicing software capable of handling structured formats (UBL 2.1 / CII), electronic signatures, and the connection to the DGI platform.
  4. Tidy up your collections: a clean transaction history, via a connected terminal and a dashboard, simplifies everything else.
  5. Follow the DGI's official publications: the application decree will specify the definitive dates and thresholds.

To fully understand the real cost of your collections and optimize your management, our article on card payment fees in Morocco usefully complements this preparation.

Conclusion

Electronic invoicing is a fundamental reform, distinct from card collection. Your POS does not automatically make you compliant, but a connected terminal and rigorous transaction tracking provide a solid foundation for approaching this transition with confidence.

Discover the TKpay payment terminals and their dashboard to keep clean transaction records that are ready to feed your invoicing solution. For any question about your equipment, contact the TKpay team: we already support close to 600 equipped merchants across Morocco.

Frequently Asked Questions

Does my POS terminal already issue DGI-compliant electronic invoices?+
No. A payment terminal (POS) is used to collect card payments, not to issue tax invoices. Electronic invoicing is a separate tax obligation handled by your invoicing or accounting software. A modern POS and a dashboard like TKpay's do, however, make it easier to keep a clean transaction history that feeds your e-invoicing solution. Always confirm the exact requirements with the DGI and your chartered accountant.
What is the deadline for small merchants?+
According to most sources, very small businesses, SMEs, and self-employed entrepreneurs with annual turnover above 500,000 DH would be affected from 1 January 2027. Sources diverge on lower thresholds, and the calendar remains to be confirmed by the DGI application decree. Check your specific situation with the DGI.
What is the penalty for a non-compliant merchant?+
According to available sources, a fine of around 500 DH per non-compliant invoice would apply, capped at 50,000 DH per year. These amounts should be confirmed through the official DGI text and your chartered accountant, as they depend on the final application decree.