Skip to Content
Talk to an expert — 30 min
Free template · Invoice · Morocco

Invoice template Morocco: free and compliant (Excel)

A compliant invoice in Morocco must show: the seller's name and address, its RC, IF, ICE and TP identifiers, a sequential invoice number, the date, the customer's name and ICE, the description of the goods or services, quantities and prices excluding tax, the TVA (VAT) rate and amount, the total including tax and the total amount written out in words. Download our ready-to-use Excel template, with automatic TVA formulas.

Updated: July 2026

Checklist

Mandatory information on an invoice in Morocco

Seller side

Registered company name and address · Trade Register number (RC) · Tax Identifier (IF) · Common Enterprise Identifier (ICE) · Professional Tax (TP) · sequential invoice number · date of issue.

Customer side and amounts

Customer's name and address · customer ICE (between taxable businesses) · precise description · quantities and unit prices excluding tax · TVA rate and amount per line · total excluding tax, TVA and total including tax · total amount written out in words · payment terms and deadline (law 69-21: 60 days by default, 120 maximum).

The Excel template has its limits: manual numbering, no payment tracking, re-keying into accounting, and before long the DGI electronic invoicing mandate, which will require a structured system. Once you issue a few dozen invoices a month, proper software becomes essential — see our sales management software page and DGI electronic invoicing.

Tip: the 2026 Finance Act already requires electronic accounting — plan ahead.
Article 145 of the CGI

Table of mandatory information on a Moroccan invoice

InformationDetailIf it is missing
Seller identityName or company name, addressInvoice open to challenge
Seller ICECommon company identifier, 15 digitsPossible rejection in a tax audit
IF and business tax numberTax identifier and business tax (TP) number; trade register (RC) in practiceIrregular invoice
Customer identity and ICEMandatory in B2B since 2019The customer loses the deduction of the expense and of the VAT
Number and dateContinuous chronological numbering, no gapsDoubt over the completeness of revenue
DescriptionGoods or services, quantities, unit prices excl. VATExpense not justified
VATRate and amount per rate, totals excl. VAT, VAT and incl. VATVAT not recoverable
PaymentMethod, due date (law 69-21) and any withholding taxDisputes over payment terms

The most common mistakes

  • Customer ICE missing or wrong, especially on counter sales to companies.
  • Numbering restarted “by hand” each year, or invoices deleted instead of being cancelled with a credit note.
  • Several VAT rates added together on a single line.
  • No payment due date: it then becomes impossible to prove compliance with law 69-21.

This Excel template — and then what?

The template is fine to get started. But DGI e-invoicing will require a structured (XML) format, signed and validated by the tax administration’s platform: an Excel file or a PDF will no longer be enough. The natural next step is sales management software that produces compliant invoices from quotations and deliveries.

Example

Example of a completed Moroccan invoice

This is what a compliant invoice looks like once every mandatory item is filled in: seller identifiers, customer ICE, numbering, line details excl. VAT, VAT per rate, total incl. VAT in figures and in words, payment due date.

Atlas Conseil SARL
12, boulevard Exemple, 20000 Casablanca
RC 000000 · IF 00000000 · TP 00000000
ICE 000000000000000
INVOICE
No. FA-2026-0142
Date: 15/11/2026
Due: 14/01/2027 (60 days)
Billed to
Société Exemple SA
45, rue Exemple, Rabat · ICE 000000000000000
DescriptionQtyUnit price excl. VATVATTotal excl. VAT
Consulting assignment — scoping5 d6,000.0020%30,000.00
User training2 d4,500.0020%9,000.00
Printed training materials11,200.0020%1,200.00
Total excl. VATMAD 40,200.00
VAT 20%MAD 8,040.00
Total incl. VATMAD 48,240.00

Invoice closed at the sum of: forty-eight thousand two hundred and forty dirhams incl. VAT.

Payment by bank transfer no later than 14/01/2027 · Late-payment penalties under law 69-21.

Fictitious example — dummy identifiers
Auto-entrepreneur

Auto-entrepreneur invoices in Morocco: what changes

  • No VAT: an auto-entrepreneur does not charge VAT; the invoice states this and the amount invoiced is the amount payable.
  • Identifiers: registration number in the national auto-entrepreneur register and ICE, instead of a company’s RC and IF.
  • Same basic rules: continuous numbering, date, customer identity, description and price, retention of invoices.
  • MAD 80,000 threshold per customer: since the 2023 finance act, when service revenue earned from a single customer exceeds MAD 80,000 in a year, the excess is subject to a 30% withholding tax applied by that customer. Raising this threshold is under discussion in the 2027 finance bill.

General rules, to be confirmed with your accountant for your situation.

Business documents

Quotation, delivery note, invoice, credit note: which document for what?

DocumentWhat it is forTax value
QuotationPropose a price and terms before the saleNone: it becomes commercially binding once accepted
Purchase orderFormalise the customer’s agreementNone, but useful in a dispute
Delivery noteProve the handover of goods or the completion of the serviceNone; it triggers invoicing
InvoiceRecord the sale and the receivable, with VATAccounting and tax document, kept for 10 years
Credit noteCancel or reduce an invoice already issuedTax document: corrects VAT and revenue
FAQ

Invoicing in Morocco: your questions

How long must invoices be kept?

Ten years. The Commercial Code and the General Tax Code require invoices and accounting documents to be kept for ten years, on paper or electronically.

Can an invoice already issued be modified?

No. An issued invoice is neither modified nor deleted: you issue a credit note that cancels or reduces it, then a new invoice if needed. Numbering stays continuous.

Is the customer’s ICE mandatory?

Yes between VAT-registered businesses: without its ICE on the invoice, the customer loses the deduction of the expense and of the VAT. For a sale to a private individual, the customer’s ICE is not required.

Is the amount in words mandatory?

Yes, the total incl. VAT written out in words is one of the items expected on a Moroccan invoice. Invoicing software generates it automatically.

Will an Excel invoice still be accepted?

For now yes, if every mandatory item is present. With e-invoicing, the DGI will require a structured format produced by software: see our guide to e-invoicing in Morocco.

Move from Excel to automated invoicing

A 30-minute demo: quotations, compliant invoices, payment reminders and integrated accounting with Odoo.

Book a demo

Official sources

To check rates and obligations, refer to the official texts in force: