Doubtful and bad debts in Morocco: corporate tax and VAT

Salaheddine YatimAbdelhakim Soudi

Salaheddine Yatim, Abdelhakim Soudi

Upsilon Consulting

Share
Doubtful and bad debts in Morocco: corporate tax and VAT

In brief: In Morocco, a doubtful debt provision is deductible only if legal action is filed within the 12 months following the month it was set up (article 10-I-F-2° of the General Tax Code (CGI) 2026). The debt becomes a final loss only once enforcement remedies are exhausted, with reversal of the provision.

The subject follows three steps: provision at year-end, write-off of the debt, reversal of the provision. The DGI clarified the write-off in two rulings, of 22/03/2010 and 15/01/2025. VAT depends on the company’s regime (collection or debit basis).

The general rules are covered in our pillar article on deductible provisions for corporate tax; this article deals only with trade receivables.

What the CGI 2026 says about doubtful debts

The provision: article 10-I-F-2°

The law provides that provisions are deductible when they are “set up to cover either the impairment of assets, or expenses or losses not yet incurred which current events make probable”. Article 10-I-F-2° of the CGI 2026 requires these losses to be “clearly specified as to their nature” and to allow “an approximate estimate of their amount”.

The third paragraph deals directly with receivables: “The deductibility of the provision for doubtful debts is conditional on legal action being filed within twelve (12) months following that of its constitution.” Circular Note no. 717 (volume 1, p. 160, note 84) dates this rule: it applies to financial years opened from 1 January 2006. Before that, legal action had to precede the deduction.

The provision sits under article 10-I-F, “operating allowances”: the allowance for trade receivables is an operating allowance.

What happens to the provision: paragraphs 4 and 5, article 232-VIII-5°

Provisions that are “used for a purpose other than the one intended or become unnecessary” are “added back to the result of that year”. If the company does not make the adjustment, “the tax authority makes the necessary reassessments” (article 10-I-F-2°, paragraph 4).

Under paragraph 5, “any provision irregularly set up, recorded in the accounts of a non-time-barred financial year must, whatever the date it was set up, be added back to the result of the year in which it was wrongly recorded”.

If that year is time-barred, article 232-VIII-5° of the CGI 2026 provides that “the adjustment is made in the first year of the non-time-barred period”. This rule comes from article 8 of Finance Act no. 38-07 for 2008.

The loss and the reversal: articles 9 and 10

Each entry has its place in the CGI 2026:

TransactionCGI 2026 articleNature
Allowance to the doubtful debt provisionArt. 10-I-F-2°Operating allowance, deductible if legal action is filed
Loss on a bad debt linked to ordinary activity, recurring in natureArt. 10-I-EOther operating expense
Loss on a debt that has become irrecoverable, non-current in natureArt. 10-III-BOther non-current expense
Reversal of the operating provisionArt. 9-I-A-6°Operating reversal (taxable income)
Non-current reversalArt. 9-I-C-5°Non-current income
Collection of a debt already written offArt. 9-I-C-4°Other non-current income

Article 11 of the CGI 2026, which lists non-deductible expenses, contains no provision on doubtful or bad debts.

VAT: what the text contains, and what it does not

The word “irrecoverable” (irrécouvrable) appears nowhere in the CGI 2026; “doubtful debts” appears only in article 10-I-F-2°.

The law provides that the VAT chargeable event is “the total or partial collection of the price” (article 95, paragraph 1). By option, the company moves to the debit basis: the debit “coincides with invoicing or the recording of the receivable in the accounts” (article 95, paragraph 2). For the difference between the two regimes, see our article on the VAT chargeable event.

Articles 106 to 114 provide for no offset or refund of the VAT on a bad debt. The adjustments of article 104-II cover changes in the pro rata and fixed assets not retained, not unpaid receivables.

Key takeaways:

  • In Morocco, a doubtful debt provision is deductible only if legal action is filed within the 12 months following that of its constitution (article 10-I-F-2° of the CGI 2026, financial years opened since 1 January 2006).
  • The reversal of an operating provision for a trade receivable is operating income (article 9-I-A-6° of the CGI 2026), not non-current income.
  • An irregular provision attached to a time-barred year is adjusted in the first non-time-barred year (article 232-VIII-5° of the CGI 2026, Finance Act no. 38-07 for 2008).
  • The CGI 2026 contains no express mechanism for recovering VAT on a bad debt (articles 95 to 114).

