Blog/July 09, 2026·3 min

Moroccan SMEs: how to get ready for DGI e-invoicing

Your deadline is most likely January 2027 — but the preparation starts now. Data to clean, processes to review, questions to ask your software vendor. A concrete action plan, no jargon.

If your company's turnover is below MAD 10 million, your obligation to issue electronic invoices starts on January 1, 2027 (as soon as your annual turnover exceeds MAD 500,000). That may sound far away. It is not: businesses that went through the first waves — large companies in January 2026, mid-sized companies in July 2026 — all report the same thing: the longest part is not the tool, it is upgrading your data and your habits.

Here is a preparation plan in five workstreams.

1. Clean up your customer and supplier data

An e-invoice cleared by the DGI requires exact identifiers: the ICE (Identifiant Commun de l'Entreprise), the tax identifier (IF), the exact legal name, the address. A customer database with missing or wrong ICE numbers will block your invoices at validation time. Start now:

  • export your customer base and flag records without an ICE or IF;
  • fix them as you go, with every new order;
  • make the ICE a mandatory field in your customer creation process.

2. Map your current invoicing process

Who creates invoices? In which tool (software, Excel, Word)? Who approves them? How are credit notes handled? In Morocco's clearance model, the invoice must be transmitted in a structured format (UBL 2.1 or CII) and validated by the tax platform before it is legally valid. Word or Excel invoices sent as PDFs will not survive this reform: identify everything that is still produced by hand in your company.

3. Ask your software vendor the right questions

Three simple questions are enough to sort the market:

  1. "Do you generate invoices in UBL 2.1 or CII format?" — the format required by the Moroccan reform.
  2. "How do you track DGI publications and implementing texts?" — the technical connection procedures are still being specified; a serious vendor should be able to cite its sources.
  3. "What happens to my invoices if validation fails?" — you need to understand the correction workflow before you need it.

Be wary of unverifiable "DGI certified" claims: rely on what the administration actually publishes (tax.gov.ma, Bulletin Officiel).

4. Get ready to receive before you emit

An often-neglected point: since 2026, your large-account suppliers already issue electronic invoices. Your bookkeeping must be able to receive, archive and process them without printing them out. It is also an excellent risk-free dress rehearsal before your own switch to e-invoice issuance.

5. Price the cost of doing nothing

The fine is MAD 500 per non-compliant invoice, capped at MAD 50,000 per year. But the real risk lies elsewhere: from 2027, a non-compliant invoice will no longer support VAT deduction. For an SME invoicing MAD 2 million a year, non-deductible VAT quickly adds up to tens of thousands of dirhams — far more than the cost of compliant software.

Suggested preparation timeline

  • Summer 2026: audit your data (ICE/IF) and your invoicing process.
  • Autumn 2026: choose your tool, migrate your data, run first tests.
  • December 2026: train the team, run in the supplier e-invoice reception flow.
  • January 2027: issue compliant invoices from day one.

E-invoicing is not only a constraint: equipped businesses report better-tracked payment deadlines, less manual data entry and cleaner books. Better to reap those benefits early than to rush at the deadline.

Sources