Invosphere
Create invoice

Morocco E-Invoicing: DGI Plans, Current Invoice Rules and How to Prepare (2026)

Morocco e-invoicing guide from Invosphere, 2026

By Muhammad Wasim, founder of ToolSphare · Updated 2026-11-30 · ~7 min read

Morocco is preparing to introduce electronic invoicing under the direction of the Direction Générale des Impôts (DGI), as part of a wider digitalisation of tax administration that already includes online filing and payment. Businesses already face detailed invoice requirements, including the Identifiant Commun de l’Entreprise (ICE) on every invoice, VAT shown by rate, and strict rules on payment terms and cash payments. This guide explains the current invoicing rules, what is known about the planned e-invoicing system, VAT rates and reform, the late payment law, cash payment limits, record keeping and how to prepare. Timelines for e-invoicing have been evolving, so check DGI announcements for the latest position. It is general information, not tax advice.

Morocco e-invoicing guide from Invosphere, 2026
A Moroccan invoice shows the ICE and tax identifiers of both parties, VAT by rate and payment terms.

Free E-Invoice Generator: prepare the invoice details and a readable PDF copy before you send the structured e-invoice through your approved system. No sign-up.

Open the e-invoice generator

Where e-invoicing stands

The DGI has signalled a move towards electronic invoicing and real-time reporting, following the model adopted in many countries where invoices are validated or reported through a government platform. Finance laws in recent years have given the tax administration powers to require electronic invoicing, and pilot phases and phased rollouts by business size have been discussed. Large businesses are generally expected to be affected first.

Until a mandate applies to your business, paper and PDF invoices remain valid if they meet the legal requirements. Watching official announcements and choosing software that can adapt is the best preparation. See what an e-invoice is and e-invoice vs PDF invoice.

The ICE number

The Identifiant Commun de l’Entreprise is a 15-digit identifier assigned to every business in Morocco. It must appear on invoices and other commercial documents, both for the supplier and, for business customers, the client. The ICE links a business across tax, social security and commercial registers, and its presence is a condition for some tax deductions. Check your customers’ ICE numbers and include them on every B2B invoice.

What a Moroccan invoice must contain

The Tax Code sets out mandatory invoice details for VAT-registered businesses.

FieldDetail
Supplier name, address and ICEPlus tax identifier (IF)
Trade register (RC) and professional tax numberWhere applicable
Customer name, address and ICEFor business customers
Invoice number and dateSequential
Description, quantity and unit pricePer line
Amount excluding VAT by ratePer applicable rate
VAT rate and amountPer rate
Total including VATAmount payable
Payment method and termsRecommended
Core Moroccan invoice details.

VAT rates and reform

Morocco’s standard VAT rate is 20%. Reduced rates have applied to various goods and services, and recent finance laws have been simplifying the rate structure, moving several items between rates over a transition period. Because rates have been changing, make sure your invoicing software uses the current rate for each product or service and shows VAT separately by rate.

Some supplies are exempt, with or without the right to deduct input VAT, and exports are generally exempt with the right to deduct. State the legal basis for any exemption on the invoice.

Payment terms and the late payment law

Morocco has strengthened rules on payment terms between businesses. The law sets a default payment period and a maximum agreed period, with penalties for late payment. Large companies must report on payment times, and late payment fines may apply. Invoices should show the due date clearly so both parties can track compliance. See payment terms.

Cash payment limits

To reduce informal transactions, Moroccan tax rules limit the deductibility of expenses paid in cash above certain amounts per day and per month per supplier. Business customers therefore prefer to pay by bank transfer, cheque or card. Show your bank details and RIB on invoices to make non-cash payment easy. See bank details on invoices.

Credit notes and corrections

Errors and price reductions are handled by issuing a credit note (avoir) referring to the original invoice, rather than altering or deleting an issued invoice. VAT adjustments follow the credit note. Keep numbering sequential and never reuse numbers. See credit notes.

What an e-invoicing model may look like

Most new e-invoicing systems in Africa and the Middle East use a clearance or real-time reporting model. Invoices are generated in a structured format, sent to the tax authority platform for validation or registration, and receive a unique identifier and often a QR code before or as they are issued to the customer. Examples include Egypt, Tunisia and Saudi Arabia. Morocco’s system is expected to follow a similar logic, adapted to local requirements.

