Guides & comparisonsInvoicingRetail in Morocco

Electronic invoicing in Morocco in 2026: what is settled, and what is not

Electronic invoicing is becoming mandatory in Morocco, but not every date going around is confirmed. What article 145 of the tax code actually says, what is still missing, and how to prepare your business without buying anything yet.

By BelloCommerce

·

For a year now you have been told that electronic invoicing is becoming mandatory in Morocco. Dates circulate, sales reps use them to close deals, and not all of them are accurate. Here is what the law actually says as we write this, in July 2026, what is still unpublished, and what you can do today without spending a dirham.

Electronic invoicing in Morocco: preparing compliant invoices in 2026
Electronic invoicing in Morocco: preparing compliant invoices in 2026.

In short

  • The obligation is already in the law, in article 145-IX of the General Tax Code, added by the 2024 finance act.
  • The detailed calendar depends on an implementing decree that had not been published in the Bulletin officiel when this article went out. The precise dates you see quoted are estimates, not law.
  • The announced rollout is phased: business-to-business and large companies first, smaller businesses next, sales to consumers last.
  • An electronic invoice is not a PDF sent by email. It is a structured file, validated by the tax authority’s platform before it reaches your customer.
  • If you sell retail to consumers, your till receipt already stands in for an invoice, and that is where your compliance work starts, not at the platform.

What the law already says

The starting point is not a rumour, it is a text. Article 145 of the General Tax Code has governed how a business must invoice for a long time. The 2024 finance act added a paragraph IX to it, creating the obligation to invoice through a computerised system.

The taxpayers concerned “must equip themselves with a computerised invoicing system meeting the technical criteria determined by the administration”.

Two phrases matter here. Computerised system: the carbon-copy invoice book and the improvised spreadsheet will no longer do. Technical criteria determined by the administration: the detail is not in the law, it is left to an implementing text. And that text is exactly what was still missing when we published this.

What is not settled yet

Let us be blunt, because few sites are on this point: at the time of writing, the implementing decree setting the exact calendar, the revenue thresholds and the penalties specific to electronic invoicing had not appeared in the Bulletin officiel.

That does not mean the reform is not coming. It is coming, the tax authority confirmed as much publicly in spring 2026, the national platform is being built and a free entry portal has been announced. It means that an article giving you a to-the-day date for your own business is selling you a certainty it does not have.

The practical consequence is simple: get ready, but do not sign a three-year subscription in a panic because of a deadline a salesperson quoted at you on the phone. Check any date with the tax authority or your accountant before reaching for the card.

Who is affected, and in what order

The rollout principle the tax authority has communicated is the same one used in other countries that ran this reform: start with the large volumes, where the administration collects the most data for the fewest connections, then work down. Here is the announced logic, to be read as a direction of travel rather than an official calendar.

StageWho it targetsWhat has been announced
First waveLarge companies, on their business-to-business transactions, and suppliers to the public sectorThis is the publicly confirmed start for 2026. A small number of companies, but most of the country’s invoiced volume.
Following wavesMid-sized companies, then small businesses and the self-employedA progressive extension by size band. The exact thresholds and dates depend on the implementing decree.
LastSales to private consumersThe scheme targets business-to-business exchanges first. Over-the-counter retail is not the first target.

What this means for a neighbourhood shop

If you run a grocery, a café or a salon and you sell to private customers, you are not in the front line. You will be one day, and more to the point you already are the moment you invoice a business customer, a public body or a company. That part of your activity is the one to look at first.


An electronic invoice is not a PDF

This is the most common misunderstanding, and an expensive one. Sending a PDF by email or WhatsApp is not electronic invoicing in the sense of the reform. A PDF is a picture of the document: a human reads it, a machine does not.

The model chosen is prior validation, often called clearance. Your invoice goes to the tax authority’s platform, it is checked there, it receives an identifier, and only then is it validly issued to your customer. In practice, the administration sees the invoice before the recipient does.

  • A structured format: The expected formats are standardised XML, UBL 2.1 and CII, designed to be read automatically. Your software produces them; you never write them by hand.
  • A trip through the platform: The invoice passes through the tax authority’s system and comes back validated. A free online entry portal has been announced for businesses that issue few invoices and do not want software.
  • An electronic signature: The authenticity and integrity of the document rest on an electronic signature issued by an approved provider. That is a recurring cost to plan for, separate from the price of the software.
  • Ten years of archiving: Article 211 of the tax code requires accounting records and invoice copies to be kept for ten years. Going electronic does not shorten that, it simply makes it easier to comply with.

The mandatory fields have not changed

Before worrying about XML, check that your current invoices are already compliant. Many are not, and that is an immediate risk, today, without waiting for 2027. Article 145-III of the tax code requires the following:

FieldWhat it means in practice
The seller’s identityYour registered business name and full address, as recorded.
Your tax identifiersYour tax identification number (IF) and your professional tax article number. The ICE company identifier is also required on invoices.
The date of the transactionThe date the sale or the service was actually carried out.
The customer’s identityName or company name and address. If your customer is a company or a public body, their ICE must appear.
A breakdown of what was soldThe nature of the goods or service, quantities and prices. No lone line reading “sundries” or “services”.
VAT shown separatelyThe amount before tax, the rate applied and the VAT amount, each separately. If you are exempt, the invoice must say so and cite the provision that allows it.
Payment references and methodHow the invoice was settled, or is to be settled.
A number in a continuous seriesSequential, chronological numbering with no gaps and no duplicates. This is the point most often caught in an inspection, and the one software handles by itself.

Retail: your till receipt is already an invoice

