You've received your first invoice from a Moroccan freelancer or supplier, and there's a 15-digit number in the header you've never seen before. A quick ICE number Morocco lookup settles most doubts, and this guide shows how. Is it real? Does it matter? Your accounting team will ask, and the honest answer is that it matters quite a lot.
That number is the ICE, and it sits at the centre of how Morocco identifies businesses. Here's how to read it, check it and get one if you're the one setting up.
The ICE number Morocco assigns to every business, short for identifiant commun de l'entreprise, is a 15-digit code issued to each company and each of its establishments: 9 digits for the company, 4 for the establishment and 2 as a control key. It appears on invoices and can be looked up on ice.gov.ma.
If you're a foreign company that wants to hire people in Morocco rather than just pay suppliers, an employer of record in Morocco handles contracts, payroll and invoicing under its own legal entity. Even then, knowing how to read an ICE helps you vet everyone else you pay locally.
What is the ICE, and why do Moroccan invoices carry it?
The ICE links Morocco's other legal identifiers (trade register, tax ID, social security) without replacing them. According to Finances News Hebdo, companies had until 1 July 2016 to obtain one. It identifies a company and its branches in a single, unified way.
Think of it as a cross-reference key. Instead of matching a company across several registries, an authority can recognise it from one number. For you as a client, the practical rule is simple: an invoice without a readable ICE looks incomplete, and a careful finance team will bounce it.
Reading the 15 digits
The number splits into three blocks, as described by DémarchesMaroc and ClicPaie.
| Positions | What it holds | In the published example (123456789000057) |
|---|---|---|
| 1 to 9 | Company identifier | 123456789 |
| 10 to 13 | Establishment (head office or branch) | 0000 |
| 14 and 15 | Control digits | 57 |
A branch keeps the first nine digits of its parent and only changes the next block. That's why two ICEs from the same group look almost identical.
Who needs an ICE number Morocco registers?
Companies (SARL, SA, SAS, SNC), sole traders registered as merchants, branches of foreign firms, liberal professions and self-employed entrepreneurs all need one. Private individuals and employees don't. According to ClicPaie, the requirement reached self-employed entrepreneurs in 2021 through the national register.
For a freelancer, the ICE is issued at registration and printed on the self-employed card, so it isn't requested separately. Our guides on the self-employed card in Morocco and on online registration explain that part of the process.
ICE number Morocco lookup: download the certificate
To check a supplier, use the official portal ice.gov.ma. According to DémarchesMaroc, you click on "Récupérer votre ICE", search by company name or tax ID, then download the certificate. If the company isn't listed, you can file an "ICE request".
Have the trade register number and the tax ID within reach. The short route looks like this:
- Open the official portal and pick the ICE recovery option.
- Enter the company name or its tax ID.
- Check that the registered name and legal form match your contract.
- Download the ICE certificate and file it with the supplier record.
One snag flagged by ClicPaie: a tax ID that starts with a zero can be rejected, and you then have to drop that zero. The trade registry directory directinfo.ma also lets you search by name or register number. Third-party lookup sites can help you get started, but the certificate itself comes from the official site.
How to get an ICE depending on your situation
You get an ICE through a different channel depending on whether you're creating a company, registering as self-employed or running a business that predates 2016. For a new company it comes through the OMPIC when the negative certificate is requested. For a freelancer it arrives with the registration.
| Your situation | Where and when | Good to know |
|---|---|---|
| New company | OMPIC, with the negative certificate | Automatic, required for incorporation |
| Self-employed | Registration on the ae.gov.ma portal | Printed on the card, copied onto every invoice |
| Company created before 2016 | ice.gov.ma portal | Online recovery or request |
On cost, DémarchesMaroc says that allocation generally carries no direct fee on the official platform, although registration fees may apply. Always confirm the current amount on the relevant site before paying anyone.
Why a wrong ICE stalls your payment
An invoice without an ICE is treated as irregular by the tax authority, according to Upsilon Consulting, which comments on Article 146 of the General Tax Code. Purchases not backed by a regular invoice aren't deductible. Your Moroccan counterpart has every reason to insist on an exact number.
If you're building supplier files, our article on self-employed invoices in Morocco lists the other mandatory mentions, and the invoice generator puts each field in the right place.
Five mistakes we keep seeing
- A typo in one of the 15 digits that nobody rereads because the number "looks right".
- Mixing up the ICE, the tax ID and the trade register number and pasting them in the wrong box.
- Using the head office ICE for a branch, when the fourth block should change.
- Copying a number from a third-party site without confirming the company name on the official portal.
- An old invoice template never updated after a change of status or address.
What if a supplier's ICE can't be found?
When a search returns nothing, recheck the spelling of the company name and the tax ID first, because a single wrong character empties the results. Then ask the supplier to send its ICE certificate rather than guessing the number from older documents. A valid ICE number Morocco suppliers can produce in minutes is a fair thing to expect.
A very new company may not appear everywhere yet. In that case, wait a little and keep proof of the request. If the supplier can't produce a number at all, treat that as a signal to take seriously before you sign a contract or pay a deposit. Ask for the certificate in writing and keep it with the contract, so the paper trail is complete if a dispute ever comes up later.
A simple routine for foreign clients
Keep a small tracking sheet: supplier name, ICE, date you verified it on the portal, link to the certificate. It fits in a spreadsheet and saves you from chasing paperwork on payment day. When a supplier changes legal form or address, run the check again instead of reusing last year's number.
The same logic applies if you operate in Morocco yourself. A change of business address, activity code or status should be reflected on your documents, otherwise your invoices describe a situation that no longer exists. Keep a copy of your card and certificate where you can find them in thirty seconds.
Things to ask before paying a Moroccan supplier
Does the legal name on the contract match the one returned by the lookup? Is the ICE on the invoice identical to the one on the certificate? Does the invoice carry the other mandatory mentions? These three questions catch most problems before money moves. Add a quick note of the date you checked, and you'll have a clean audit trail if your own finance team ever asks how a supplier was vetted.
So what does this mean in practice?
Take an example: a French agency that works with a freelance developer in Casablanca. The developer is self-employed, her ICE is on her card and on every invoice. The agency checks it on the official portal, files the certificate, and payments flow without friction.
Now suppose the agency wants her on a long-term engagement with proper employment terms. Contracting through an entity in Morocco takes time and a fair amount of paperwork, which is why many foreign firms use an employer of record instead. Both routes work. One keeps you a client of an independent, the other makes you the employer through a local partner. The right choice depends on how long the engagement will last, how many people are involved and how much administration your own team can absorb.
Before your next payment
Take five minutes to run an ICE number Morocco check on the official portal for your supplier, compare it digit by digit with the invoice and save the certificate. Do it once per supplier and you're covered for the file.
And if you're weighing up hiring in Morocco rather than just buying services, talk to the WEEPO team about which setup suits your headcount and timeline. The ICE is only the first of several compliance questions you'll meet along the way.