What the tax authority specifies: Circular Note no. 717

Circular Note no. 717 of April 2011 remains the core doctrine and is valid overall on this subject. One adjustment is needed: its references to the “5th paragraph of article 10 (I-F-2°)” for time-barred years (p. 159 and 160) correspond in 2026 to article 232-VIII-5°.

Conditions for the provision (p. 157-159)

The tax authority sets out four conditions:

  • the provisioned loss must itself be deductible;
  • it must be clearly specified, which requires the asset to be individually identified, and estimable;
  • it must originate in the financial year, with the probability assessed at year-end;
  • the provision must actually be recorded in the accounts (formal condition, p. 158-159).

The 12-month deadline and its starting point (p. 160-161)

Circular Note no. 717 lists “doubtful or disputed debts” among the accepted impairment provisions. It specifies that “companies must, within the twelve (12) months following that of the constitution of the provision: either cancel the provision that has become unnecessary before the end of that period; or bring the appropriate legal proceedings”.

The starting point is set on p. 161: “The twelve (12) month period is counted from the month following the one in which the provision was set up”. A provision booked in December 2026 opens a period running from January to December 2027.

Provision used, unnecessary or irregular (p. 107, 159-160)

The tax authority distinguishes three situations:

  • provision used for its purpose: the loss is recorded and the provision added back up to the amount of the expense; any excess is unnecessary (p. 159);
  • provision that has become unnecessary: the official example is “the collection of a debt for which a doubtful debt provision had been set up”; the provision is added back to the result of the year (p. 159);
  • provision irregular from the outset: added back to the year in which it was wrongly recorded; provision diverted from its purpose: added back to the year of diversion (p. 160).

Operating provisions that have become unnecessary “are added back to the operating result” (p. 107).

The loss and later recovery (p. 113, 144, 167-168)

According to Circular Note no. 717 (p. 167-168), “losses resulting from the cancellation of debts recognised as definitively irrecoverable, duly justified and non-current in nature are deductible”. Recurring losses linked to ordinary activity fall under other operating expenses (p. 144).

If a debt written off as irrecoverable is collected later, “its amount is a taxable item of that year” (p. 113, “Recoveries on written-off debts”).

The VAT side (volume 2, p. 89)

In the section on the option regime (debit basis), Circular Note no. 717 (volume 2, p. 89) states: “Since accounting is the ordinary means of proof for traders, debts should be accepted as irrecoverable when they are posted, with supporting documents, to the debit of the non-current expenses account.”

This passage defines a criterion for irrecoverability, without drawing any consequence for the VAT already paid. No annual circular note from 2019 to 2026 (nos. 729 to 737) deals with doubtful or bad debts.

Key takeaways:

  • The 12-month deadline for legal action starts in the month following the one in which the provision was set up (Circular Note no. 717, volume 1, p. 161).
  • A doubtful debt provision must relate to an identified, estimable receivable that is actually recorded in the accounts (Circular Note no. 717, p. 158-159).
  • The DGI allows the deduction of losses on debts “recognised as definitively irrecoverable and duly justified” (Circular Note no. 717, p. 167-168).
  • A debt written off and then collected is taxable in the year of collection (Circular Note no. 717, p. 113).

Cases decided by the DGI: write-off and PV de carence

Ruling no. 140 of 22/03/2010: exhaust enforcement remedies

Question. From when can a provisioned doubtful debt be written off as irrecoverable?

Answer. In its ruling no. 140 of 22/03/2010, the DGI accepted a final write-off only after all court proceedings have been exhausted and the court decisions enforced. The write-off goes with the reversal of the provision. The steps taken must respect legal procedures and deadlines.

Scope. The ruling post-dates the 2007 CGI; the third paragraph of article 10-I-F-2° has not changed since, so it carries over unchanged to 2026. Its content is known through publishers’ notes from 2012, with no access to the original text.

Those notes added market commentary that is not the DGI’s position: limitation of the debt and a lawyer’s certificate deemed insufficient, and the rule criticised for dispersed customer bases (water, electricity).

