E-invoicing · Morocco

E-invoicing in Morocco: getting your systems ready before the decree.

E-invoicing has been announced in Morocco, but its implementing text has not been published yet, so the dates going around rest on no text at all. Part of the reform already applies, though: your accounting has to produce an accounting entries file for every financial year. We help you prepare your systems on what is settled, and build the rest so it adapts to the decree when it comes out.

Where the rules stand.

  • In force

    The accounting entries file

    Article 145-I of the General Tax Code, as amended by the 2026 finance law, requires an accounting entries file for every financial year, as defined by opinion no. 24 of the National Accounting Council.

  • Enacted, details pending

    The legal basis for e-invoicing

    Article 145-IX of the General Tax Code, introduced by the 2018 finance law, provides for a computerised invoicing system and leaves the details to a regulation, which has not been published to date.

  • Not published

    The dates and thresholds going around

    The wave-by-wave calendars and revenue thresholds repeated in many guides rest on no published text, and they contradict each other from one source to the next.

Status as of October 2026.

What you can prepare now.

The accounting entries file comes first, because it already applies. Opinion no. 24 of the National Accounting Council covers every system that feeds your entries, such as sales and purchasing, stock, payroll, tills or fixed assets, so a useful review goes through that whole chain. The file itself has at least eighteen fields, with entry numbering that runs continuously, without gaps.

Your invoicing comes next, and it doesn't have to wait for the decree. Your reference data needs to be reliable, starting with the ICE, because leaving it off an invoice already falls under article 198 ter of the General Tax Code. You also need to know which software issues your invoices, how it exposes its data and where the invoices are archived.

A specific need in e-invoicing? Describe yours

What we build with you.

  • A review of your accounting chain

    We map the systems that feed your entries and check whether, together, they can produce the accounting entries file that opinion no. 24 requires.

  • The accounting entries file

    When your entries come from several pieces of software, we build the extraction that brings them into a single file, with its fields and its numbering.

  • The invoicing gateway

    It connects your ERP to the tax platform. We design it on the announced model and keep it isolated from the rest of the system, so it can follow the text when it comes out.

  • Receiving supplier invoices

    Incoming invoices, structured or PDF, are read and then matched to your purchase orders before they reach your accounts.

  • Electronic signatures

    Qualified electronic signatures and seals fall under law 43-20, with the DGSSI as the authority. We work with an authorised provider rather than standing in for one.

  • A log of assumptions

    Every choice made before the decree is published is recorded with its source, so updating comes down to the points that change.

Moving ahead of the decree without redoing the work.

We design the gateway on the announced model: each invoice validated by the tax platform before it reaches the customer, in UBL format, with ten years of archiving. As long as the technical specification isn't published, those choices remain assumptions, and we document each one. The part that depends on them stays isolated from the rest of the system, so a change of format or platform is handled through configuration.

Compliance will depend on a text nobody has read yet, so we can't promise it. We give you the means to get there, and every documented assumption shortens the rework.

FAQ

Frequently asked questions

When will e-invoicing become mandatory in Morocco?

No published text sets that date yet. Article 145-IX of the General Tax Code lays down the principle and leaves the details to an implementing decree, which has not appeared in the Official Bulletin to date. The DGI has announced a gradual rollout that would start with large companies, but the dates repeated online vary from one source to another and none rests on a text. The official calendar will come from that decree, or from a finance law.

Who has to issue e-invoices in 2026?

To date, no published text requires any category of company to issue its invoices electronically in 2026, since the implementing decree has not appeared. A related obligation does apply since the 2026 finance law, though: accounting must be kept in electronic format and produce an accounting entries file for every financial year.

Who is subject to e-invoicing?

The exact scope will be set by the implementing text. Announcements describe a rollout by company size, starting with the largest, but sources disagree on which exchanges come first, between businesses or with the administration. For a large company, the useful question is less about the date than about the state of its invoicing chain.

Who is not affected by e-invoicing?

No published text currently lists the companies that are exempt, and the exemptions quoted online are guesses. The obligation to keep electronic accounts and produce the accounting entries file doesn't depend on the decree, since it already follows from the 2026 finance law.

How do I know whether e-invoicing applies to me?

The implementing decree for article 145-IX, once published in the Official Bulletin, will say who is covered and from when, and your tax adviser will then be able to confirm your position. Two checks don't need to wait for it. The first is whether your accounting already produces the accounting entries file for each financial year; the second is your invoicing chain, meaning the software that issues your invoices, the quality of its data and how you receive your suppliers' invoices.

What are the drawbacks of e-invoicing?

The main constraint is the preparation work: reliable reference data, software that can produce and receive a structured format, and archives kept over time. In Morocco there is also an uncertainty today, because the technical specification isn't published, so a system built too early on a single assumption may have to be rebuilt. That's why we isolate the part that depends on the text, so a change can be handled through configuration.

Do we need to replace our ERP for e-invoicing?

Usually your ERP can stay. It generally exposes its data through an interface or file exports, and an integration layer can then produce the expected format and handle the platform's responses. We check this on your system during the review, because an old or heavily customised tool can need more work.

What about the invoices we receive from suppliers?

The reform also affects the invoices you receive. Your accounting will need to read your suppliers' structured files and match them to your purchase orders, while still handling invoices that arrive as PDFs or on paper. We build the receiving side for both cases, with automated reading of unstructured invoices, as described on our document digitisation page.

Let's discuss your priorities

Let's review your invoicing chain.

Tell us which software produces your invoices and accounting entries, and which software receives them. We'll work out together what is already ready for the accounting entries file and what can wait for the decree.

* Required field

A few words are enough. Don't include passwords or sensitive data.

We use this information to reply to your inquiry and, if you've accepted cookies, to measure how well our campaigns perform. To find out how it's stored and how to exercise your rights, see our privacy policy.

or call us on +212 715 659 190