# Electronic Invoicing in Morocco: Requirements, Tools and Best Practices

> https://aslan.ma/blog/facturation-electronique-maroc

Complete guide to electronic invoicing in Morocco: DGI legal requirements, available tools, compliance steps, and integration with Aslan.

**Published:** 2026-02-03 | **Category:** tips | **Reading time:** 11 min
**Tags:** facturation-electronique, e-facturation, DGI, conformite, TPE-PME

---

## Electronic Invoicing in Morocco: A Turning Point for Businesses

Electronic invoicing — or e-invoicing — is transforming how Moroccan businesses manage their commercial transactions. Driven by the **General Tax Directorate (DGI)** and as part of the national tax system modernization, this digital transition now concerns the entire economic fabric, from large corporations to self-employed entrepreneurs.

In 2026, understanding e-invoicing obligations is no longer optional — it is a necessity for any entrepreneur who wants to remain compliant and gain efficiency.

## What Is Electronic Invoicing?

An electronic invoice is a commercial document issued, transmitted, and received in dematerialized form according to a structured format. Unlike a simple PDF sent by email, a true e-invoice complies with precise technical standards that guarantee:

  - **Origin authenticity**: the issuer's identity is verifiable

  - **Content integrity**: the document cannot be modified after issuance

  - **Readability**: the format allows automatic reading by IT systems

  - **Traceability**: each invoice has a unique identifier and timestamp

## The Legal Framework in Morocco

### DGI Requirements

The General Tax Directorate has progressively strengthened invoicing requirements. Key regulatory points include:

  - **Article 145 of the General Tax Code**: Obligation to issue invoices for all sales of goods or services

  - **Mandatory information**: Tax ID (IF), Common Enterprise Identifier (ICE), trade license number, VAT details

  - **Retention**: Invoices must be kept for a minimum of 10 years

  - **Reporting**: Sales and purchase statements must be transmitted electronically to the DGI

### Deployment Timeline

Morocco is adopting a phased approach:

  - **Phase 1 (2024-2025)**: Large companies and listed corporations

  - **Phase 2 (2025-2026)**: SMEs with revenue exceeding MAD 2 million

  - **Phase 3 (2026-2027)**: Gradual extension to all VAT-liable entities, including self-employed entrepreneurs

## Why Switch to Electronic Invoicing?

Beyond regulatory compliance, e-invoicing offers concrete advantages:

  - **Cost reduction**: 60-80% savings on processing costs compared to paper invoices

  - **Time savings**: Automation of data entry, reminders, and bank reconciliation

  - **Error reduction**: Automatic entry eliminates manual transcription errors

  - **Improved [cash flow](/blog/gestion-tresorerie-pme)**: Faster invoices mean faster payments

  - **Complete traceability**: Real-time tracking of each invoice status

  - **Environmental impact**: Significant reduction in paper consumption

## Aslan Integration: Invoicing Connected to Your Business Account

Aslan natively integrates invoicing features into its financial ecosystem. For entrepreneurs using the **Aslan professional wallet**, this means:

  - **Invoice creation from the app**: Create and send compliant invoices directly from your Aslan application

  - **Automatic reconciliation**: Payments received on your wallet are automatically matched to corresponding invoices

  - **Real-time tracking**: View the status of your invoices in a unified dashboard

  - **[Accounting export](/blog/comptabilite-pme-maroc)**: Generate financial statements and export data to your accountant

  - **Guaranteed compliance**: All mandatory fields are pre-filled and automatically updated

This integration eliminates the friction between invoicing and cash management — two aspects traditionally disconnected for [entrepreneurs adopting fintech](/blog/fintech-maroc-2026).

## FAQ

### Is electronic invoicing mandatory in Morocco in 2026?

Yes, electronic invoicing is being progressively deployed in Morocco. In 2026, large companies and SMEs with revenue exceeding MAD 2 million are affected. Extension to self-employed entrepreneurs is planned for 2027. It is recommended to anticipate this transition.

### What mandatory information must appear on an electronic invoice in Morocco?

Mandatory information includes: sequential invoice number, issue date, business name and address of both issuer and recipient, Tax ID (IF), ICE, description of goods or services, quantities, unit prices excluding tax, VAT rate and amount, and total amount including tax.

### How much does implementing electronic invoicing cost?

Costs vary depending on the solution chosen. Tools integrated into banking platforms like Aslan may be included in the subscription. Dedicated software costs between MAD 100-500/month for SMEs. ROI is typically achieved within 3-6 months through time and paper savings.

### How does Aslan facilitate electronic invoicing?

Aslan integrates invoicing directly into its professional wallet. Entrepreneurs can create compliant invoices from the application, benefit from automatic reconciliation with received payments, and export data to their accountant. All mandatory fields are pre-filled to ensure compliance.