- Proceeds from service exports must be repatriated in full within 90 days of completion of the services, on the basis of a service agreement.
- Items that may reduce the proceeds include commissions (10% max.), factoring fees, taxes in the client’s country and expenses necessary to perform contracts abroad.
- Contracts awarded abroad must be declared to the Foreign Exchange Office (Office des Changes) within 30 days of notification of the award.
- Since 2026, the holder of a foreign contract may credit its foreign-currency account with the repatriated amount, up to 15% of the contract value.
Morocco exports a growing share of services: IT development, engineering, customer relations, consulting and contracting works. Foreign-exchange regulations set a straightforward rule — bring the foreign currency back within 90 days — and govern the specific rules for contracts carried out abroad.
What service exports cover
Services rendered in Morocco or abroad by a resident for the benefit of a non-resident, against remuneration. A service agreement is required. Note that a subsidiary located in an industrial acceleration zone is treated as a non-resident, as is an entity in an offshore financial centre.
Repatriation: 90 days
Service exporters must repatriate full proceeds within 90 days from the date the services are completed. Amounts are surrendered on the foreign-exchange market, with the option to hold a portion in a foreign-currency or convertible dirham account.
As with goods, a factoring contract requires substantiating either repatriation or assignment of the receivable to a Moroccan factor. In the event of client insolvency or dispute, the exporter pursues recovery and informs the Foreign Exchange Office (Office des Changes).
What may reduce the repatriated amount
- commissions paid to a foreign representative, up to 10% of the invoiced amount (upon presentation of the invoice and representation or brokerage contract);
- factoring fees, per contract;
- taxes and duties paid in accordance with contract clauses and the regulations of the client’s country;
- expenses necessary to perform contracts abroad.
Numerical example
A software development company invoices USD 200,000 to a US client for an assignment carried out between 1 March and 30 April. The services are completed on 30 April.
- Repatriation deadline: 30 April + 90 days = 29 July.
- If the sales agent in Europe receives 6% (USD 12,000), that is permitted (10% ceiling).
- Proceeds to repatriate: USD 188,000, part of which may be credited to the foreign-currency account under the exporter’s rules.
Discounting receivables
Banks may finance in foreign currency service receivables whose remaining payment term is at least 30 days. The proceeds are used to repatriate foreign currency ahead of maturity. Repayment takes place out of the export proceeds at maturity.
Contracts performed abroad
Moroccan entities awarded foreign contracts (tenders) follow a dedicated regime.
| Obligation or facility | Rule |
|---|---|
| Contract declaration | To the Foreign Exchange Office, Appendix 8 form, with a copy of the contract, within 30 days of award notification |
| Advances to execute the contract | Up to 20% of the contract value, pending initial collections; prompt repatriation if the contract is not performed |
| Contract foreign-currency account | Opened with a maximum initial deposit equivalent to MAD 10,000; one account may cover multiple contracts |
| Crediting the exporter’s account | Up to the repatriated amount, capped at 15% of the contract value (not cumulative with the option to credit 70% of the margin) |
| Account abroad | Contract holder or consortium lead: permitted; temporary account for up to 6 months for tender submission |
| Equipment bought and used abroad | Payment against invoices; import the equipment or repatriate sale proceeds within 3 months after final completion |
| Foreign service providers | Payment against contract (submitted once) and final invoices |
Companies must use amounts collected under the contract first and foremost to pay for the services and equipment needed to execute it.
Counting the 90 days: a milestone-based contract
The deadline runs from the date the services are completed, not from the invoice date. For a USD 300,000 contract paid in milestones of USD 100,000:
| Milestone | Completion date (acceptance report) | Repatriation deadline (+ 90 days) | Amount to track |
|---|---|---|---|
| 1. Scoping and design | 15 January | 15 April | USD 100,000 |
| 2. Development | 30 March | 28 June | USD 100,000 |
| 3. Acceptance and go-live | 30 June | 28 September | USD 100,000 |
An invoice issued on 10 February for the 15 January milestone does not push the due date back to 10 May. The acceptance report (or any equivalent dated document) is therefore the central tracking document: it sets the starting point. For ongoing services (maintenance, call centres), best practice is to track each invoiced period with its own deadline.
A tracking table to maintain
| Invoice | Client | Completion date | Repatriation due date | Amount (USD) | Collected on | Status |
|---|---|---|---|---|---|---|
| F-2026-014 | Client A | 15/01/2026 | 15/04/2026 | 100,000 | 02/04/2026 | Repatriated |
| F-2026-031 | Client A | 30/03/2026 | 28/06/2026 | 100,000 | Follow up |
An alert 30 days before the deadline gives enough time to chase the client or initiate recovery.
Foreign-currency receivables in the accounts
A service invoiced at USD 200,000 when the dollar stands at MAD 9.80 is booked at MAD 1,960,000:
| Timing | Account | Debit | Credit |
|---|---|---|---|
| Invoice | 3421 Trade receivables | 1,960,000 | |
| 7125 Sales of services produced abroad (per the entity’s chart) | 1,960,000 |
At year-end, the receivable is revalued at the closing rate. If the dollar stands at MAD 9.60, the receivable is worth MAD 1,920,000: the MAD 40,000 difference is an unrealised loss, recorded as a translation adjustment — asset (account 3701 “Decrease in current receivables”) against trade receivables; it may give rise to a provision for foreign-exchange losses (account 4506). If the dollar has risen, the difference is an unrealised gain, recorded under translation adjustments — liability.
Upon collection at a rate of MAD 9.55, the settlement proceeds are 200,000 × 9.55 = MAD 1,910,000: the realised FX loss on the transaction is 1,960,000 − 1,910,000 = MAD 50,000, booked to foreign-exchange losses (account 6331), after reversing the translation adjustment and provision recognised at year-end. See the article on year-end adjusting entries under CGNC.
The choice of invoicing currency and hedging (forward contract, option) should be decided before signing the contract, not afterwards: see the article on hedging foreign-exchange risk.
Case study: a software publisher exporting its service
A Moroccan company develops bespoke software for a European client. Contract worth EUR 300,000, payable in three milestones.
| Milestone | Invoice date | Amount (EUR) | 90-day period until |
|---|---|---|---|
| 1. Specifications signed off | 5 March | 90,000 | 3 June |
| 2. Beta version delivery | 20 May | 120,000 | 18 August |
| 3. Final acceptance | 15 September | 90,000 | 14 December |
| Total | 300,000 |
Each invoice is tracked separately. If acceptance is delayed until 15 October, the third milestone invoice can only be issued on that date; the reason must be documented (client request, pending sign-off) and correspondence retained. A contract splitting the service into billable milestones payable on specific dates is the best tool for staying on top of deadlines.
Accounting for a service export invoice
The first milestone invoice, EUR 90,000 at 10.80, paid at 10.70:
| Date | Account | Debit (MAD) | Credit (MAD) |
|---|---|---|---|
| 5 March | 3421 Trade receivables | 972,000 | |
| 7125 Sales of services produced abroad | 972,000 | ||
| Payment | 5141 Banks | 963,000 | |
| 6331 Foreign-exchange losses | 9,000 | ||
| 3421 Trade receivables | 972,000 |
No output VAT is charged: service exports are zero-rated (exempt with right to deduct — see the article on VAT on exports). If settlement occurs at 10.90, the MAD 9,000 FX gain is booked to revenue (account 7331). At year-end, any unpaid receivable is translated at the closing rate, and the difference is recognised accordingly.
Repatriating in foreign currency and retaining a share
Service export proceeds are repatriated within 90 days. The regulations allow the exporter to keep a portion in a foreign-currency account, under the terms of the General Instruction on Foreign Exchange Operations (IGOC) (see the article on foreign-currency accounts). Out of MAD 963,000 repatriated, a share may be held in foreign currency to pay business expenses (foreign subcontractors, subscriptions):
| Use of retained share | Benefit |
|---|---|
| Paying foreign subcontractors | Avoids two conversions and FX spread costs |
| Foreign software subscriptions | Direct payment, simpler supporting documents |
| Business travel expenses | Foreign-currency spending without a separate allowance |
| Natural hedge | Foreign-currency expenses offset foreign-currency receipts |
The retained portion is used strictly for authorised purposes; every debit from the account must be substantiated.
A service export file: the required documents
| Document | Purpose |
|---|---|
| Contract with the foreign client | Classification of the transaction and services |
| Specifications, deliverables | Proof of performance |
| Invoice in the foreign client’s name | Basis for VAT exemption |
| Foreign-currency credit advice | Proof of repatriation |
| Bank FX form | Foreign-exchange supporting document |
| Acceptance correspondence (emails, sign-off reports) | Completion dates |
| Deadline tracking spreadsheet | Internal control |
Frequently asked questions
Can the client pay through a third party? Payment via a third party is possible in certain cases, provided it is documented (explanatory letter, assignment agreement); otherwise, the bank may refuse to recognise the repatriation.
Can a foreign client be invoiced in dirhams? The contract may be denominated in dirhams or in foreign currency; payment is made through permitted channels, and the invoice must match the contract.
What should be done if the client does not pay within 90 days? Document reminders, notify the bank and the Foreign Exchange Office if necessary, and initiate collection. A documented delay is easier to regularise than silence.
Can a service exporter also sell in Morocco? Yes: it charges VAT on domestic sales and deducts input VAT on its purchases; the exported share generates no output VAT.
Costly mistakes
- Counting the deadline from the invoice date: the starting point is completion of the service.
- Failing to keep the acceptance report: the bank and the Foreign Exchange Office will ask for proof of the date.
- Paying a commission above 10% to a foreign representative without regulatory permission.
- Forgetting to declare a foreign contract within 30 days of notification of the award.
- Leaving foreign-currency receivables unmonitored: late repatriation becomes an exchange-control offence.
- Invoicing in foreign currency without planning hedging: a 5% drop in the exchange rate wipes out the margin on a low-margin contract.
Service exporter’s checklist
- Service agreement specifying parties, scope, fee and payment terms.
- Service completion date recorded (delivery report, acceptance sign-off).
- 90-day deadline tracked in the invoicing tool.
- Commissions capped at 10% and documented.
- Foreign contract: declared within 30 days.
- Foreign taxes: retain proof of payment (useful for tax credit offset in Morocco under General Tax Code (CGI), Article 19 bis).
Special cases and borderline situations
The service is invoiced to a foreign company that is a client of a Moroccan subsidiary. Document use outside Morocco and the beneficial user of the service; export qualification may be challenged if the service benefits a Moroccan entity.
The service is paid in shares or in kind. Settlement must comply with foreign-currency repatriation rules; payments in kind require bank review and, depending on the case, Foreign Exchange Office authorisation.
The foreign client pays in two currencies. Each payment is converted at the spot rate on the day; the 90-day tracking applies to the total invoiced amount.
The provider subcontracts to a foreign third party. Subcontracting is settled under service import rules, subject to potential withholding tax and reverse-charge VAT.
The exporter grants a commercial discount after invoicing. The discount is documented by a credit note or addendum; export price-reduction ceilings apply.
Frequently asked questions
What is meant by an export of services?
Services rendered in Morocco or abroad by a resident for the benefit of a non-resident against remuneration: software development, consulting, engineering, call centres, offshoring and works carried out abroad.
Is a Moroccan freelancer invoicing a foreign client covered?
Yes, where services are provided to a non-resident for remuneration. A service agreement is required and proceeds must be repatriated within 90 days of completion of the service.
Can I open a bank account abroad for a contract?
The contract holder or lead member of a consortium may open a bank account abroad. Where required for bidding, a temporary account may be opened for a maximum of six months, to be closed promptly if the contract is not awarded.
- Office des Changes, General Instruction on Foreign Exchange Operations (IGOC) 2026, Chapter III, Section 4 — export of services
This article presents general rules as at the date shown; it does not replace an analysis of your situation. The French version of the texts prevails.
Article written from the official texts and the firm’s engagement practice. It shows its publication date and, where applicable, its last review.