Version française

Tax compliance certificate in Morocco: what it is for and how to get it

The tax compliance certificate (attestation de régularité fiscale) is issued by Morocco's tax administration to companies that have filed their returns and paid their taxes. It is requested online on the DGI portal. It is required for public tenders, often asked for by banks and large customers, and since 2026 it reduces VAT withholding by large customers from 100% to 75%.

By Mohammed Dami, chartered accountant · updated on November 29, 2026 · 4 min read

Framed official certificate against the Casablanca skyline, Dami & Associés illustration

What is it?

The attestation de régularité fiscale is issued by the Moroccan tax administration (DGI). It certifies that, at a given date, the company has filed all returns due and paid its taxes, or is complying with an agreed payment schedule. It is valid for a limited period and must be renewed.

What it is used for

  • Public tenders: part of every bidder's administrative file.
  • VAT withholding: since the 2026 Finance Law, a supplier presenting it to a large customer suffers 75% VAT withholding instead of 100%.
  • Banks, investors and grant bodies, and investment agreements with the State.
  • Group compliance: many groups ask subsidiaries for it in their annual compliance checklist.

How to obtain it

  1. Log in to the DGI e-services portal with the company's account, or through its authorised accountant.
  2. Submit the request.
  3. If the position is clean, the certificate is issued with a verification code; otherwise the portal shows that an issue blocks it, to be resolved with the tax office.

Why it gets refused

  • A missing return, even an old or nil one: a VAT month with no activity, the annual payroll statement, the statement of fees paid.
  • An unpaid balance: late-payment surcharges, minimum contribution, business tax.
  • An unpaid assessment following a tax audit.
  • A payment made but wrongly allocated, or a return filed under the wrong identifier.

The 2027 finance bill, still before Parliament, proposes changes to the certificate's validity period for VAT withholding purposes; see our Finance Law 2027 guide. This article will be updated after publication in the Official Bulletin.

Case study: a supplier blocked before a tender

An IT services company in Casablanca is preparing a public tender response due in ten days. Its certificate request on the tax portal is refused. A review of its tax account shows two issues: a nil VAT return for a month with no invoicing that was never filed, and outstanding late-payment surcharges on a corporate tax instalment paid a few days late.

The missing return is filed the same day and the balance paid online. Once the payments are allocated, the request is resubmitted and the certificate is issued before the deadline. Had the company waited until the day before the tender, it would have lost the contract.

The same block also costs cash: without a valid certificate, a large-account client withholds 100% of the VAT invoiced instead of 75%. On a large annual contract, the difference quickly weighs on working capital.

Common mistakes

  • Requesting the certificate the day before a tender, with no time to fix issues.
  • Not filing nil returns for months with no activity.
  • Forgetting that the certificate expires and sending a client an outdated copy.
  • Paying without checking that the payment was allocated to the right tax and period.
  • Leaving tax portal access in the name of a former accountant or manager.

Checklist

  • Check every quarter that all returns due have been filed, including nil returns.
  • Check for outstanding balances: surcharges, minimum tax, business tax.
  • Note the expiry date of the current certificate and renew it in advance.
  • Send large-account clients a valid certificate with its verification code.
  • Make sure tax portal access is in the company's name.

How Cabinet Dami can help

We monitor your tax returns so the certificate is always available. When it is blocked, we find the cause, file missing returns, have allocations corrected and obtain the certificate, often within days.

Frequently asked questions

Is there a fee?

No. The certificate is issued free of charge.

Can a company under tax audit obtain it?

Yes, as long as its returns are up to date and no assessment from the audit has been issued and left unpaid.

Can a newly created subsidiary get one?

Yes, once it is registered for tax and has filed the returns already due, including nil returns.

Is there an English version?

No. It is issued in Arabic and French; a convenience translation can be provided for the group.

How long does it take to clear a block?

For a missing return or a small balance, the fix is done online in a few days, while the payment is allocated. A misallocated payment or an assessment from a tax audit takes longer, as it goes through the local tax office.

Does a payment plan allow the company to obtain the certificate?

Yes. A company with a payment plan granted by the tax authority that keeps to it is treated as compliant. A missed instalment can, however, block issuance.

Can the accountant request the certificate for the company?

Yes, if the accountant is registered as the company's agent on the DGI e-services portal. They can then monitor the tax account, spot issues and request the certificate.

This article is general information and does not replace advice on your specific situation. The rules cited are those in force at the date of the last update.

Read next

Need help with your situation?

Every company is different: one of the firm’s chartered accountants will answer your questions.

Request a call back

  1. 1
  2. 2
Your contact details

Would you rather call us?

+212 522 31 80 19