GDPR in Outsourced Development: Data Processing under French Law

GDPR in Outsourced Development: Data Processing Under French Law

Data processing in accordance with Article 28 of the GDPR is mandatory as soon as a company outsources software development to an external provider. If the development team is based outside the European Union, a second layer of requirements comes into play. In that case, the issue also involves the international transfer of data to a third country.

For clients in France, this is not just a theoretical question. The CNIL specifically reviews contracts with IT service providers, and a provider with a development site in Morocco needs to offer additional guarantees because the European Commission has not yet certified that the country provides an adequate level of protection.

Short answer

Data processing under Article 28 of the GDPR requires a written contract with the IT service provider, regardless of its location. If part of the development takes place in Morocco, there is no adequacy decision from the European Commission, which is why standard contractual clauses under Article 46 of the GDPR are necessary. Moroccan law also requires a separate CNDP authorization for data exports. A contracting party based in the European Union that is responsible for the subcontractor chain itself reduces this administrative burden for the French client to a single contract.

Data Processing on Behalf of a Controller under Article 28 of the GDPR: Basic Obligations

Article 28 of the GDPR requires a contract or other legal instrument that specifies the subject matter, duration, nature, and purpose of the processing, as well as the categories of data subject data. The processor may process data only on the basis of documented instructions from the controller, must ensure confidentiality, implement appropriate security measures in accordance with Article 32 of the GDPR, and assist the controller with data subject requests and audits.

The Since September 2017, the CNIL has been publishing its own guidelines for data processors with model clauses that many French companies use as the basis for their contracts. According to Article 28(2), anyone who engages a new subprocessor must obtain prior, at least general, consent from the controller, which must be documented in the contract. The article provides a broader overview of compliance obligations in the outsourcing business GDPR and NIS2 in Nearshoring: Compliance Checklist for Clients.

20 million euros

A fine under Article 83 of the GDPR may be as high as this amount, or up to 4 percent of global annual revenue, if data processing on behalf of a controller does not comply with the requirements of Article 28.

Art. 83 GDPR, in effect since May 2018

Morocco as a third country without an adequacy decision

For data transfers to countries outside the European Union and the European Economic Area, Chapter V of the GDPR requires an additional level of protection. The European Commission may, by means of an adequacy decision pursuant to Article 45, certify that a third country’s level of data protection is equivalent to that of the European Union, as it has done, for example, for Japan and the United Kingdom. As of 2026, no such decision has been made regarding Morocco, even though the state had requested it.

Data transfers to Morocco are therefore not automatically prohibited. However, the data controller must ensure an equivalent level of protection, typically through the European Commission’s standard contractual clauses under Article 46 of the GDPR.

Standard Contract Clauses in Practice

The Standard Contractual Clauses are pre-drafted contractual provisions that the exporter and importer sign and that cannot be freely reworded. They govern the purpose limitation, security measures, subcontracting arrangements, and the procedure for responding to requests for access from authorities in the destination country. For a combination of a European controller and a processor in a third country, Module 2 of the clauses is usually applicable.

The clauses alone are not legally sufficient. The client must also document a transfer impact assessment that examines whether Moroccan law (for example, in the area of public safety) could effectively undermine the agreed-upon level of protection. In practice, this assessment is often skipped, even though the European Court of Justice has explicitly required it since the Schrems II ruling.

Two legal systems, two sets of documentation for transfers to Morocco
Level Required Documentation
EU Page, GDPR Contract pursuant to Article 28 of the GDPR plus standard contractual clauses pursuant to Article 46
EU side, in addition Documented Transfer Impact Assessment in Accordance with the Schrems II Ruling
Moroccan side, Law 09-08 CNDP Authorization for Data Export, Form F118
Moroccan side, ongoing Updates When Changing Cloud or Sub-Service Providers

Page Two: CNDP Responsibilities in Morocco

Moroccan law addresses the same data transfer in the opposite direction. Under Law 09-08, a transfer of personal data to a country not deemed adequate by the CNDP generally requires prior authorization from the Moroccan supervisory authority. According to Article 53 of Law 09-08, failure to obtain this permit may result in fines of up to 300,000 Moroccan dirhams and imprisonment for up to one year., in addition to the European Standard Contractual Clauses.

For the French client, this second obligation is usually invisible because it rests with the service provider in Morocco. This makes it risky, because a service provider who overlooks the CNDP requirement jeopardizes the entire data processing operation, regardless of how comprehensive the European contract may be.

Where this approach reaches its limits
Standard contractual clauses and a CNDP authorization demonstrate formal compliance, but they do not automatically verify whether the service provider actually adheres to them in practice. Without technical controls such as access logs, encryption, and documented retention periods, the contract remains merely a piece of paper. There are no reliable public analyses available regarding the specific scope of government access rights in Morocco that go beyond reports of individual cases. Anyone seeking maximum legal certainty cannot avoid a case-by-case review by a data protection consultant.

