Guide 6 min 14 October 2026

How to verify an ICE in Morocco: 3-step check and where to find it

How to verify a company ICE: 15 digits, check digits, official portal. Free online ICE checker, where to find a company's ICE and why it is mandatory on invoices.

Verifying an ICE takes less than a minute: a valid ICE has exactly 15 digits, its check digits must be consistent, and only the official portal confirms that the company exists. The ICE (identifiant commun de l'entreprise — Common Business Identifier) identifies every Moroccan company with all government administrations; it must appear on your invoices, and on your suppliers' invoices if you want to deduct VAT.

👉 Verify an ICE for free with our tool — format and check-digit control, right in your browser, no sign-up.

Disclaimer: educational summary, not legal advice. Check current procedures with the relevant bodies or your chartered accountant.

How to verify an ICE in 3 steps

  1. Count the digits: an ICE has exactly 15 digits, nothing else. Remove spaces, dots or hyphens before counting; with 14 or 16 digits, the number is wrong.
  2. Check the key: the last 2 digits are check digits computed from the first 13 (modulo 97 formula, like an IBAN). An inconsistent key usually signals a typo. Note: some ICEs issued before 2011 do not follow this calculation and are still valid. Our ICE checker runs both checks for you.
  3. Confirm with the official source: the dedicated ICE portal (ice.gov.ma) lets you find the company that matches a number. Make sure the company name shown is the one on the invoice.

Steps 1 and 2 only prove that the number has the right shape. Only step 3 confirms that the company exists and that the ICE really is its own.

How is an ICE built?

The ICE is a unique 15-digit number in three blocks:

  • 9 digits identify the company;
  • 4 digits identify the establishment (useful for a company with several sites);
  • 2 digits are the check digits.

It is assigned when the company is created (by the Regional Investment Centre or OMPIC) and never changes. To place it among the other identifiers (IF, RC, TP), read our complete ICE, IF, RC, TP guide.

Where to find a company's ICE

  • On its invoices and quotes, where it must appear.
  • On its commercial register extract and incorporation documents.
  • On its tax certificates.
  • On the ice.gov.ma portal, which lets you look up the ICE of an existing company.
  • The simplest way: ask the company at the start of the business relationship, then verify it.

Why verify your customers' and suppliers' ICE?

  • Your invoices: your (business) customer's ICE must appear on your invoices; a wrong ICE can make VAT deduction harder for your customer.
  • Your purchases: a supplier invoice without a valid ICE, or issued without yours, can cost you the VAT deduction. See expense receipts and deductible VAT.
  • E-invoicing: the ICE is central to the DGI scheme. See DGI e-invoice: why the ICE is mandatory.

The ICE in Billora

When you create a customer or a supplier, Billora checks the ICE format (15 digits) and strips any stray characters. Your own ICE is entered once in Settings → Company and printed on every invoice, quote and credit note.

Billora is invoicing software built for Morocco: complete legal particulars on every document and invoices ready for DGI e-invoicing.

Try Billora for free →

Go further: Billora is invoicing software for Moroccan businesses that carries these details on every document. See also how a Casablanca distributor automated its payment reminders with Billora.


Frequently asked questions

How can I verify an ICE for free?

Paste the number into our ICE checker: it checks the number of digits and the key, without sending anything to a server. To confirm that the company exists, then look it up on the official ice.gov.ma portal.

How many digits does the ICE have?

Exactly fifteen: 9 for the company, 4 for the establishment, 2 for the check digits.

Is an ICE with the right format necessarily valid?

No. A number can have 15 digits and a consistent key without matching a real company, or match a different company. Only the official source confirms it.

My ICE is correct but its check digits are flagged as non-compliant: is that a problem?

No, if the ICE was issued before 2011: some older numbers do not follow the modulo 97 calculation and remain valid. Just double-check what you typed.

Where can I find a company's ICE?

On its invoices, its commercial register extract, its tax certificates, or on the ice.gov.ma portal.

Are the ICE and the IF the same?

No. The ICE is the 15-digit common identifier; the IF is the number assigned by the DGI. Read Company IF: where to find it.

What should I do if a supplier's ICE is wrong or missing?

Ask them for a corrected invoice: the ICE is one of the mandatory particulars.

verify ICEICEcompany ICEICE lookupcommon business identifiere-invoiceDGIMorocco