Ruling of 15/01/2025: the PV de carence

Question. A company provisioned a debt, filed legal action within 12 months and obtained a favourable judgment that was enforced. The bailiff notes that the debtor has ceased to exist legally, with no seizable assets, and draws up a report of no assets (procès-verbal de carence). Can the debt be written off?

Answer. In a letter of 15/01/2025, the DGI replied that “if all the necessary steps … have been exhausted and the PV de carence has established that the sums due cannot be recovered, the doubtful debts in question may be written off, with reversal of the related provision already recorded”. It added that “the tax authority retains its right of audit if new evidence shows that recovery is possible”.

Scope. Individual ruling, indicative for other taxpayers. It confirms the 2010 ruling and accepts a PV de carence drawn up after an enforced judgment as proof that recovery remedies have been exhausted. The 2026 law has not changed since: it remains applicable.

A PV de carence without a prior judgment and the court-ordered liquidation of the debtor are not settled by the texts.

For banks, the DGI circular note of 3 February 2017 on certain tax aspects relating to credit institutions states that banking institutions must produce the complete files of every client during a tax audit, so that compliance with the conditions relating to provisions and the monitoring of debts considered doubtful for tax purposes can be checked.

Key takeaways:

  • In its ruling no. 140 of 22/03/2010, the DGI allows the write-off of a doubtful debt only after all court proceedings are exhausted and decisions enforced, with reversal of the provision.
  • In an individual ruling of 15/01/2025, the DGI accepted that a PV de carence drawn up after an enforced judgment justifies writing off the debt, subject to its right of audit.
  • A PV de carence without a prior judgment is settled neither by the CGI 2026 nor by the 2010 and 2025 rulings.

Application in 2026: worked example of a 120,000 DH receivable

Assumptions. Sale of goods at the standard 20% rate (article 99-A): 120,000 DH including VAT, i.e. 100,000 DH excluding VAT and 20,000 DH of VAT. Invoice dated 15/03/2026, no payment received. Year-end 31/12/2026.

No text sets the base of the provision (excluding or including VAT). The example uses an economic logic that the texts do not settle: base excluding VAT under the collection basis, since VAT was never due; base including VAT under the debit basis, since VAT was paid on invoicing.

StepYearEntryCollection basisDebit basisLegal basis
1. Provision at year-end2026Operating allowance100,000 DH120,000 DHArt. 10-I-F-2°
2. Deadline for legal action2027January to December 2027——Art. 10-I-F-2° para. 3; NC 717 p. 161
3. Action filed, judgment enforced, PV de carence2028Loss on bad debt100,000 DH120,000 DHArt. 10-III-B; NC 717 p. 168
3a. Same year2028Reversal of the provision100,000 DH120,000 DHArt. 9-I-A-6°
Net effect on 2028 taxable result2028Loss − reversal00—
4. VAT on the receivable2026-2028VAT due or paid0 (never due)20,000 DH paid, recovery not provided forArt. 95
5. Late collection of 120,000 DH2029Recovery on written-off debt100,000 DH taxable + 20,000 DH VAT due120,000 DH taxableNC 717 p. 113; Art. 9-I-C-4°; Art. 95

Reading.

  • No legal action within the deadline. The provision is not deductible (article 10-I-F-2°, paragraph 3). The CGI does not expressly classify it as “irregularly set up”. The year in which it must be added back in case of inaction is not settled by the texts. If the year concerned is time-barred, article 232-VIII-5° refers to the first non-time-barred year.
  • 2028. The net effect is zero: the tax saving was obtained in 2026, through the provision.
  • VAT under the debit basis. The 20,000 DH paid in 2026 are subject to no offset or refund provided by the CGI 2026; Circular Note no. 717 (volume 2, p. 89) only sets the irrecoverability criterion. The point is not settled.
  • 2029. The collection is taxable income for 2029 and, under the collection basis, the chargeable event for the 20,000 DH of VAT. The DGI reserves a right of audit if recovery becomes possible again (ruling of 15/01/2025).

