Cookies
Welcome to our Unifiedpost Group website! We, and third parties, use cookies on our websites. We use them to enhance site navigation, analyse site usage and assist in our marketing efforts. You can read more about our cookies and change your preferences by clicking on ‘Change my settings'. By clicking on 'Accept all cookies’, you agree to the use of all cookies as described in our Privacy cookie policy.
Compliance and Regulations

E-invoicing in Morocco: A digital leap towards tax compliance

February 4, 2025

Since October 2024, Morocco has embarked on a major journey to modernise its tax compliance framework with the introduction of a mandatory e-invoicing system. Underpinned by Article 145-9 of the 2018 Finance Law, this reform, spearheaded by the General Directorate of Taxes (DGI), aims to increase transparency, improve efficiency, and combat tax evasion.

As businesses prepare for this digital shift, understanding the key components of the e-invoicing mandate will be crucial to a smooth transition.

Key drivers behind the initiative

The DGI’s primary goal with this e-invoicing initiative is to leverage digital solutions to streamline tax compliance and reduce the tax gap. To bring this vision to life, the DGI has partnered with XHub, a Moroccan software engineering firm, to build a robust technological infrastructure capable of handling the ambitious goals of the project.

This initiative aligns with global trends where countries are increasingly adopting digital invoicing systems to reduce fraud and improve efficiency.

Legal basis and expected timeline

The legal basis for Morocco’s e-invoicing system is set out in Article 145-9 of the 2018 Finance Law. In order to minimise potential disruptions, the DGI has committed to a phased rollout of the system:

  • October 2024: Launch of e-invoicing proposals and public consultations.
  • October 2025: Pilot phase roll-out, allowing businesses to test the system and provide feedback.
  • Early 2026: Full implementation, when the system will become mandatory for all eligible businesses.

This strategic timeline is designed to give businesses - especially small and medium-sized enterprises (SMEs) - time to adapt to the new digital system.E-invoicing models: post-audit vs. clearanceThe DGI is currently evaluating two possible operational models for e-invoicing:

  1. Post-audit model: Businesses can freely exchange invoices, with the tax authority conducting checks after the invoices have been submitted. This model is decentralised and similar to the 4-corner model used in countries like Belgium.
  2. Clearance model: The tax authority must validate each invoice before it is sent to the customer. This centralised model, similar to France’s 5-corner structure, provides real-time control and ensures full compliance.

The final decision on which model to adopt is still pending. The DGI is carefully weighing the benefits of decentralised flexibility against centralised control.Technological framework and international standardsTo support the e-invoicing system, the Moroccan tax authority has embraced a modern and scalable microservices architecture. This approach is designed to adapt to evolving tax policies and technological advances.Additionally, the system will incorporate globally accepted structured digital formats such as UBL (Universal Business Language) and CII (Cross-Industry Invoice). This will ensure that Moroccan businesses can easily conduct cross-border transactions in compliance with international trade standards.Electronic signatures: securing the digital futureA key aspect of this e-invoicing reform is the introduction of electronic signatures, which will guarantee the authenticity, integrity, and security of e-invoices. These digital signatures are essential to prevent fraud and ensure that business transactions are tax-compliant. By encouraging businesses to adopt electronic signatures, the DGI aims to safeguard sensitive transactional data while promoting confidence in e-invoicing.Key benefits of e-invoicingThe e-invoicing initiative is expected to bring a wide range of benefits to businesses and the tax administration alike, including:

  • Efficiency: Automating invoice processing, reducing manual errors and administrative burdens, and speeding up invoice processing and payment cycles.
  • Increased security: By moving to a digital system, businesses can minimise the risks associated with fraud, errors, and lost documents.
  • Cost savings: Reducing administrative costs associated with paper invoicing, printing, and storage.
  • Tax compliance: Real-time monitoring improves control and reduces the risk of tax evasion.
  • Global compatibility: Standard formats like UBL and CII facilitate international trade for Moroccan businesses.

What businesses should do nowWhile full implementation of Morocco’s e-invoicing system is still a little way down the road, businesses should start preparing now to ensure a smoother transition. Key steps include:

  • Assessing current invoicing processes and identifying gaps in digital readiness.
  • Investigating software solutions that meet potential e-invoicing requirements.
  • Familiarising staff with the concept of electronic signatures and their role in digital transactions.
  • Staying abreast of updates from the DGI, particularly regarding timelines and operational models.

Embracing the future of digital tax complianceMorocco’s move to e-invoicing is an important step in modernising the country’s tax system. The DGI’s initiative not only improves tax administration, but also offers businesses the opportunity to streamline their operations.For Moroccan businesses, this shift is both a challenge and an opportunity: an opportunity to modernise operations, streamline accounting processes, improve efficiency and compliance, and gain a competitive edge in an increasingly digital economy.Start preparing now to ensure compliance with Morocco’s e-invoicing mandate and ensure a smooth transition ahead of the expected 2026 deadline. The future of tax compliance in Morocco is digital - embracing it now will give businesses a head start in the digital economy.

Andres Lilleste
Cluster Lead - Compliance at Unifiedpost Group

Andres Lilleste has over 15 years of experience in e-services and e-invoicing solutions, specializing in invoicing workflows, e-archiving, B2C, B2B and B2G e-invoicing. He has held several key roles at Unifiedpost Group, currently serving as Cluster Lead - Compliance, focusing on e-invoicing rules, tax compliance, and other regulatory standards. Andres also leads the Estonian ITL Real-Time Economy and e-invoice working group. He has extensive experience in product management and consulting for clients across Europe.

Connect with Andres on LinkedIn
Stay up to date

Tax compliance and electronic invoicing regulations

Stay up to date with the every changing world that is global tax compliance and e-invoicing regulations. Sign up to our monthly newsletter for new mandates, expert interviews and the latest webinars.

Thank you! Your message has been sent successfully.
Something went wrong. Please make sure all the fields are filled in correctly.
Subscribe now

Sign up today

Sign up to our free email newsletter and be the first to know about tax compliance and e-invoicing changes around the world.

Thank you! Your message has been sent successfully.
Something went wrong. Make sure all fields are field in correctly.
Subscribe now

Sign up today

Sign up to our free email newsletter and be the first to know about tax compliance and e-invoicing changes around the world.

Thank you! Your message has been sent successfully.
Something went wrong. Make sure all fields are field in correctly.