ICE number checker

Paste an ICE to check its format and read its official structure: 9 digits for the company, 4 for the establishment and 2 control digits.

An ICE (Common Company Identifier) has exactly 15 digits: 9 identify the company, 4 its establishments and 2 are control characters. This tool checks the format only: it does not query any registry and does not guarantee the number was issued.

Spaces, dots and dashes are ignored. Eastern Arabic digits are accepted.

Result

Type or paste an ICE number.

This is a format check. It does not verify the control characters, whose method is not published, nor whether the number exists. To confirm an ICE, ask the company for its ICE certificate.

Indicative tool: it checks the format, not whether the number exists, and does not replace advice from your accountant. The check runs in your browser: no number is sent.

How is an ICE number built?

According to the official ICE brochure, the identifier has 15 positions in three parts. It identifies the company and its branches uniquely across all Moroccan administrations.

  • The administration does not publish how the two control characters are computed. The tool therefore does not check them, rather than risk rejecting a valid ICE.
Official ICE structure
PartPositionsRole
Company1 to 9 (9 digits)Identifies the company
Establishment10 to 13 (4 digits)Tells its establishments apart
Control14 and 15 (2 digits)Control characters

How do I use the checker?

The check is instant:

  • Copy the ICE from the customer record, their certificate or an invoice you received.
  • Paste it in the field: spaces, dots and dashes are removed.
  • Read the result: valid format, or the reason it was rejected.
  • If the format is valid, check the three parts in the table.

Example

The official brochure gives the example 123456789000057. It reads: company 123456789, establishment 0000, control 57. The brochure’s second example, 123456789000131, is another establishment of the same company (0001).

Typed as "123 456 789 0000 57", the same number is accepted: spaces are removed before the check. An 8-digit number is rejected: it is often a tax ID or trade register number entered by mistake.

How do I confirm that an ICE exists?

A valid format does not prove the number was issued. Ask your customer for their ICE certificate: the company downloads it on the official portal ice.gov.ma, where it can also view its identification details.

For a new company, the ICE is issued by OMPIC with the negative certificate (name clearance). For an individual entrepreneur, it is issued by the tax administration (DGI) and shown on the IF/TP form.

ICE, IF, RC: what is the difference?

The ICE comes on top of the other legal identifiers without replacing them: the tax ID (IF), the trade register number (RC) and the CNSS number remain mandatory. A common mistake is to type the IF or RC in the ICE box: these numbers are shorter and the tool rejects them.

To see where the ICE must appear on an invoice, read our ICE guide.

The ICE in Nizam

Nizam prints your legal identifiers (ICE, IF, RC, patente, CNSS) on your documents. Each customer’s ICE is stored on their record, checked for 15 digits and printed on their invoices.

Sources

  1. Official brochure on the Common Company Identifier (ice.gov.ma, PDF, August 2015, in French)
  2. Official Common Company Identifier portal (ice.gov.ma)

Sources consulted and checked on 13/10/2026.

Frequently asked questions

How many digits does an ICE number have?

Exactly 15 digits: 9 for the company, 4 for the establishment and 2 control characters.

Does the checker confirm that the ICE exists?

No. It checks the format only and does not query any registry. To confirm an ICE, ask the company for its ICE certificate, available on ice.gov.ma.

What do the 4 establishment digits mean?

They tell apart the establishments of one company, which share the first 9 digits. The official brochure’s examples use 0000 and 0001.

Can the 2 control digits be recomputed?

The administration does not publish their method. The checker therefore does not verify them, so that it never rejects a valid ICE.

Can I type the ICE with spaces?

Yes, the tool removes spaces, dots and dashes. On your invoices, write the 15 digits without separators.

Your customers’ ICE, checked and printed

In Nizam, your legal identifiers print on your documents, and each customer’s ICE is checked for 15 digits and printed on their invoices.