4 August 202612 min readGDPR & EU AI Act

GDPR-compliant document AI: the five obligations, and the two a local model removes

TL;DR

  • GDPR does not say “on-premise” and does not ban cloud APIs. It asks for five things on paper: a lawful basis, a minimized field list, an Art. 28 contract with every processor, a transfer mechanism, and a DPIA where the risk is high.
  • The schema you hand the model is your data-minimization statement under Art. 5. Extract what the purpose needs and nothing else, and do not keep the full-page text dump “in case it is useful later.”
  • An EU region is not the absence of a transfer: the US CLOUD Act reaches a US-owned provider wherever the server stands, and Art. 48 is written for exactly that case.
  • Several API providers retain requests for up to 30 days for abuse monitoring — a copy of every invoice, contract page and claim sitting with a processor a month after the job finished.
  • A local open-weight model removes the transfer and the third-party inference processor. It does not remove the lawful basis, the minimized schema, Art. 32 security or the DPIA.

Questions people ask

Is it legal under GDPR to send documents to a cloud AI API?
Yes, if the controller has done the work. You need a lawful basis, an Art. 28 contract with the vendor and each sub-processor, and — for a US provider — a transfer mechanism: Data Privacy Framework certification for that entity, or Standard Contractual Clauses plus a transfer impact assessment. An EU region alone does not settle the transfer question, because the CLOUD Act reaches US-owned providers wherever the server stands.
What lawful basis applies to AI invoice processing under GDPR?
Usually Art. 6(1)(b), performance of a contract — you must process the invoice to pay the supplier — or Art. 6(1)(c), legal obligation, because bookkeeping and VAT law require the record. Legitimate interests under Art. 6(1)(f) covers efficiency gains if you write down the balancing test. Consent is almost never right for back-office documents: a supplier cannot meaningfully refuse to have their invoice booked. Record the basis per purpose in your Art. 30 register.
Do I need a DPIA for AI document processing?
Assume yes at scale. Art. 35 makes a DPIA mandatory where processing is likely to result in a high risk, and Art. 35(3)(b) names large-scale processing of special categories explicitly. A pipeline reading 50,000 claims a month with a machine-learning model ticks “new technology,” “large scale” and, if claims carry diagnoses, “special category.” Write it before the pilot and consult your DPO under Art. 35(2).
Does a local AI model make document processing GDPR compliant?
Not by itself. A local open-weight model removes the international transfer and the third-party inference processor, and puts prompt and image retention under your own control. You still need a lawful basis, a schema limited to the purpose, real Art. 32 security on your own infrastructure, and a DPIA where scale or the data category triggers one. A GPU with no access control is worse under Art. 32 than a well-run EU cloud.
Is an EU cloud region enough for GDPR when using a US AI provider?
It helps physically, not legally. If the provider is US-owned, the CLOUD Act lets US authorities compel it to produce data in its control regardless of where the server stands — the situation Art. 48 and the EDPB’s post-Schrems II guidance address. A US inference API can still be lawful under the Data Privacy Framework or SCCs plus a transfer impact assessment, but someone must have chosen and documented that mechanism in the DPIA.
What should I ask a document AI vendor about GDPR?
Five things the “GDPR-ready” badge usually skips: the full sub-processor list with a country for each and a change-notification mechanism; whether API inputs are ever used for training, including on free or beta tiers; how long prompt logs are retained — often up to 30 days for abuse monitoring — and whether zero retention is available; where human reviewers sit and what they see; and the Art. 28 contract itself, with audit rights.

Want this worked out on your documents?

We will price a real sample against OpenAI or Anthropic and tell you whether Bulk document processing or a local model on your hardware is the cheaper first step.