Key takeaways:

  • For a provision set up at the 31/12/2026 year-end, legal action must be filed between January and December 2027 (article 10-I-F-2° of the CGI 2026; Circular Note no. 717, p. 161).
  • In the year of the write-off, the loss on the debt and the reversal of the provision (article 9-I-A-6°) offset each other: the net effect on the taxable result is zero.
  • Under the collection basis, the 20% VAT on a debt never collected is never due (articles 95 and 99-A of the CGI 2026).
  • No text sets whether the provision is based on the amount excluding or including VAT.

Points to watch in a tax audit

  • The starting point of the deadline. “Following that of its constitution” means from the month after the provision is set up (Circular Note no. 717, p. 161), not from the date it is set up.
  • The nature of the action. A friendly reminder or a formal notice is not legal action. The text requires “legal action being filed”.
  • Premature write-off. A judgment obtained is not enough: it must be enforced and recovery remedies exhausted, or a PV de carence drawn up after an enforced judgment. Otherwise, the loss is added back and only the provision remains allowed.
  • Limitation of the debt and a lawyer’s certificate. Do not present these as DGI positions: they are publishers’ comments from 2012.
  • The basis of the reversal. Article 9-I-A-6° for an operating provision; 9-I-C-5° for non-current reversals; 9-I-C-4° for recoveries on written-off debts.
  • Time-barred years. The references in Circular Note no. 717 to the “5th paragraph” of article 10-I-F-2° are read in 2026 as references to article 232-VIII-5°.
  • VAT. No text of the CGI 2026 organises a “recovery of VAT on bad debts”.
  • The ruling of 15/01/2025. It is an individual ruling, not a circular note.

The right of audit reserved by the DGI justifies a file for each debt (invoice, reminders, legal action, judgment, enforcement reports and PV de carence). How an audit unfolds is described in our article on tax audits in Morocco.

Key takeaways:

  • A formal notice or a friendly reminder does not replace the legal action required by article 10-I-F-2° of the CGI 2026.
  • A debt written off before the judgment is enforced exposes the loss to being added back; only the provision remains allowed.

READ ALSO:

Frequently asked questions

Is a doubtful debt provision always deductible?

No. Article 10-I-F-2° of the CGI makes its deduction conditional on legal action being filed within the 12 months following the month it was set up. Circular Note no. 717 (p. 158) also requires an identified debt, an estimable amount and an actual accounting entry. A reminder or a formal notice is not enough.

When can a debt be written off as a final loss?

Once all court proceedings have been exhausted and the court decisions enforced. This is the DGI's position in its ruling no. 140 of 22/03/2010. The write-off of the debt goes with the reversal of the provision. A judgment obtained but not enforced does not justify the write-off.

Is a PV de carence enough?

Yes, if it follows a judgment that has been enforced and establishes that recovery is impossible. The DGI accepted this in an individual ruling of 15/01/2025, which is indicative for other taxpayers. The debt is written off with reversal of the provision. The tax authority keeps its right of audit if new evidence shows recovery is possible.

What happens if the customer pays after the write-off?

The amount collected is taxable income of the year of collection (Circular Note no. 717, p. 113; non-current income, article 9-I-C-4° of the CGI). Under the collection basis, that payment is also the VAT chargeable event (article 95): VAT becomes due at that point.

Can VAT be recovered on a bad debt?

Under the collection basis, VAT was never due on a debt that was never collected (article 95, paragraph 1). Under the debit basis, the CGI 2026 provides no express mechanism to offset or refund the VAT already paid. This point is not settled by the texts.

Upsilon

Consulting

An independent firm, hands-on expertise

Upsilon Consulting is a chartered accounting, audit and tax advisory firm, statutory auditor registered with the Moroccan Institute of Chartered Accountants. Our team of 40 professionals has been supporting Moroccan and multinational companies since 2011. Our multidisciplinary approach and client proximity allow us to support you with rigour and responsiveness.

OEC Members Technical expertise Multidisciplinary approach Client proximity

Let's talk about your project

For a question about your situation, write to us. Our experts respond within 24h.

Newsletter

Stay ahead of tax & regulatory changes

Get our expert analyses, practical guides and regulatory alerts delivered to your inbox. Join 500+ professionals who trust us.

No spam. Unsubscribe in one click.

They trust us

PfizerAlstomDrägerCFAO MotorsCDG CapitalBourse de Casablanca