Credit and debit notes
Correcting an issued invoice without ever rewriting it: a separate, numbered document that points back at it.
Updated on October 24, 2026
Why a separate document
An issued invoice is final. Moroccan tax law (CGI art. 145) requires continuous numbering per fiscal year: reopening an invoice or reusing its number is not an option. Corrections therefore take the form of a second document that references the first and carries all the mandatory mentions itself.
The three documents
Depending on the direction of the correction and which side it happens on.
Numbering
Each kind draws its number from its own sequence.
By default credit notes follow the “AV-” series and debit notes the “ND-” series, both independent from the invoice one. Issuing a credit note therefore never advances the invoice numbering, and the integrity check verifies each series separately.
Note
Creating a credit note
From the invoice concerned, in a few steps.
Open the invoice
A credit note is created from the invoice it corrects — which must be issued, sent or paid. The “New invoice” menu also creates one directly, attached to an invoice or standalone.
Choose the scope
Full credit: every line is copied at the same amounts. Partial credit: you pick the lines and amounts to credit. Either way, the credit note carries over the ledger accounts of each credited line, VAT account included: for a return or a cancellation, the reversal therefore lands where the invoice was allocated.
State the reason
The reason is required — Return by default — and decides the accounting allocation. A free-text detail can go with it.
Issue
The credit note stays a draft until you issue it. On issuance it receives its number, its PDF is archived in the vault, and it becomes final.
Warning
The reasons
Three reasons to choose from, on sales and purchase credit notes alike: Return, Discount or rebate, and Cancellation.
Settling a credit note
Three possible outcomes.
Effect on your figures
Revenue is net of credit notes, the receivable is reduced by the credit notes still open, and collected VAT drops accordingly. On the purchase side, a supplier credit note lowers expenses and deductible VAT the same way.
Note
History
A credit note keeps its own log, and the original invoice keeps the trace of its creation. Allocating a credit note to an invoice, like releasing it, is written on both sides: you read the same operation from the credit note and from the document it settles.
Note
What stays manual
A credit request addressed to a supplier is not yet a document in the product: until the supplier issues their credit note, there is nothing to post. Record the credit note when it arrives.
Tip