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 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.
| Phase | Who is affected | Date | Status |
|---|---|---|---|
| Phase 1 | Large companies subject to corporate tax (IS) | Since 1 January 2026 | In force (per sources) |
| Phase 2 | Medium companies | Since 1 July 2026 | In force (per sources) |
| Phase 3 | Very small businesses / SMEs / self-employed (annual turnover > 500,000 DH) | 1 January 2027 (expected) | To be confirmed by decree |
| Phase 4 | Smaller very small businesses | Not confirmed | To 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:
- Identify your phase: estimate your turnover and your category to know when the obligation will apply to you.
- Talk to your chartered accountant: they are the key contact for choosing a compliant invoicing solution.
- Choose invoicing software capable of handling structured formats (UBL 2.1 / CII), electronic signatures, and the connection to the DGI platform.
- Tidy up your collections: a clean transaction history, via a connected terminal and a dashboard, simplifies everything else.
- 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.


