Skip to content
Pan-African B2B Business Network
Professional ServicesMorocco5 min read

Tax identifier in Morocco (IF): purpose, difference from the ICE and RC, checks

SocoAfrica editorial team · Updated on

Container terminal with gantry cranes, trucks and logistics staff in safety vests

The tax identifier is the number the Moroccan tax administration assigns to each taxpayer. Here is what it is for, how it differs from the ICE and the trade register, and how a buyer can find and check it.

Key points

  1. Under Article 145-III of the General Tax Code, invoices must show the tax identification number assigned by the local tax office.
  2. Article 148 of the General Tax Code requires a declaration of existence to the local tax office within a maximum of thirty days of the formation of a Moroccan company.
  3. The ICE is added to the tax identifier, the trade register number and the CNSS number without replacing them, according to official ICE documentation.
  4. The DGI's certificate verification portal can check, among others, a "Bulletin de notification de l'identifiant fiscal" (tax identifier notification).

The tax identifier in Morocco: definition

The tax identifier (identifiant fiscal, IF) is the number under which a taxpayer is identified by the Direction générale des impôts (DGI). The General Tax Code (CGI) refers to it in the invoicing rules: Article 145-III requires invoices to show the tax identification number assigned by the local tax office, together with the business tax (taxe professionnelle) number.

In practice, the IF stems from the declaration of existence. Article 148 of the CGI requires taxpayers, whether liable to corporate tax or to income tax on business income, or exempt from them, to file a declaration of existence with the local tax office. The deadline is a maximum of thirty days after formation, for a Moroccan company, or after the start of activity, for an individual.

For a company, this declaration states, among other things, the legal form, company name, registered office, establishments, activities and its trade register and CNSS numbers. It must be accompanied by the articles of association and the list of founding shareholders.

IF, ICE and RC: three identifiers, three roles

The trade register (RC) number identifies a trader's registration with a court registry: it only makes sense with the name of the jurisdiction. The tax identifier identifies the taxpayer with the tax administration. The 15-digit Common Company Identifier (ICE) identifies the company and its establishments with all public authorities.

Official ICE documentation is clear: the ICE is added to the tax identifier, the trade register number and the CNSS number, and does not replace them. These identifiers remain mandatory. For individuals, the ICE platform guide also states that the DGI assigns the ICE and records it on the "Bulletin IF/TP".

A compliant Moroccan invoice should therefore show several numbers: the seller's tax identifier and business tax number (Article 145-III), the ICE (Article 145-VIII), and the trade register number and place of registration (Article 49 of the Commercial Code). Article 145-III also requires the buyer's ICE.

IF search: where to find a company's tax identifier

The first place to look is the supplier's invoice or quote, where the IF must appear. The second is the company's ICE certificate: according to the official ICE platform guide, the search results and the certificate show the company name, ICE, tax identifier, RC number, court and CNSS number together.

The www.ice.gov.ma platform also accepts the tax identifier as a search criterion, alongside the ICE, the RC number with its court, or the CNSS number. It is designed primarily for each company to retrieve its own ICE; for a buyer, the safest route remains to ask the supplier for official documents and cross-check them.

If the numbers differ from one document to another, ask for a written explanation. A company with several establishments may have several establishment ICEs, but the tax identifier and the company name must remain consistent.

Checking a tax document with the DGI

The DGI runs a "Vérification des attestations" (certificate verification) service at attestation.tax.gov.ma. The form asks for the type of certificate, the tax identifier, the entry register number, an identifier, the year and a verification code.

The certificate types that can be checked include the "Bulletin de notification de l'identifiant fiscal" (tax identifier notification), the business tax registration certificate, the turnover certificate and the tax compliance certificate request. A buyer can therefore ask a supplier for one of these documents, then check its authenticity using the references printed on it.

This check does not replace reading the content: an authentic document may be old. Look at its date and, for a significant contract, ask for a recent one.

Good habits for buyers

Build a supplier record with the four numbers: IF, ICE, RC with its city, and CNSS. Check that they appear on invoices as required by the CGI and the Commercial Code, then cross-check them with the ICE certificate and a recent trade register extract.

A missing tax identifier on an invoice is an anomaly under Article 145-III of the CGI. It does not automatically mean fraud, but it should be corrected before payment, if only to keep your own accounts in order.

Having a partner checked with SocoAfrica

SocoAfrica's company verification service (/verification/) checks the legal information declared by a company, including its identifiers, before granting it a badge visible to buyers. Standard listing is free; the Verified and Premium levels are quoted on request.

Preparing a purchase in Morocco? Browse the directory by country or post a request for quotation for free on /rfq/, then apply these checks to the companies that respond.

Frequently asked questions

What is the difference between the tax identifier and the ICE?
The tax identifier identifies the taxpayer with the DGI; the 15-digit ICE identifies the company and its establishments with all public authorities. The ICE is added to the IF without replacing it.
How do I find a Moroccan company's tax identifier?
On its invoices, where it must appear under Article 145-III of the CGI, and on its ICE certificate, which shows the IF next to the ICE, RC and CNSS number.
Can I check that a Moroccan tax document is authentic?
Yes, through the DGI's "Vérification des attestations" service at attestation.tax.gov.ma, which covers among others the tax identifier notification.

This guide summarises official texts as of the date shown. Rules change: check them with the body cited before any transaction.

Sources

Looking for a supplier?

Post a request for quotation: our team forwards it to listed suppliers in the relevant sector.

Post a request for quotation