Contents (9)
Contents
What is an electronic invoice?
The mix-up to avoid
An invoice issued as a PDF, even signed and even sent by e-mail, is not an electronic invoice in the sense of the reform. A PDF is a picture of an invoice: readable by a human, opaque to a computer. The reform asks for the data itself.
An electronic invoice is an invoice that is born, travels and is kept as data, without ever going through paper. Three elements define it, and they go together:
- A structured format — the invoice is an XML file in which every piece of information sits in a named field: seller's ICE, buyer's ICE, date, description, quantity, price before tax, VAT rate and amount, total, means of payment. Two international standards have been retained, UBL 2.1 and CII.
- An electronic signature — applied with a certificate issued by a trust service provider, it guarantees the identity of the issuer and the integrity of the content. It is the digital equivalent of the company stamp and the signature, governed by Law No. 43-20 on trust services for electronic transactions.
- A controlled transmission — the invoice does not travel straight from supplier to customer: it goes through the tax authority platform, which checks its compliance and validates it.
How it differs from an ordinary invoice
| Paper or PDF invoice | Electronic invoice | |
|---|---|---|
| Nature | A laid-out document | A set of structured data |
| Checking | Afterwards, during a tax audit | Immediate, when filed on the platform |
| Validity | Acquired on issue | Acquired after validation by the tax authority |
| Wrong detail | Discovered months later | Immediate rejection, to be fixed at once |
| Data entry by the customer | Manual, or by optical reading | Automatic: the file feeds their accounts |
| Archiving | Binders, or scattered files | Tamper-proof digital retention |
The vocabulary varies — e-invoice, dematerialised invoice, electronic invoicing — but it all means the same thing. Beware of one false friend, though: dematerialisation in the broad sense (sending a PDF rather than paper) is not electronic invoicing in the tax sense.
What Moroccan law says
The reform did not come out of nowhere: it rests on a text voted several years ago, and on a decree that is not there yet.
The principle: article 145-IX of the General Tax Code
The 2018 Finance Act added to article 145 of the General Tax Code a paragraph IX requiring taxpayers subject to corporate income tax, to income tax on professional income (net real or simplified net regime) and to VAT to “equip themselves with a computerised invoicing system meeting the technical criteria set by the administration”. The same text refers the practical rules to secondary legislation. That single sentence is the foundation of the whole reform.
What an invoice must already carry
The mandatory particulars, on the other hand, have applied for a long time. Article 145-III requires pre-numbered invoices bearing the seller's identity, their tax identification number, the date of the transaction, the buyer's name and address, the nature, quantity and price of the goods or services, the amount of VAT charged on top of the price, as well as the payment references and method. Article 145-VIII adds the ICE — the common business identifier — mandatory on invoices since 2016.
What the 2026 Finance Act changed
The 2026 Finance Act (No. 50-25), enacted by dahir No. 1-25-67 of 10 December 2025, published in the Official Bulletin of 16 December 2025 and in force since 1 January 2026, took the march towards full digitisation one step further without dealing directly with invoicing:
- accounts must be kept in electronic form in accordance with the legislation in force — the reference to a regulatory text that had never been published disappears from article 145-I;
- the taxpayer gives the tax authority an e-mail address of their own choosing: the obligation to go through a certification provider is dropped.
The tax authority's circular note No. 737, published in February 2026, comments on these measures one by one. It sets out no electronic invoicing timeline, however.
Who is concerned
Eventually, every business that invoices. For now, the running order has been announced, not decreed.
The scope written into the law
Article 145-IX covers taxpayers subject to corporate income tax, taxpayers subject to income tax on professional income under the net real or simplified net regime, and taxable persons for VAT. In other words: companies, and individuals carrying on a professional activity under a real regime. Flat-rate regimes and the self-employed entrepreneur status are not covered by that text at this stage.
The announced running order
| Flow | Where things stand |
|---|---|
| B2B — between businesses | This is the project under way. Large companies first, then mid-sized ones, then very small businesses — with, according to the tax authority, a dedicated approach for the smallest structures. |
| B2G — towards the public sector | Already largely paperless. Suppliers to public institutions and state-owned companies file their invoices on the AJAL platform of the Ministry of Economy and Finance, opened in stages since 2021 according to the size of the order. |
| B2C — towards consumers | Postponed. The tax authority has indicated that consumer invoicing would come after B2B has settled, and would call for incentives of its own. |
If you sell to businesses, you are therefore concerned on both sides: as the issuer of your own invoices, and as the recipient of your suppliers' invoices — which is often how reality arrives first, when a large buyer asks its suppliers to switch along with it.
The timeline: what has been announced, what has not
Be wary of timelines that are too precise
Many websites announce thresholds down to the dirham: mandatory from 1 January 2026 above 200 million DH of turnover, from 1 July 2026 between 10 and 200 million, from 1 January 2027 above 500,000 DH. None of those figures appears in a published text or in an official communication from the tax authority. They travel from one article to the next. Do not build your compliance plan on them.
What has actually happened
- 2018 Finance Act — the principle of the computerised invoicing system enters the General Tax Code (article 145-IX), with the practical rules left to secondary legislation.
- 2024 — after an international call for tenders, the tax authority awards the national platform contract to the Moroccan company xHub, for 6.3 million dirhams. A public consultation is launched in the autumn.
- 2025 — pilot phase: volunteer companies test the platform in real conditions, issue test invoices and send back their observations.
- 16 April 2026 — the head of the tax authority, Younès Idrissi Kaitouni, publicly confirms a launch during 2026: the platform has been built, tested and accepted, the roll-out will be gradual and segmented, it will start with B2B and with large companies. The draft decree is then with the General Secretariat of the Government.
- 6 September 2026 — the implementing decree has still not been published in the Official Bulletin. Until it is, no starting date and no threshold can be enforced.
What the decree will have to say
- the timeline, category of business by category of business;
- the thresholds that decide the running order;
- the technical rules: accepted formats, connection method, mandatory data, filing deadline;
- the fate of the penalties specific to the scheme, which do not exist yet.
The right posture is therefore neither panic nor wait-and-see: the useful preparation steps described below depend on no decree.
How it works, step by step
Morocco has chosen the clearance model — prior validation by the administration —, one of the most demanding there is. In practice, an invoice follows this circuit:
- Issue — your management software produces the invoice in the structured format (UBL 2.1 or CII) instead of printing it.
- Signature — the file is electronically signed with your certificate, which seals its content and proves who issued it.
- Transmission — the invoice is filed on the tax authority platform, from your software or from the online entry portal.
- Validation — the platform checks the format, the signature and the mandatory data, then validates the invoice and gives it an identifier.
- Reception — the validated invoice is made available to your customer, together with confirmation that it has been accepted.
- Archiving — each party keeps the validated file, in a tamper-proof form, for the legal retention period.
If the platform rejects the invoice — a wrong ICE, a missing particular, an invalid signature — then it is not issued. You correct it and file it again. That is the deepest change of all: the check moves from after to before.
Two ways to connect
| Route | For whom | What it takes |
|---|---|---|
| The online entry portal | Small structures, low volumes | A browser and a signing certificate. The tax authority has announced a free online entry tool, on the fatourati.gov.ma portal, with no software to install. |
| Connecting your software | Businesses running an ERP or invoicing software | An exchange interface between your system and the platform: invoices go out and come back automatically, with no re-keying. That is your software vendor's job. |
A role for certified trusted third parties, carrying the flows on behalf of businesses, is mentioned for later; at the start, the tax authority handles validation itself.
Two frequent mix-ups
- fatourati.gov.ma is not fatourati.ma. The latter is a service for paying water, electricity or telecom bills: nothing to do with tax invoicing.
- This is not the French reform. France went through approved private platforms and through Chorus Pro for the public sector; Morocco has chosen a public platform that validates each invoice itself. A scheme designed for France does not make you compliant in Morocco.
What changes inside your business
Three effects to plan for
Rejection replaces reassessment — a wrong piece of data blocks the invoice instead of surfacing during an audit · your customer's ICE becomes critical · the tax authority sees the flows as they happen, no longer only at filing time.
Data quality stops being a detail
Today, an invoice carrying a wrong ICE goes out anyway: the problem surfaces months later, at best with the accountant, at worst during a tax audit. Tomorrow, it is rejected within the second. Your customer file — exact corporate name, ICE, address, tax identification number — becomes a working part of the invoicing machinery, not a simple address book.
Numbering and particulars become blocking
An unbroken numbering sequence, the particulars of article 145, consistent VAT rates and amounts: what used to be good housekeeping becomes a condition of issue.
Archiving becomes digital, and long
Article 211 of the General Tax Code requires accounting records to be kept for ten years. So you have to plan where the validated invoices will live, in a form that preserves their integrity and lets you produce them during an audit. A folder on a desktop computer is not an archive.
The administration sees the flows in real time
That is the very point of the reform: fighting fake invoices and under-declaration, and making VAT reliable. An expert quoted by the business press puts the damage from fake invoices at several tens of billions of dirhams. In time, this material makes it possible to pre-fill returns and to target audits instead of widening them.
Payment terms become indisputable
Law No. 69-21 on payment terms already requires businesses above 2 million dirhams of turnover to file a quarterly return with the tax authority, electronically, on pain of fines ranging from 5,000 to 250,000 dirhams. With an invoice date time-stamped by the platform, the starting point of the term is no longer open to argument — in either direction.
What you gain from it
- no more re-keying: the invoice you receive feeds your accounts directly;
- invoice-to-order-to-delivery matching that can be automated;
- faster chasing, because the date of receipt is established;
- the end of “I never received the invoice” disputes.
What you are exposed to
The real risk is not the fine
A non-compliant invoice costs your customer the deduction of the expense and of the related VAT. A customer who cannot deduct is a customer who disputes, who holds back payment, and who eventually changes supplier. That is where the cost sits, long before any penalty.
Let us be clear: no penalty specific to electronic invoicing has been published so far. Article 145-IX refers the practical rules to secondary legislation, and the awaited decree — or a later finance act — will say what they are.
In the meantime, the general penalties of the General Tax Code do already apply:
| Text | Breach | Penalty |
|---|---|---|
| Article 191 bis | Accounts kept by electronic means, records not produced in electronic form during an audit | 50,000 DH per audited financial year |
| Article 198 ter | ICE missing from or wrong on an invoice | 100 DH per omission or inaccuracy, capped at 5,000 DH per financial year |
| Articles 146 and 106 | Expense not supported by a proper invoice | Add-back of the expense and loss of the right to deduct VAT |
The third line is the heaviest, and it is not measured in fines: it is measured in extra tax, on the side of whoever received the invoice.
How to get ready right now
None of this waits for the decree
The seven steps below are either already mandatory, or useful whatever timeline is finally chosen. They are the only investments that cannot be wasted.
- Clean up your customer file — exact corporate name, address, tax identification number and above all the 15-digit ICE. That is the field that will get your invoices rejected, and it is the longest to put straight.
- Check your particulars — take one invoice at random and hold it against article 145-III: identity, tax identification number, ICE, date, description, quantities, prices, VAT, means of payment.
- Audit your numbering — one continuous chronological sequence, with no gap and no duplicate, across the whole year.
- Question your software vendor — the only question that matters: “by what date will your product output UBL 2.1 or CII and connect to the tax authority platform?” A vague answer is an answer.
- Plan for the electronic signature — identify who, in the company, will hold the certificate, and from which trust service provider.
- Organise archiving — ten years of digital invoices, backed up, findable and unalterable.
- Train whoever does the invoicing — the hard part of this reform is organisational before it is technical: the daily gesture changes, not just the software.
Businesses that already deal with the public sector through the AJAL platform have a head start on that road: they have learned to move an invoice around without paper.
iris.ma and electronic invoicing
We sell mostly to businesses, public bodies and associations: “how will I receive my invoice?” is a fair question, and here is our answer.
iris.ma will offer its customers electronic invoicing, in the standards set by the reform, as soon as it takes effect. Your invoices will be issued in the required structured format, signed, filed on the tax authority platform and made available to you once validated — with nothing for you to do and no change in the way you order. We are following the tax authority's work and the publication of the decree so as to be ready on the day the obligation reaches our category of business.
What already exists today
- a compliant invoice bearing the ICE for every business order;
- a quotation drawn up in your name, to be approved by your management or your accountant;
- your order documents available in your account, at any time;
- the services a purchasing department expects — our business area sets them out.
The useful step, on your side
Fill in your company's exact corporate name and ICE in your account now. Those two pieces of information are the ones the platform will check when validating your invoices: an ICE that is right today is an invoice that will go through tomorrow. Our own ICE and registrations appear in our legal notice.
For a business order, a quotation request or a question about your documents, use our quotation form: you get an answer from a person, not an automatic acknowledgement.
Frequently asked questions
Is electronic invoicing mandatory in Morocco in 2026?
The principle has been in the law since 2018 (article 145-IX of the General Tax Code) and the tax authority has announced a launch during 2026, starting with business-to-business flows and with the largest companies. But the obligation only becomes enforceable once the implementing decree is published, and it had not appeared in the Official Bulletin as of 6 September 2026. No business is therefore in breach today for still invoicing in PDF.
Is a PDF sent by e-mail an electronic invoice?
No. A PDF is a picture of an invoice: a human reads it, a machine gets nothing out of it. The reform calls for a structured file in the UBL 2.1 or CII format, electronically signed and validated by the tax authority platform. A PDF may still travel alongside the invoice for ease of reading, but it will not be the document that counts.
Who will be concerned first?
Large companies, on their business-to-business flows, according to the tax authority's announcements of April 2026. Mid-sized then small businesses will follow, with an adapted approach, and consumer invoices will come later. The turnover thresholds circulating online come from no published text: only the implementing decree will set them.
What do you need in order to issue an electronic invoice?
Three things: a tool able to produce the required structured format — your management software, updated, or the online entry portal the tax authority has announced for small structures —, an electronic signing certificate issued by a trust service provider, and a clean customer database, starting with the ICE.
How long must electronic invoices be kept?
Ten years, like other accounting records: that is the retention period set by article 211 of the General Tax Code. Retention must preserve the integrity of the files and allow them to be produced during an audit.
Is the Moroccan reform the same as the French one?
No, and it matters if you work with French groups. France relies on approved private platforms and on Chorus Pro for the public sector. Morocco has chosen a clearance model in which the tax authority platform itself checks and validates every invoice before it reaches the customer. A tool that is compliant in France is not automatically compliant in Morocco.
What about invoices sent to the State and public companies?
They are already paperless. Suppliers to public institutions and state-owned companies file their invoices on the AJAL platform of the Ministry of Economy and Finance, opened gradually since 2021 according to the size of the order. It is a separate scheme from tax electronic invoicing, but the same logic of filing and tracking.
Will iris.ma invoices be electronic?
Yes. iris.ma will offer its customers electronic invoicing in the standards set by the reform, as soon as it takes effect: an invoice in the structured format, signed, filed on the tax authority platform and made available to you once validated, with nothing for you to do. Until then, every business order comes with a compliant invoice bearing our ICE. Remember to fill in your own ICE in your account — see the business area.

