Invoicing in Morocco: mandatory invoice details (tax code, article 145)
Updated on 22 November 2026
In Morocco, what an invoice must contain is set by article 145 of the General Tax Code (CGI). Here is what the text says, and how to apply it without missing anything.
Who it applies to
Taxpayers selling to buyers or clients must issue them invoices. Article 145-XI excludes individuals under the auto-entrepreneur regime or the single professional contribution (CPU) regime.
Mandatory details (article 145-III)
On top of the usual commercial information, the invoice must show:
- 1° the seller’s identity;
- 2° the tax identification number (IF) given by the local tax office, and the business tax (taxe professionnelle) registration number;
- 3° the date of the transaction;
- 4° the buyer’s name or company name, address and common company identifier (ICE);
- 5° prices, quantities and nature of the goods sold, work performed or services provided;
- 6° separately, the VAT amount charged on top of or included in the price — for exempt or suspended operations (articles 91, 92 and 94), the exemption or regime is stated instead;
- 7° the payment references and method for the invoice;
- 8° any other information required by law.
Sequential numbering
Invoices must be pre-numbered from a continuous series, or issued by a computer system following a continuous series: no gaps, no duplicates, no reused numbers.
Sales to individuals
When selling products to individuals, a till receipt can replace the invoice. It must show at least the date, the seller, the product, the quantity and the price, with VAT where applicable.
How Margokit helps
- Dedicated fields for your ICE (15 digits, checked), tax ID (IF), trade register (RC), business tax number and CNSS, saved once and printed on every invoice.
- Before issuing: your ICE and your business client’s ICE are required; a warning tells you when the IF or business tax number is missing.
- The number is assigned at issue from a continuous counter, then the invoice is locked: mistakes are fixed with a credit note.
- VAT computed per rate and shown separately, exemption mention on exempt lines, amounts in dirhams.
- Your bank details and payment links are printed on the invoice to state the payment method.
What to check yourself
This guide follows article 145-III as published by the tax administration (DGI) in the 2023 edition of the tax code. Finance laws change the code regularly: check the current edition on the DGI website and have your situation reviewed by your accountant. Margokit helps you invoice correctly but is not tax advice.
Sources
Margokit computes everything for you: totals, VAT, mentions and margin.
Create a compliant invoice for free