It is often the last question before signing, and it is simpler than feared: how do VAT and invoicing work when a French company buys a development service from a Moroccan company? Contrary to a widespread idea, there is neither exotic structuring nor customs paperwork involved: services have no physical border, and the applicable regime is the perfectly well-marked one of services between taxable persons where the provider is established outside France. In practice: the Moroccan provider invoices without VAT, and it is your company that reverse-charges French VAT on its own return — VAT that is most often immediately deductible, hence cash-neutral for an ordinary taxable person. A few points remain to be known: the statements expected on the invoice, the line to fill in on the CA3, the absence of a European declaration of services for a non-EU supplier, and the question — distinct from VAT — of withholding tax under the Franco-Moroccan tax treaty. This article covers the subject in plain language. CRYSTAL IT, a software company based in Rabat, has been invoicing French clients for years (our IT offshoring services): here is how it works, without unnecessary jargon — and with the usual precaution: for your particular situation, your chartered accountant remains the final referee.
The Principle: Place of Taxation at the Customer's, VAT Reverse-Charged in France
For services between taxable persons — B2B —, the general rule is set by article 44 of VAT Directive 2006/112/EC and transposed into French law in article 259 of the general tax code (CGI): the place of taxation is where the customer is established. A software development service rendered by a Moroccan company to a business established in France is therefore subject to VAT… in France. And since the provider is not established in France, the reverse-charge mechanism applies, provided for in paragraph 2 of article 283 of the CGI: the person liable for the VAT is the customer — you.
In practice, your Moroccan provider issues an invoice exclusive of tax, with neither Moroccan nor French VAT. Your company itself calculates French VAT at the applicable rate — 20% at the standard rate for a development service — on the invoiced amount, declares it as output VAT on its return, and deducts it simultaneously under ordinary conditions if the service contributes to operations giving rise to a right of deduction. For a company that recovers its VAT in full, the operation is cash-neutral: the same amount appears as output and as deductible VAT on the same return. The reverse charge is therefore not a cost, it is an accounting entry — but a mandatory entry, whose omission is sanctionable even when it is financially neutral: that is accounting vigilance point number one.
- B2B rule (article 44 of Directive 2006/112/EC, article 259 of the CGI): the service is taxable where the customer is established — France.
- Provider not established in France → reverse charge by the customer (article 283, 2 of the CGI): you are the person liable for the VAT.
- Invoice received exclusive of tax; French VAT calculated, collected and deducted by you on the same return.
- Cash-neutral for a taxable person with full deduction — but omitting the reverse-charge entry remains sanctionable.
On the Moroccan Side: An Export of Services, Invoiced Without Moroccan VAT
Symmetrically, from the Moroccan point of view, the service rendered to a client established in France constitutes an export of services. Moroccan tax law exempts exports of services from Moroccan VAT — a classic exemption regime, comparable in spirit to what most states practise so as not to export their own tax. You should therefore never see Moroccan VAT appear on the invoice for a development service rendered to your French company: an invoice that included it would signal an invoicing error to be corrected, not a tax to be paid — Moroccan VAT would in any case not be recoverable in France.
This symmetry — export exemption on the Moroccan side, reverse charge on the French side — is precisely what makes the circuit clean: the service is taxed once, in the country of consumption, by the client itself. It also explains why working with a Moroccan provider is no more complex, tax-wise, than working with a German or Spanish provider: in both cases you reverse-charge; only a few ancillary reporting obligations differ, as we shall see. A Moroccan provider well-versed in European clients — our daily routine at CRYSTAL IT — knows this regime and issues compliant invoices from the outset; a provider's hesitation on these elementary subjects is, moreover, a useful signal in your selection grid (How to Choose a Software Development Provider in Morocco).
- Seen from Morocco, the service is an export of services: invoiced without Moroccan VAT.
- Moroccan VAT on the invoice = an invoicing error to have corrected — it would not be recoverable in France.
- The service is taxed only once, in France, by reverse charge: the circuit is clean and symmetrical.
- A provider used to European clients invoices correctly from the outset: test it from the first quotation.
The Invoice and the CA3: The Statements and Lines That Matter
Your Moroccan provider's invoice must carry the usual statements of a professional invoice — full identification of both parties, date, number, precise description of the services, period concerned, amount exclusive of tax, currency and payment terms — as well as your French intra-Community VAT number, and the indication that the VAT is due by the customer. The usual wording is "reverse charge" ("autoliquidation"); a reference to article 283 of the CGI, or to article 196 of the directive for European providers, is a plus for clarity. Ask for these statements from the first invoice: they smooth bookkeeping and audits.
On your VAT return (the CA3 for the normal actual regime), the operation is declared on the lines dedicated to purchases of services from a provider not established in France, at the amount exclusive of tax, with the corresponding VAT as output and as deductible. An important point that simplifies life: the European declaration of services (DES) only concerns services supplied by French taxable persons to customers established in other Member States of the Union — the purchase of a service from a Moroccan supplier does not fall within it, and there is no customs declaration for services. Finally, the same principle works in reverse: if you re-invoice this service to your own French clients, your invoicing follows its normal regime, French VAT included — the Moroccan origin of the subcontracting changes nothing there (The Real Cost of an Offshore Developer in 2026).
- Expected invoice: complete professional statements, your intra-Community VAT number, amount exclusive of tax and the "reverse charge" wording.
- CA3: amount exclusive of tax on the lines for services purchased from a non-established provider, VAT as output and as deductible.
- No DES for a Moroccan supplier (it covers services supplied to EU customers), no customs formality for services.
- Your own re-invoicing to French clients remains under the normal regime: Moroccan subcontracting changes nothing there.
Withholding Tax and the Tax Treaty: The Question Distinct from VAT
A neighbouring but distinct subject deserves to be known: direct taxes. France and Morocco are bound by a bilateral tax treaty — signed on 29 May 1970 and amended since — which allocates the right to tax income between the two states and avoids double taxation. For the bulk of ordinary development services, invoiced by a Moroccan company without a permanent establishment in France, the remuneration falls under business profits, taxable in Morocco; there is then no French withholding tax to apply to your payments. That is the general case, and it is why most French companies that outsource to Morocco never have to ask themselves the question.
Particular cases nevertheless exist: sums qualifiable as royalties — typically the grant of rights of use over software, or certain transfers of intellectual property rights — may fall under a specific treaty regime authorising a withholding tax, and the boundary between a service and a royalty depends on the drafting of the contract. It is a matter of legal qualification, not of volume: a development contract with full assignment of rights to the client (Intellectual Property and Rights Assignment in a Development Contract) is not analysed as a licence of use. Good practice comes down to two reflexes: have the flow qualified by your chartered accountant or tax lawyer at contract signature — not at the first invoice —, and ask the provider for its certificate of Moroccan tax residence, a standard document that any structured provider supplies without difficulty.
- Franco-Moroccan tax treaty (signed in 1970, amended since): it allocates taxation and avoids double taxation.
- General case of fixed-price or time-and-materials development without a permanent establishment in France: business profits, no French withholding tax.
- Particular case of royalties (licences, rights of use): a specific treaty regime may apply — a question of contract qualification.
- Two reflexes: qualification of the flow by your adviser at signature, certificate of tax residence requested from the provider.
Payments, Currency and Practical Organisation of the Supplier Relationship
What remains is housekeeping, quickly settled. Currency first: nothing prevents contracting and paying in euros, and it is the dominant practice for Moroccan providers working with France — exchange risk disappears on your side, and the provider collects through the Moroccan banking circuit, long accustomed to flows with Europe. Payment is made by ordinary international transfer (SWIFT); bank timelines and fees are negotiated as with any supplier, and it is customary to specify in the contract who bears the transfer fees. No particular authorisation is required on the French side to pay a Moroccan services invoice: it is an ordinary supplier payment.
On the accounting organisation side, treat your Moroccan provider like any foreign supplier: a complete supplier file (identity, bank details verified through a channel separate from email — fake-IBAN fraud knows no borders), a written contract with invoicing and payment terms, and a schedule aligned with project milestones, especially on fixed price where payments must follow demonstrated deliverables rather than a blind calendar (Time and Materials or Fixed Price). Over time, monthly invoicing under time and materials or a dedicated team simplifies everything: one invoice per month, one reverse-charge entry per return, a predictable cost. Taxation, as we can see, is an obstacle neither for accounting nor for administration: it is a standard regime, known to every chartered accountant, which is set up at the first invoice and requires no further attention afterwards (Outsourcing Your Software Development to Morocco).
- Invoicing in euros: the dominant practice — exchange risk is not your problem.
- Standard international transfer; allocation of bank fees to be specified in the contract.
- Usual supplier hygiene: bank details verified through a separate channel, written contract, payments tied to deliverables.
- At cruising speed: one monthly invoice, one reverse-charge entry — taxation disappears from daily life.
The taxation of a Moroccan development service fits in one sentence: invoice exclusive of tax, French VAT reverse-charged on your CA3 — cash-neutral for an ordinary taxable person —, no DES and no customs, and a Franco-Moroccan tax treaty that rules out withholding tax in the general case of development services, subject to the qualification of the flows by your adviser. In other words: nothing that should weigh on your decision to outsource, and nothing that a French chartered accountant does not handle routinely. The real subjects of successful outsourcing lie elsewhere — the choice of partner, the contract, the steering — and we cover them in the rest of this series (our IT offshoring services). CRYSTAL IT, a software company based in Rabat for more than 20 years, invoices its French clients in euros, with the expected statements, from the very first invoice: ask us your practical questions, including those this article has not covered — and for your particular case, have the arrangement validated by your chartered accountant: this article informs, it does not replace personalised tax advice.
Have a project or a question? Let's talk with a CRYSTAL IT expert.
Request a demo