A cash register receipt standing in for an invoice in Moroccan retail
A cash register receipt standing in for an invoice in Moroccan retail.

Here is the part almost every e-invoicing guide skips, even though it concerns most Moroccan shopkeepers. Article 145-III provides that for sales of products or goods to private individuals, the till receipt may stand in for an invoice.

The receipt must then carry at least the date of the transaction, the seller’s identification, the product description, the quantity, the sale price and, where applicable, the VAT. And as with invoices, you must be able to produce a copy for ten years.

This is where choosing your till stops being a comfort question. A mechanical cash register or a handwritten book gives you nothing usable ten years later. A point of sale system keeps every sale in a database, numbers receipts in a continuous series, applies the right VAT rate and produces the journal when you are asked for it.

That is exactly the job BelloPOS does: sales are recorded and numbered automatically, the receipt can be configured with your legal details, and the history stays searchable and exportable. The Lite edition is free for life and runs fully offline, so a dropped connection never stops you handing over a receipt.

The real risk is not the fine, it is the VAT

An invoice that does not carry the mandatory fields can be set aside in an inspection. The problem then is not only the penalty: your customer loses the right to deduct VAT on that purchase, and you lose the customer. On badly drawn supplier invoices, you are the one taking the same loss.

How to prepare without buying anything yet

A six-step plan, in order. The first four are free and will serve you whatever the decree ends up saying.

  1. Pull one of your recent invoices and check it against the table above. Line by line. It is fifteen minutes of work and it often fixes the most urgent problem.
  2. Check your numbering. One series, chronological, no gaps. If you are running several invoice books in parallel, now is the time to stop.
  3. Check your ICE and those of your business customers. A wrong or missing ICE on an invoice is an easy weakness to fix before someone holds it against you.
  4. Separate your two flows. Counter sales to consumers on one side, invoices to businesses on the other. The two will not follow the same calendar and do not need the same tool.
  5. Put your counter sales into software that numbers, archives and exports. Start with a free option: there is no reason to pay to find out whether a tool suits you.
  6. Wait for the decree before choosing your e-invoicing tool. Once the technical criteria are published, the question to put to a vendor becomes precise: do you produce UBL 2.1, do you connect to the platform, at what price, and what happens if I leave?

Traps to avoid

  • “Our software is already DGI 2026 compliant.” Compliant with what, when the technical criteria are not all published? Ask what the sentence actually covers, in writing.
  • The long subscription signed under pressure. A reform that rolls out in waves leaves time to choose. Prefer a short commitment while the framework is still moving.
  • The PDF sold as an electronic invoice. Useful and convenient, but not what the reform means by an electronic invoice.
  • Forgetting the cost of the electronic signature. It renews, it is bought from an approved provider, and it is not always inside the advertised software price.
  • Switching tools without being able to get your data out. Before committing, ask how you would export your invoices and customers the day you leave.

Frequently asked questions

Is electronic invoicing mandatory in Morocco in 2026?

The principle is in the law, at article 145-IX of the General Tax Code. The actual start is phased, beginning with large companies on their business-to-business transactions. The detailed calendar depends on an implementing decree that had not been published in the Bulletin officiel when we wrote this, in July 2026. Check the current position with the tax authority or your accountant.

Is a signed PDF sent by email enough?

No, not in the sense of the reform. An electronic invoice is a structured file in a standardised format, UBL 2.1 or CII, sent to the tax authority’s platform for validation before it goes to the customer. The PDF remains useful as a readable copy, but it is not the electronic invoice itself.

I am self-employed. Am I affected?

You are not in the first wave. The rollout starts with large companies and works down towards smaller structures, including the self-employed. In the meantime, the obligation that already applies to you is the mandatory fields of article 145 on the invoices you issue, and keeping copies for ten years.

Does my till receipt replace an invoice?

For sales of products to private individuals, yes: article 145-III provides that the till receipt may stand in for an invoice, provided it carries the date, the seller’s identification, the product description, the quantity, the price and the VAT where applicable. A business customer who wants to deduct VAT needs a full invoice.

How long must I keep my invoices?

Ten years from the end of the accounting year concerned, under article 211 of the tax code. That covers invoice copies, till receipts and purchase documents. Digital archiving is accepted provided it guarantees the authenticity and readability of the documents.

Do I need paid software to be compliant?

Not necessarily. For counter sales, a free POS that numbers correctly and keeps the history does the job: BelloPOS Lite, for instance, is free for life and runs offline. For invoicing businesses, the tax authority has announced a free online entry portal aimed at small issuers. Paid software is justified by volume and automation, not by compliance in itself.

What happens if my invoice is not compliant?

The penalties specific to electronic invoicing will be set by the implementing decree. What is certain today is that an incomplete invoice can be set aside in an inspection, costing the right to deduct the corresponding VAT, on top of the fines already provided for in the tax code. That is the most concrete reason to put your mandatory fields in order now.

What to take away

The reform is real, it is voted, and it will roll out in waves starting a long way from the neighbourhood shop. The precise calendar is still waiting to be published. The best use of this period is not to buy in a hurry: it is to get your mandatory fields right, number your documents properly, and run your sales through a tool that keeps a usable record. That work is never wasted, whatever the decree ends up saying.

A useful clarification

This article is an information update written in July 2026 from published texts and the official announcements available. It is not tax advice. For your own situation, and above all before any purchase decision, talk to your accountant or check with the tax authority.

Start with your counter sales

Receipts numbered in a continuous series, VAT applied automatically, history kept and exportable: that is the foundation of your compliance, and it is free. BelloPOS Lite runs 100% offline on a Windows PC, with no subscription.