- Any person with no establishment in Morocco carrying out taxable transactions for a Moroccan-based customer must accredit a tax representative; failing that, the customer must declare and pay the VAT (CGI Art. 115).
- A VAT-registered customer reports the VAT-exclusive amount on its return, calculates the VAT and deducts it on the same return: the transaction is cash-neutral, subject to the right to deduct.
- A customer whose activity falls outside the scope of VAT withholds the tax at source on each payment and remits it to the tax collector the following month (Art. 117-III).
- The VAT return must include a schedule of non-resident taxpayers in the format prescribed by the tax authority (Art. 112-II).
A Spanish consultancy firm invoices a Moroccan company EUR 40,000 for an assignment carried out in Casablanca. It has neither an office nor employees in Morocco. Who must declare the Moroccan VAT? The General Tax Code (CGI) gives a clear answer: the Moroccan customer. This mechanism, known as reverse-charge VAT (autoliquidation), frequently causes errors during tax audits because it requires declaring a tax that does not appear on the invoice.
The principle under Article 115
Any person with no establishment in Morocco who carries out taxable transactions for a customer established in Morocco must accredit a representative domiciled in Morocco with the tax authority. That representative undertakes to comply with the obligations of Moroccan taxpayers and to pay the VAT due.
In practice, very few foreign suppliers appoint a representative. Failing that, Article 115 shifts the obligation onto the Moroccan customer, who declares and pays the tax owed by the non-resident.
Two situations depending on the customer’s activity
Case 1: the customer is itself VAT-registered
It reports on its own VAT return:
- the VAT-exclusive amount of the transaction;
- the output VAT due (at the applicable rate: 20% for most services);
- and at the same time claims the deduction of that tax, provided the conditions for the right to deduct are met.
The transaction is therefore tax-neutral: the output VAT declared is immediately deducted. However, failing to declare it deprives the business of the right to deduct and exposes it to penalties.
Case 2: the customer carries on an activity outside the scope of VAT
An association, a non-taxable public body, or certain non-taxable professions: the customer must collect the VAT in the name and on behalf of the non-resident by withholding at source on each payment. It remits it to the tax authority’s collector to which it is attached during the month following the month of payment (Art. 117-III).
For this category, VAT is a real cost that must be factored into the budget for the engagement.
Worked example: VAT-registered customer
A VAT-registered Moroccan company receives an invoice for EUR 40,000 (exchange rate applied: MAD 10.80), i.e. MAD 432,000 excl. VAT, from a Spanish firm for consulting services used for its business operations.
| Step | Amount (MAD) |
|---|---|
| VAT-exclusive base | 432,000 |
| Output VAT at 20% | 86,400 |
| Deductible VAT (same return) | 86,400 |
| Net VAT payable on this transaction | 0 |
Accounting entries (payment takes place in March):
| Account | Debit | Credit |
|---|---|---|
| 6136 Intermediary fees and professional charges | 432,000 | |
| 4411 Suppliers (foreign) | 432,000 | |
| 3455 State – recoverable VAT | 86,400 | |
| 4456 State – VAT payable | 86,400 |
Any direct-tax withholding at source (corporate income tax / personal income tax on services provided by non-residents) is a separate matter, governed by the rules on withholding tax on gross payments to non-residents.
Worked example: customer outside the scope of VAT
An association (outside the scope of VAT) pays a foreign service provider in two instalments: MAD 200,000 excl. VAT in April and MAD 100,000 excl. VAT in June. It withholds and remits:
- on the April payment: 20% × 200,000 = MAD 40,000, remitted before the end of May;
- on the June payment: MAD 20,000, remitted before the end of July.
The supplier receives the net amount, or the association bears the tax, depending on the contract (the tax-burden clause is essential).
What happens when reverse-charge VAT is overlooked
Taking the Spanish firm again: the VAT-registered Moroccan company declared nothing on the MAD 432,000 excl. VAT engagement. During a tax audit, the authority identifies the omission:
| Item | Amount (MAD) |
|---|---|
| Undeclared output VAT | 86,400 |
| Deductible VAT not claimed in the proper period | 86,400 |
| Surcharges and late-payment interest on output VAT | to be added under CGI rules |
The outcome is stark: neutrality is lost if the deduction was not exercised in accordance with the prescribed rules; and surcharges are calculated on the undeclared output VAT, even where deduction would have been allowed. Hence the simple rule: declare non-resident services every quarter or every month, even when the net balance is nil.
Addressing VAT in the contract
| Clause | Recommended content |
|---|---|
| Price | Stated exclusive of Moroccan VAT, noting that VAT is reverse-charged by the customer |
| Supplier’s obligations | Provide a complete invoice showing the nature, date and place of performance of the service |
| Customer’s obligations | Declare and pay VAT under Moroccan law |
| Tax withholdings | Specify who bears any direct-tax withholding at source (corporate or income tax) and any gross-up |
| Currency and exchange | Specify the invoicing currency and settlement by bank transfer |
For a customer outside the scope of VAT, the clause allocating liability for withheld VAT is critical: it alters the cost of the engagement by 20%.
Quick decision table
| Question | If yes | If no |
|---|---|---|
| Does the supplier have an establishment or accredited representative in Morocco? | It charges Moroccan VAT itself | Move to the next question |
| Is the service used or performed in Morocco? | Reverse charge (VAT-registered customer) or withholding (out-of-scope customer) | Outside the territorial scope of Moroccan VAT |
| Is the customer VAT-registered? | Declare and deduct on the same return | Withhold at source on each payment |
Filing obligations
- The VAT return includes a schedule of non-resident taxpayers, in the format prescribed by the tax authority (Art. 112-II).
- The business must keep accounting records enabling those transactions to be identified (Art. 118).
- The customer is liable: failing to declare is penalised as an under-declaration of VAT.
Converting into dirhams: which exchange rate to use?
The base for reverse-charge VAT is expressed in dirhams. Foreign-currency invoices must therefore be converted at the exchange rate in force on the date of the chargeable event, using the method adopted by the business and applied consistently: the bank’s rate on the transaction date, or a published reference rate. Keep the conversion calculation on file together with proof of the rate used.
Example: an invoice for EUR 40,000, paid on 14 March, at a rate of MAD 10.80 per EUR 1:
| Step | Calculation | Amount (MAD) |
|---|---|---|
| VAT-exclusive base | 40,000 × 10.80 | 432,000 |
| VAT at 20% | 20% × 432,000 | 86,400 |
| Deduction (same return) | −86,400 |
If payment is made in several instalments at different exchange rates, VAT is calculated on each payment at the rate on that day, since the chargeable event is payment or partial payment. A tracking schedule per invoice prevents errors.
| Payment | Amount (EUR) | Rate | Base (MAD) | VAT at 20% (MAD) |
|---|---|---|---|---|
| 14 March (deposit) | 12,000 | 10.80 | 129,600 | 25,920 |
| 20 May (balance) | 28,000 | 10.70 | 299,600 | 59,920 |
| Total | 40,000 | 429,200 | 85,840 |
The difference compared with converting at a single rate (MAD 432,000 and MAD 86,400) is MAD 560 of VAT: modest, but consistency of method is essential in a tax audit.
Mixed engagement: part in Morocco, part abroad
An invoice for EUR 100,000 from a foreign firm covers a consulting assignment involving 70 days of work performed abroad and 30 days on site in Morocco. Classifying each portion requires applying the place-of-supply rules: Moroccan VAT applies to services used or exploited in Morocco.
| Item | Treatment to review |
|---|---|
| Days on site in Morocco | Service rendered and used in Morocco: reverse charge |
| Days abroad for a Moroccan company’s needs | Service used in Morocco: in principle reverse charge |
| Re-invoiced travel expenses | Follow the treatment of the main service |
| Reimbursement of incurred expenses | Distinguish disbursements from re-invoiced services |
If in doubt, require an itemised invoice from the supplier and seek tax advice before making the first payment. The breakdown and contract are your primary defence in an audit.
Total cost of a foreign service: VAT and withholding tax together
The same service can trigger both a direct-tax withholding at source (personal income tax or corporate income tax on the non-resident—see the article on withholding tax on services by non-residents) and reverse-charge VAT. Summary for a MAD 432,000 service under a net-of-tax contract (where the supplier bears Moroccan tax):
| Item | Calculation | Amount (MAD) |
|---|---|---|
| Service invoiced | 432,000 | |
| Withholding tax (10%) | 10% × 432,000 | 43,200 |
| Net wired to supplier | 388,800 | |
| Reverse-charge VAT | 20% × 432,000 | 86,400 |
| Deductible VAT | −86,400 | |
| Net cost to the company | 432,000 | |
| Cash outflows | 388,800 (supplier) + 43,200 (withholding, to tax collector) | 432,000 |
Two filings are required: the direct-tax withholding return (remittance slip, paid in the following month) and the VAT return (schedule of non-resident taxpayers). Keeping a separate calendar for each obligation prevents overlooking one.
Internal reverse-charge memo template
To make the process reliable, each foreign invoice should have a half-page sheet attached to the accounting file:
| Field | Content |
|---|---|
| Supplier | Name, country, foreign tax ID if available |
| Invoice | Number, date, currency amount, currency |
| Nature of service | Consulting, advertising, software, training… |
| Place of use | Morocco / abroad, supporting rationale |
| Exchange rate | Rate applied, source |
| VAT-exclusive base in MAD | Calculation |
| Output and deductible VAT | 20% or applicable rate; full deduction or pro-rata |
| Withholding tax | Yes / no, rate, treaty |
| Filing month | Return period and line |
| Sign-off | Accountant, manager |
This sheet turns a one-off treatment into an auditable procedure. An auditor or tax inspector finding it for every foreign invoice immediately sees that the process is under control.
Frequently asked questions
Do you need a tax representative for every foreign supplier? That is an option for the supplier, rarely used. Failing that, the Moroccan customer assumes the filing obligation.
Is reverse-charge VAT always deductible? Not if the business is subject to a deduction pro-rata or if the expense is one on which VAT deduction is excluded. In those cases, the non-deductible portion becomes an expense.
What if the supplier already charges foreign VAT? That tax is not Moroccan VAT. It is not deductible; Moroccan VAT must still be reverse-charged if the service is used in Morocco.
Must a small monthly subscription be processed this way? Yes: there is no de minimis exemption; a monthly summary schedule grouping subscriptions makes the work easier.
How do you prove the payment date? By the bank debit advice, showing the date, amount and transaction reference.
How to manage this flow in the business
- Flag foreign suppliers (create a “non-resident” indicator in the supplier master file).
- Classify each invoice: service rendered in Morocco or used in Morocco? imported goods (import VAT, customs)?
- Calculate VAT on the VAT-exclusive base in dirhams at the rate on the date of the chargeable event.
- Post the reverse-charge entry (debit recoverable VAT, credit VAT payable).
- Report it in the VAT return and the schedule.
- Archive the supporting documents.
Common points of confusion
- Importing goods: VAT is paid at customs, not via reverse charge.
- Online subscriptions (software, advertising): see VAT on digital services.
- Direct-tax withholding (corporate or personal income tax on non-resident services) and VAT: two taxes, two calculations, two returns.
- Forgetting foreign-exchange rules: paying a foreign service requires a contract or invoice and settlement through a bank (see importing services).
Key takeaway
A VAT-registered customer declares the Moroccan VAT on a non-resident supplier’s service and deducts it on the same return; a customer outside the scope of VAT withholds and remits the tax. In all cases, supporting documents, the exchange rate and the schedule of non-resident taxpayers are indispensable.
Frequently asked questions
My foreign supplier invoiced me without VAT. Do I still need to declare it?
Yes, if the transaction is taxable in Morocco (a service consumed or used in Morocco provided by a person with no local establishment). In the absence of an accredited tax representative, the VAT owed by the non-resident must be declared and paid by you as the Moroccan-based customer.
I run a VAT-registered business. Does this create an actual cost?
In principle no: you declare the output VAT on the VAT-exclusive amount and deduct it on the same return, provided the right to deduct applies (valid invoice, business use, not an excluded expense). It is a neutral mechanism, but it must still be declared.
I am an association or entity outside the scope of VAT. What must I do?
You withhold the VAT at source on each payment made to the non-resident, on behalf of the Treasury, and pay it over to the tax authority’s collector during the month following payment.
Which supporting documents should I keep?
The non-resident’s contract or invoice, proof of payment, the VAT calculation, the schedule of non-resident taxpayers attached to the return, and, for foreign exchange purposes, the documents required by the bank.
- CGI 2026, Art. 115 — obligations of non-resident taxpayers
- CGI 2026, Art. 117-III — withholding at source on transactions carried out by non-residents
- CGI 2026, Art. 112-II — schedule of non-resident taxpayers
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.