Start free trial
14 days free trial - no credit card needed
Hisab
Pricing
Sales: +212 649 22 43 64
Start free trial

14 days free trial - no credit card needed

Login

DGI guide

The ICE in Morocco, explained

Identifiant Commun de l'Entreprise: definition, free registration, format check, and its role on your invoices.

Last updated 16 June 2026

By Salah Eddine Boussettah - Founder & CEO, Marrakech

The ICE (Identifiant Commun de l'Entreprise) is a 15-digit number that uniquely identifies each business in Morocco. Introduced in 2016, it is shared across all administrations (tax, customs, social security, courts) and must appear on all commercial documents, including invoices. It is obtained free online at ice.gov.ma. The ICE is distinct from the tax ID (IF): the ICE is common to all administrations, the IF is specific to the tax authority. From 2026, both the seller's and the customer's ICE remain mandatory on electronic invoices.

01

What is the ICE?

Your company's unique identifier

The ICE, or Identifiant Commun de l'Entreprise, is a 15-digit number assigned to every Moroccan business. Introduced in 2016 by joint decree, it serves as a single identifier shared across all administrations: tax, customs, social security, courts.

The purpose of the ICE is to simplify procedures: a single number identifies the business to all public services, instead of a multitude of references.

Not to be confused with the tax ID (IF): the ICE is common to all administrations, whereas the IF is specific to the DGI. Both are mandatory on a compliant invoice.

02

How to get your ICE

Free and online

1

Go to ice.gov.ma

The ICE is obtained free on the official portal ice.gov.ma, or assigned when the company is created.

2

Enter the company details

Legal form, name, and registration references (commercial register where applicable).

3

Provide the supporting documents

The documents required for your legal form (articles of association, ID, etc.).

4

Receive your ICE

Your 15-digit number is assigned. Keep it: it must appear on your commercial documents.

Exact procedures may change. Always refer to the official portal ice.gov.ma.

03

How to verify an ICE

Check the 15-digit format

Use the tool below to check that an ICE has the correct format (15 digits) before using it on an invoice. To confirm that an ICE exists and matches a given company, contact the relevant administrations or ask for supporting documents.

This checker validates format only. It does not verify the number's existence in the DGI registry (no official online lookup is available).

04

Where is the ICE required?

On all your commercial documents

The ICE must appear on all of a business's commercial documents: invoices, quotes, purchase orders, contracts, as well as on filings with the administrations.

On an invoice, both the seller's AND the customer's ICE are expected - one of the most-checked mandatory fields. With 2026 e-invoicing, both parties' ICE remains required, within a structured invoice (UBL 2.1).

See all mandatory invoice fields
05

Frequently asked questions

The essentials about the ICE

How many digits does an ICE have?

An ICE has exactly 15 digits. A number of any other length is not a valid ICE.

What is the difference between the ICE and the IF?

The ICE (15 digits) is a common identifier shared across all administrations. The IF (tax ID) is specific to the tax authority. Both must appear on a compliant invoice.

How do I get an ICE?

Free online on the official portal ice.gov.ma, or automatically when the company is created.

Is the ICE mandatory on an invoice?

Yes. The seller's and the customer's ICE are among the mandatory fields of an invoice in Morocco, including under 2026 e-invoicing.

Can I verify an ICE online?

You can check the format of an ICE (15 digits) with the tool on this page. To confirm an ICE exists, contact the relevant administrations.

Official sources & references

This guide reflects publicly available information as of the date above. For binding rules, always consult the official sources:

  • Official ICE portal: ice.gov.ma
  • Legal basis: the ICE was introduced in 2016 (joint decree); the obligation to include it on commercial documents stems from the Commercial Code.

Hisab is an independent e-invoicing software provider and is not affiliated with, or endorsed by, the DGI. This information is not legal or tax advice.

Your identifiers, filled in automatically

Save the ICE and IF once - Hisab carries them onto every invoice and into the UBL export for the DGI.