One contracting party instead of a chain of subcontractors

Anyone who outsources the development to a company based in Germany, which itself employs teams in Morocco, enters into a single contract under Article 28 of the GDPR with a European contracting party. The standard contractual clauses between the German company and its Moroccan team, as well as the CNDP authorization, are then the responsibility of the German company, not that of the French client. Details on contract and language management for such projects are described in the article „Managing Nearshore Collaboration from France: Contract, Language, Time Zone.“.

This structure does not replace an independent review. The client should still request to see the clauses and the CNDP certificate before the first data set leaves the country. Those who, instead, work directly with multiple subcontractors in different countries are responsible for each of these relationships themselves, and in our view, this is only worthwhile if the cost savings are significant and the data category is non-critical.

Have Contract Documents for Nearshore Projects Reviewed
Anyone purchasing development services related to Morocco should have standard contract clauses and CNDP certification in place before the project begins, not after. We’ll show you which contract components are missing from your project.

Get in touch

Frequently Asked Questions

Does every instance of data processing outside the EU require its own authorization?

No, not in every case. If the destination country has an adequacy decision from the European Commission, the contract under Article 28 of the GDPR is sufficient. If this decision is lacking, as is the case with Morocco, standard contractual clauses under Article 46 of the GDPR and a data transfer impact assessment are also required. On the Moroccan side, depending on the specific circumstances of the case, separate authorization from the supervisory authority CNDP is also required, regardless of the European legal basis. Both pieces of evidence must be included in the contract before the project begins, not merely as part of a subsequent review.

What happens if the provider cannot provide standard contract terms?

In that case, there is no legal basis for the data transfer to Morocco, even if the contract is otherwise complete under Article 28 of the GDPR. The client remains responsible to the competent supervisory authority and is jointly liable if the authority deems the transfer to be unlawful. In practice, this means either postponing the signing of the contract until the clauses have been signed and are on file, or switching to a provider based within the EU that is itself responsible for ensuring compliance with the clauses vis-à-vis its subcontractors.

Is a contract with a German provider sufficient to cover all GDPR obligations?

A contract with a provider based in the European Union covers data processing under Article 28 of the GDPR in a single document and transfers responsibility for downstream standard contractual clauses to that provider. Nevertheless, the client should still request to see specific evidence, such as the signed clauses with the Moroccan team and the CNDP approval. A contract does not replace oversight; it merely simplifies the number of parties with whom such oversight must be conducted.

torck, a German GmbH, serves as the contractual partner for clients in France, while the development teams are based in Maxhütte-Haidhof, Vienna, and Rabat. The French company enters into a contract under Article 28 of the GDPR with a single European contracting party, not through a chain of subcontractors. A German-speaking project management team oversees the team in Rabat; the city is French-speaking, and the time difference with Paris is one to two hours. Standard contract clauses and CNDP approval for the Moroccan team are documented before a project begins.

Schedule a meeting

Legal note
This article refers to laws and regulations to put technical decisions in context. It is not legal advice. Whether and how a rule applies to your company is a question for your legal department or a law firm.

Questions about this post?

Just a couple of sentences about your situation will suffice. The person responding builds these kinds of systems himself.

We'll respond within one business day.torck · Code mit Drehmoment
Florian Blischke
Managing Director at torck · Over 20 years of software development experience
Florian Blischke is the managing director of torck, based in Maxhütte-Haidhof near Regensburg. He has been working in software development for over 20 years. His focus is custom software, data and AI for industry and retail, ranging from the integration of physical processes and IoT to cloud architecture and data- and AI-driven systems. torck works with its own nearshore team in Rabat. At torck, he oversees projects including the Jouvoli energy platform and the KVM Fleet fleet management product. torck develops software at its locations in Maxhütte-Haidhof, Vienna and Rabat and focuses on software that actually works in operation.

Are you facing the same question?

Since 2017, we have been building software for industry and retail from Maxhütte-Haidhof near Regensburg, with teams in Vienna and Rabat. An initial consultation takes 30 minutes and costs nothing. Afterwards you will know whether the project is worth pursuing, even if the answer is no.

More Articles

Oracle Java License: Pay for a subscription or switch to OpenJDK

Oracle Java License: Pay for a subscription or switch to OpenJDK

On October 8, 2026, Oracle introduced fixed annual prices for the Java SE Universal Subscription for organizations with fewer than 3,000 employees; as of October 20, 2026, new updates for Oracle JDK 21 are covered by the OTN license. When does the subscription pay off, and when should you switch to an OpenJDK build?

Read more »