Skip to content
BILLX

E-invoicing in Morocco: what the law says today

The principle is set out in the General Tax Code (CGI), but its practical rules depend on a regulatory text. Here is what is established and what is not.

What article 145-IX says

The taxpayers concerned must equip themselves with a computerised invoicing system meeting the technical criteria determined by the administration. The terms of application are set by regulation, according to the activities of each sector. This paragraph comes from Finance Law No. 68-17 for 2018.

Who is concerned?

The article covers taxpayers subject to corporate income tax, those subject to income tax on professional income under the actual or simplified net income scheme, and persons liable for VAT. Individuals under the auto-entrepreneur scheme or the single professional contribution (contribution professionnelle unique) are excluded from article 145, except for its paragraph X (art. 145-XI).

What has not yet been published

On 4 November 2026, the tax.gov.ma home page mentioned neither e-invoicing nor any technical specification. On 31 October 2026, our searches of the site had found no format, timetable or threshold. Timetables are circulating in the press and among software vendors. They are not a legal basis: rely on the Official Bulletin (Bulletin officiel) and the DGI.

Is a PDF sent by email an electronic invoice?

Article 145 of the General Tax Code does not define this term. As long as the administration’s criteria are not published, no one can claim that a format or software is compliant. Be wary of any offer describing itself as “DGI-certified” without official proof.

Paperless invoicing in Morocco

Accounting in electronic format

This is a separate obligation: article 145-I provides that accounts must also be kept in electronic format, in accordance with the legislation in force. The documents concerned are then kept on an electronic medium (art. 211).

How to prepare now

Number your invoices in a continuous series. Fill in ICE, IF, TP and RC, for yourself and for your business clients. Show VAT separately and state any exemptions. Keep your documents for ten years (art. 211).

See an annotated invoice template

All about the ICE

Prepare your invoices with BILLX

BILLX structures your invoice data and offers a preparatory UBL 2.1 export. This is not an official format: BILLX is neither certified by nor connected to the DGI, and will say so clearly for as long as that is the case.