How to prepare

Even before a mandate, you can take steps that make the transition easier.

  1. Clean your customer data. ICE, IF and addresses for every client.
  2. Use software that supports structured invoices. And can connect to a platform.
  3. Standardise product and VAT codes. Correct rates per item.
  4. Review numbering and credit note processes. Sequential, no gaps.
  5. Follow DGI announcements. Timelines and technical specs.

Record keeping

Businesses must keep accounting records and invoices for ten years in Morocco. Electronic archiving is acceptable if documents remain readable and unaltered. When e-invoicing arrives, the platform will hold copies, but businesses should still keep their own records. See how long to keep invoices.

Exports and foreign customers

Export invoices should show the customer’s foreign details, the currency, the Incoterm and the VAT exemption. Foreign currency invoices must follow exchange control rules administered by the Office des Changes, with proceeds repatriated through Moroccan banks. See export invoices and invoices in foreign currency.

Invoicing the public sector

Suppliers to Moroccan public bodies already use electronic platforms for procurement and, increasingly, for invoice submission and payment tracking. Follow the requirements of each public buyer, including reference numbers from the contract or order.

Common mistakes

Most problems arise from missing identifiers or wrong rates.

  • Missing customer ICE on B2B invoices.
  • Outdated VAT rates after reforms.
  • Editing issued invoices instead of issuing credit notes.
  • No due date on the invoice.
  • Large cash payments that cannot be deducted.
  • Gaps in invoice numbering.

Withholding taxes and invoices

Some payments in Morocco are subject to withholding, such as VAT withholding on certain supplies to the state and businesses, and income tax withholding on fees paid to individuals or non-residents. When a customer withholds tax, the invoice still shows the full amount, and the customer provides a certificate or statement of the amount withheld. Keep these with the invoice for your own tax filings.

Withholding rules have been extended in recent finance laws. Check whether your customers are required to withhold on your invoices so you can reconcile payments correctly.

Small businesses and auto-entrepreneurs

Small businesses under the auto-entrepreneur regime pay a simplified tax on turnover and are usually outside the VAT system. Their invoices or receipts should still identify the business and its ICE, describe the goods or services and show the amount. Customers who are VAT-registered cannot deduct VAT on these invoices, because none is charged.

As digital invoicing spreads, small businesses may also be encouraged to use simple online tools to issue invoices. A free invoice generator that records the right identifiers is a good starting point.

Digital tax services already in place

Moroccan businesses already use the DGI’s online portal, SIMPL, to file VAT and corporate tax returns, pay taxes and submit declarations. Some returns require detailed lists of invoices, such as deductible VAT listings that identify suppliers by ICE and invoice. This existing reporting means many businesses already keep structured invoice data, which will help when e-invoicing begins.

Tips for compliant invoices

These habits keep you ready for current rules and e-invoicing.

  • Show ICE numbers for both parties.
  • Show VAT separately by rate.
  • Include due dates and payment details.
  • Issue credit notes for corrections.
  • Choose e-invoicing-ready software.
  • Keep records for ten years.

This guide is general information, not tax advice. Moroccan VAT rates, invoice rules and e-invoicing timelines change; check DGI publications or ask an adviser.

Create an invoice with ICE and VAT details.

Open the free invoice generator

Morocco e-invoicing FAQ

Is e-invoicing mandatory in Morocco?

The DGI is preparing a phased e-invoicing system; check current announcements for when it applies to your business.

What is the ICE?

A 15-digit common business identifier that must appear on invoices.

What is the standard VAT rate in Morocco?

20%, with reduced rates that have been undergoing reform.

How are invoice errors corrected?

By issuing a credit note referring to the original invoice.

How long must invoices be kept?

Ten years.

Create a clear, complete invoice in minutes

Create an invoice with ICE and VAT details. No sign-up.

  • 134 invoice and document types
  • 16 country tax presets
  • 35 languages
Open the free e-invoice generatorBrowse invoice templates
Muhammad Wasim, software engineer and founder of ToolSphare, builds Invosphere’s invoice generator and invoicing software. He writes practical billing guides for small businesses in 16 countries. About Invosphere · Contact
This guide is general information, not legal or tax advice.

Create your invoice in minutes

Open the free Invosphere invoice generator, pick from 134 invoice types and download a PDF. No sign-up needed.