Preparing for e-invoicing in Morocco has become a concrete issue for SMEs: the Direction Générale des Impôts (DGI) has announced a progressive rollout, first targeting large companies in 2026, then SMEs and mid-sized companies in 2027-2028. The precise timetable is still to be set by a decree, not published to date. Behind this regulatory change lies an operational transformation: the announced principle is not simply digital archiving, but prior validation of invoices by a DGI platform, known as 'clearance'. For an SME director, this means that a simple PDF sent by e-mail will eventually no longer be enough, and that the invoicing tool used today will need to be able to produce structured data. This practical guide separates what has been announced from what has not yet been published, explains how to place your company in the timetable, offers a checklist of actions that are useful right now, and shows what Crystal ERP (erp.crystalit.ma) already lets you prepare. For a full overview of the reform, see our pillar article on electronic invoicing in Morocco 2026 (Electronic invoicing in Morocco in 2026). Always verify your exact obligations on the official DGI portal (tax.gov.ma).
What really changes for SMEs: the prior validation principle announced by the DGI
E-invoicing in Morocco does not mean sending invoices by e-mail as PDFs. The principle announced by the DGI is known as 'clearance', or continuous transaction control: invoices would be transmitted to the DGI's e-invoicing platform, which would validate them beforehand. This platform was developed by xHub on behalf of the DGI, but its public name, its technical specification and the validation procedures have not yet been published. It should not be confused with SIMPL, the DGI's online services portal: SIMPL-TVA is used to file and pay VAT, not to validate invoices.
Concretely, the structured invoice standards cited are UBL 2.1 and UN/CEFACT CII. However, the Moroccan profile — the exact list of required fields and the signature rules — has not been published: no file can therefore be declared compliant today with a specification that is not yet publicly available. What an SME can do right now is make the basic information on its invoices reliable (ICE, mandatory details, VAT breakdown) and equip itself with a tool able to produce structured data. To learn more about the clearance principle, see our dedicated guide (SIMPL-TVA and electronic invoicing in Morocco: what you need to know).
- Announced principle: prior validation of invoices by the DGI's e-invoicing platform ('clearance'), whose technical procedures have not yet been published.
- A PDF sent by e-mail is not a structured e-invoice, even if electronically signed.
- Structured standards cited: UBL 2.1 and UN/CEFACT CII; the Moroccan profile (required fields, signature) has not been published.
- To clean up now: your company's ICE and that of your business customers, mandatory invoice details, VAT breakdown.
- SIMPL-TVA, on the DGI's online services portal, is used to file and pay VAT: it is not the e-invoicing platform.
Placing your company: the announced timetable by company size
The reform will not apply to all companies at the same time. The announced timetable is progressive and structured by company size, giving smaller structures more time to prepare. It is nonetheless useful to know now which wave you are in, because making your data reliable and adapting your invoicing tool takes time.
The announced timetable, reported by the press in June 2026, is as follows: in 2026, large companies' operations with public administrations (B2G), i.e. around 1,655 companies with turnover above 200 million dirhams; in 2027-2028, SMEs and mid-sized companies; after 2028, very small businesses, through simplified solutions. No exact dates have been set: the precise timetable is to be fixed by a decree, not published to date. Be wary of any precise obligation date that does not refer to an official text, and check the DGI portal (tax.gov.ma). For an analysis of the timetable, see our dedicated guide (Electronic invoicing timeline in Morocco).
- 2026: B2G operations of large companies (around 1,655 companies with turnover above MAD 200 million).
- 2027-2028: SMEs and mid-sized companies, with no precise date so far.
- After 2028: very small businesses, through simplified solutions.
- Precise timetable: to be set by a decree, not published to date.
- Consult the official DGI portal (tax.gov.ma) to find the dates that apply to you as soon as they are published.
Checklist: 5 actions to be ready on time
Preparing for e-invoicing cannot be improvised at the last minute. Even though the technical specification of the DGI platform has not yet been published, part of the work does not depend on it: the quality of customer data, rigour on mandatory invoice details and the ability of your invoicing tool to produce structured data. Here are five actions that are useful today, in order.
These steps apply regardless of the size of the SME. Large companies, targeted in 2026 for their B2G operations, are the first concerned; for SMEs and mid-sized companies, announced for 2027-2028, the available time should be put to use now, without waiting for the decree that will set the precise dates.
- Step 1 — Place your company: identify your likely wave (large company, SME or mid-sized company, very small business) and follow official announcements on the DGI portal (tax.gov.ma).
- Step 2 — Make ICE and mandatory details reliable: check your company's ICE and that of each business customer, as well as the details shown on your invoices.
- Step 3 — Structure your invoicing data: deduplicated customer records, consistent products and VAT rates, unbroken invoice numbering.
- Step 4 — Choose a tool able to export structured data: software that produces invoices in UBL 2.1 format, rather than a spreadsheet or a plain PDF.
- Step 5 — Train your teams and follow the reform: explain to accounting and sales teams what has been announced, and adapt your processes as the DGI publishes the decree and the technical specification.
Choosing invoicing software ready for the reform
Choosing the software is a decisive step in the preparation. The penalties announced for non-compliance are tax penalties, disallowance of the deduction of expenses for non-compliant invoices and prosecution in cases of serious fraud; no amount has been published to date. It is therefore worth choosing now a solution that produces reliable, structured invoicing data, and whose publisher keeps up with the reform.
The technical criteria to check are clear: does the software check the ICE and mandatory details before an invoice is issued? Does it export structured invoices in a recognised standard such as UBL 2.1 or UN/CEFACT CII, without manual conversion? Does the publisher clearly distinguish what is already available from what still depends on publication of the DGI specification? Be wary of a tool presented as already connected to a platform whose specification has not been published. Contractual criteria are equally important: is the publisher based in Morocco? Does it know the local market? Does it provide responsive support? For a more complete evaluation grid, see our dedicated guide (DGI electronic invoicing: preparing your invoicing software).
- Checks before issuance: ICE, mandatory details and invoice structure verified by the software.
- Structured export: invoices produced in a standard such as UBL 2.1 or UN/CEFACT CII, without external conversion.
- Publisher transparency: what is available today must be distinguished from what awaits the DGI specification.
- Scalability: a SaaS solution delivers software updates without reinstalling on each workstation.
- Moroccan publisher, local support: a publisher who knows the Moroccan market is a guarantee of continuity and responsiveness.
Crystal ERP: what it already lets you prepare
Crystal ERP (erp.crystalit.ma) is the SaaS ERP developed by CRYSTAL IT, a publisher based in Rabat with more than 20 years of experience in management software for Moroccan companies. On e-invoicing, it does two things today: it checks the readiness of each invoice (ICE, mandatory details, structure) and exports it in standard UBL 2.1 format. Transmission of invoices to the DGI's e-invoicing platform will be added once its technical specification is published.
Beyond invoicing, Crystal ERP covers all the management needs of a Moroccan SME: quotes, purchase orders, delivery notes, stock, purchasing and accounting. The entire commercial and accounting cycle stays in a single, consistent workflow with no double entry, which makes reliable precisely the data that e-invoicing will need. As a SaaS solution, Crystal ERP evolves without any installation on your side: reform-related additions, such as transmission to the DGI platform, will be made available to users when they become available. For a Moroccan SME, it is a way to prepare its data and its tool now, without waiting for the last minute.
Preparing for e-invoicing in Morocco means first distinguishing what has been announced from what is still to be published. The principle of prior validation of invoices by a DGI platform has been announced, as has a progressive timetable targeting SMEs and mid-sized companies in 2027-2028; the decree setting the precise dates and the platform's technical specification are still awaited. For a Moroccan SME, the safest path is to make ICE and mandatory details reliable now, structure its invoicing data, choose a tool able to export structured invoices and follow official announcements. Crystal ERP (erp.crystalit.ma) checks invoice readiness and exports standard UBL 2.1; transmission to the DGI platform will be added once its specification is published. Consult the official DGI portal (tax.gov.ma) for the dates that apply to you, and contact the CRYSTAL IT team for a Crystal ERP demonstration tailored to your business. Also see our comprehensive overview of e-invoicing in Morocco 2026 (Electronic invoicing in Morocco in 2026) and our guide on penalties for non-compliance (E-invoicing penalties in Morocco).
The CRYSTAL IT solution on this topic
Have a project or a question? Let's talk with a CRYSTAL IT expert.
Request a demo

