Tax and regulations
Credit notes in Morocco: how to cancel or correct an invoice
An issued invoice is never deleted: you correct or cancel it with a credit note. Here is when to use one, what it must show and how to number it in Morocco.
By BILLX team5 min read
A pricing error, a forgotten discount, returned goods: sooner or later you will need to go back on an invoice you have already sent. The instinct to delete or edit it is the wrong one. In Morocco, the credit note (facture d'avoir) is the proper way to cancel or correct an invoice.
This guide explains why an issued invoice never disappears, when to issue a full or partial credit note, what the credit note must show and how to number it. For the basic rules, keep our guide to mandatory invoice details in Morocco close at hand.
The credit note in Morocco, step by step
Why you never delete an issued invoice
According to the CGI 2026, art. 145-III, invoices are pre-numbered and drawn from a continuous series, or issued by a computer system in a continuous series. Deleting an invoice would leave a gap in that series. Editing it after sending would create two different versions under the same number. In addition, copies of invoices are kept for ten years (art. 211). An issued invoice therefore stays in your records: an error is corrected with a credit note that refers to the original invoice.
What is a credit note?
A credit note is a document that reduces or cancels, in whole or in part, the amount of an invoice already issued. It does not replace the invoice: it is added to it. The client can clearly see what was invoiced, then what was corrected. In the accounts, the two documents are read together.
Cancelling an invoice: the full credit note
If the invoice should never have existed (cancelled sale, duplicate, wrong client), issue a credit note for the same amount as the original invoice. The invoice is neutralised without being erased. If the sale must be re-invoiced correctly, then issue a new invoice with a new number.
Correcting an invoice: the partial credit note
For a pricing error, a discount granted afterwards or the return of part of the goods, the credit note covers only the difference. Repeat the lines concerned, with the corrected quantities or prices, and the same breakdown as the invoice: amount excluding VAT, VAT by rate and total including VAT. Check your figures with the Morocco VAT calculator.
What a credit note must show
To be safe, show the same information on the credit note as on an invoice:
- the title "Credit note" and its own number;
- the reference of the original invoice, for example "Credit note on invoice No. …";
- the seller's identity, IF and ICE;
- the client's name, address and ICE, the same as on the original invoice;
- the date, the corrected lines, VAT shown separately and the total.
The general layout of an invoice is explained in our Morocco invoice template.
Numbering your credit notes
Give your credit notes their own continuous series, separate from your invoices, for example "NC-2026-001". The two series must never overlap: the same number cannot refer to both an invoice and a credit note. As with invoices, an issued credit note is not deleted.
| Situation | What to do | Why |
|---|---|---|
| Draft never issued | Edit or delete it | It does not yet have a number in the invoice series |
| Issued invoice cancelled in full | Full credit note linked to the invoice | The continuous series stays intact |
| Pricing error or later discount | Partial credit note for the difference | The original invoice stays readable |
| Return of part of the goods | Partial credit note on the returned lines | The amount due matches what was kept |
| Wrong client or duplicate | Full credit note, then a new invoice if needed | Each document keeps its number |
Frequently asked questions
Can you delete an invoice in Morocco?
Not an issued invoice: it belongs to the continuous series required by article 145-III of the CGI and is kept for ten years (art. 211). You cancel it with a full credit note. Only a draft that was never issued can be deleted.
How do you cancel an invoice already sent to the client?
Issue a credit note for the same amount, quoting the number of the original invoice, and send it to the client. If the sale must be re-invoiced, then issue a new invoice with a new number.
Does a credit note need its own number?
Yes. Keep a continuous series reserved for credit notes, separate from your invoices, and show on each credit note the reference of the invoice it corrects.
What is the difference between a credit note and a refund?
The credit note is the document that reduces what the client owes. The refund is the payment that gives the money back if the client had already paid. A credit note can also be offset against a future invoice, as agreed with the client.
Further reading
Tax and regulations
E-invoicing in Morocco 2026: obligations, the DGI and where the timetable stands
What article 145-IX of the CGI provides, what the DGI had or had not published as of November 2026, and how to prepare your invoices without waiting for an official timetable.
· 5 min read
Tax and regulations
Auto-entrepreneur invoice in Morocco: template, mandatory details and 2026 rules
What the General Tax Code says about an auto-entrepreneur's invoice in Morocco, what to put on it in practice, and the good habits that get you paid without discussion.
· 5 min read
Tax and regulations
Auto-entrepreneur in Morocco 2026: tax, ceilings and returns
A 0.5% or 1% rate, ceilings of 500,000 and 200,000 MAD, the 80,000 MAD per-client rule, monthly or quarterly returns: the essentials of auto-entrepreneur tax in Morocco.
· 5 min read
Tax and regulations
Morocco VAT calculation 2026: from net (HT) to gross (TTC), with examples
The formulas for calculating VAT in Morocco in 2026, from net to gross and from gross to net, with worked examples at 20% and 10%, rounding to the cent and the mistakes to avoid.
· 5 min read
Tax and regulations
Payment terms in Morocco: law 69-21 and unpaid invoices
What can be said about payment terms in Morocco and law 69-21, and a practical method to track due dates, chase an unpaid invoice and record payment promises.
· 5 min read