ICE format checker 15 digits, structure and check digit.

Paste or type an ICE number to check its structure: length (15 digits) and check-digit consistency. A format check, not an official DGI lookup.

········· ···· ··(0/15)

Indicative results — do not replace a chartered accountant's advice. 2026 rates, subject to change.

How a Moroccan ICE is structured

Three things to know about the Identifiant Commun de l'Entreprise.

15 digits in 3 blocks

The ICE has 9 digits identifying the company, 4 digits identifying the establishment (the head office is usually 0000 or 0001 depending on when it was issued), and 2 check digits.

The check digit (mod-97)

The last 2 digits are computed from the first 13 using a modulo-97 formula (similar to an IBAN). It helps catch typos, but some older ICE numbers (issued before 2011) don't follow it and remain valid for the DGI.

A format check is not a DGI lookup

This test only confirms the number has the right shape. It doesn't query any database and can't tell you whether the company exists, is active, or is the one you think it is. Use the OMPIC or DGI portal for an official check.

Frequently asked questions

Does this checker confirm the company exists?

No. It only checks that the number has the right shape (15 digits, consistent check digit). To confirm a company exists and is active, check with OMPIC or request a commercial registry extract.

Why is my valid ICE flagged with a check-digit warning?

ICE numbers issued before 2011 don't always follow the mod-97 algorithm used for newer numbers, but remain perfectly valid. That's why Billora treats this warning as informational, never as a rejection.

What do the 3 digit blocks of an ICE mean?

9 digits identify the company, 4 digits identify the establishment (useful for companies with several locations), and 2 digits form the check key.

Does this tool send my ICE number to a server?

No. The check runs entirely in your browser — no data is sent or stored.

Issue compliant invoices with the right ICE, automatically

Billora checks your clients' ICE format as you type and carries it on every invoice, quote and credit note — compliant with DGI requirements.