E-invoicing in Morocco: what changes and how to prepare
Last updated: 2026-10-26
Morocco is introducing mandatory electronic invoicing, led by the Directorate General of Taxes (DGI). A gradual rollout is announced from 2026, starting with large companies, but the exact timeline depends on the implementing decree. The planned model has invoices validated by a DGI platform and uses structured formats such as UBL.
Why e-invoicing is becoming mandatory
The DGI aims to reduce VAT fraud, speed up audits and simplify returns. An electronic invoice is not just a PDF: it is a structured, machine-readable file sent through the tax administration’s platform.
The announced timeline
Public communications describe waves by company size: large companies first, then medium-sized companies, then SMEs, very small businesses and auto-entrepreneurs. The dates and revenue thresholds quoted vary between sources and remain to be confirmed by the implementing decree.
Check the DGI website (tax.gov.ma) regularly for the official version.
Format and process
The announced model is a “clearance” model: the invoice is sent to the DGI platform, which validates it before the customer receives it. The structured formats mentioned are UBL (Universal Business Language) and CII (Cross-Industry Invoice).
How to prepare now
- Make sure your invoices include every mandatory field (ICE, IF, RC, numbering…)
- Clean up your customers’ and suppliers’ ICEs
- Digitize your purchase invoices and extract structured data from them
- Choose tools that can produce and read structured data
- Train your accounting team on the new process
What about your existing paper or PDF invoices?
During the transition you will keep receiving PDFs, photos and scans. An AI invoice scanner such as Coumpta turns them into structured data (supplier, ICE, line items, totals) and prepares the VAT deduction statement as XML.
Frequently asked questions
When does e-invoicing become mandatory in Morocco?
A gradual rollout is announced from 2026, starting with large companies. The final timeline depends on the implementing decree published by the government.
Is a PDF sent by email an electronic invoice?
No. Under the reform, an electronic invoice is a structured file (for example UBL) sent and validated through the DGI platform.
Are auto-entrepreneurs affected?
They are in the last announced waves, with revenue thresholds still to be officially confirmed.