E-invoicing in Morocco
Prepare your company now, with structured invoices and clean data.
What changes for businesses
The DGI has announced the move to e-invoicing, with a gradual rollout. Implementing texts set the dates, the companies concerned and the technical terms.
In the meantime, the goal is to avoid starting from scratch: contacts with their ICE, continuous numbering and structured invoices make the transition easier.
The timetable may change: check official DGI communications and ask your accountant.

The steps, from your data to transmission
- Your dataICE, IF, RC and required details together
- Your invoiceNumbered and locked on validation
- The structured formatUBL 2.1 file generated, provisionally
- TransmissionConnected once the DGI specifications are published
What you can do today
Complete invoices
Moroccan details, amount in words, templates and logo.
Reliable numbering
Chronological numbers, documents locked after validation, corrections by credit note.
A network of companies
Verified companies can receive your invoices directly in their workspace.
All m2m.ma features
Latest articles
E-invoicingInvoicing software in Morocco: the criteria for choosing
Invoicing software in Morocco: compliance, ICE, VAT, accounting link, online payment, mobility and price. The concrete criteria for choosing the right tool.
E-invoicingCommon invoice mistakes in Morocco: 10 pitfalls to avoid
Common invoice mistakes in Morocco: missing ICE, gaps in numbering, miscalculated VAT, edited invoices. How to spot them and how to avoid them for good.
E-invoicingMorocco VAT return: how to prepare it properly every period
Morocco VAT return: gather your invoices, check output and input VAT, prepare the statement of deductions and file online with the DGI without the stress.
E-invoicingInvoicing and accounting: automatic entries and the CGNC
Invoicing and accounting: how an invoice becomes an entry under the Moroccan CGNC chart of accounts, and what automating your bookkeeping changes for you.
E-invoicingInvoice security: guaranteeing integrity and traceability
E-invoice security: how to guarantee invoice integrity, prevent fake bank details fraud, protect user access and keep a reliable audit trail for your business.
E-invoicingXML and UBL formats: e-invoice interoperability explained
XML, UBL and interoperability: understand structured invoices, why they matter for e-invoicing reform in Morocco and how to prepare, without the jargon.
Frequently asked questions
What is an e-invoice?
It is an invoice issued in a structured format that software can read, not just a PDF sent by email.
Which format is planned in Morocco?
Professional sources mention the UBL format and prior validation by the DGI, but official specifications remain to be confirmed. m2m.ma already produces a provisional UBL 2.1 file.
What must appear on my invoices?
Notably your identity, tax identifier, business tax number, your ICE and your customer's, the amounts and VAT, and the payment method. Your accountant can confirm what applies to you.
What happens when the DGI platform opens?
m2m.ma is designed to connect official transmission once the specifications are published, without changing how you invoice.