# DATEV Data and AI: Data Protection, GoBD and Your Tax Advisor's Role

> Yes, an AI agent may access DATEV accounting data once the legal basis, the processor contract and access rights are settled. Write access must preserve GoBD immutability, payroll data needs extra protection, and your tax advisor is a separate controller who has a say.

Canonical URL: https://www.ruebstudio.de/en/guides/ai-agent-integrations/datev-data-ai-data-protection-gobd  
Author: Dr.-Ing. Marcus Rüb, CEO  
Published: 2026-11-24

DATEV is German accounting and payroll software used by tax advisory firms and their business clients. If your company has a German entity, its ledgers, receipts and payroll very likely sit in DATEV, often kept jointly with an external tax advisor. That makes DATEV data an obvious source for AI agents, and it puts three sets of rules on the table at once: the GDPR, the German bookkeeping principles known as GoBD, and the professional law that governs tax advisors. This guide is orientation, not legal advice.

The technical side – DATEVconnect, interfaces and exports – is covered in [Connecting an AI Agent to DATEV](https://www.ruebstudio.de/en/guides/ai-agent-integrations/connect-ai-agent-datev). This article deals with what comes next: what you may do with the data and who has to agree.

## May an AI agent access DATEV data at all?

Yes. There is no general ban on AI agents working with accounting data. You do need a legal basis for any personal data, a contract with whoever runs the agent, agreement with your tax advisor, and a design that does not undermine the GoBD requirements for immutability and traceability of records.

The general GDPR framework for agents – legal bases, transparency, processors – is set out in [GDPR and AI Agents](https://www.ruebstudio.de/en/guides/ai-law-and-compliance/gdpr-ai-agents-business). Accounting data differs in four ways:

- **Tax law obligations:** postings and receipts fall under the German Fiscal Code, mainly [section 146 AO](https://www.gesetze-im-internet.de/ao_1977/__146.html) and [section 147 AO](https://www.gesetze-im-internet.de/ao_1977/__147.html), plus the tax authority's GoBD guidance.
- **A second controller:** your tax advisor processes the same data under their own responsibility.
- **Payroll:** payroll clients in DATEV hold employee data, some of it in special categories.
- **Long retention:** receipts must be kept for eight years, books and annual accounts for ten (section 147(3) AO). Records the agent creates may fall under these periods.

## Who is responsible: you, the tax advisor or DATEV?

You remain solely responsible for proper bookkeeping, even when an advisor or data centre does the work. Under data protection law the advisor is a separate controller, and DATEV's data centre usually acts as a processor. An AI agent adds one more party whose role must be fixed in a contract.

How the roles break down:

- **Your company:** paragraph 21 of the [GoBD](https://www.lfst.bayern.de/fileadmin/RESSOURCEN/INFORMATIONEN/Steuerinfos/Weitere_Themen/Aussenpruefung/2019-11-28-GoBD-1.pdf) states that the taxpayer alone is responsible for proper electronic books, explicitly including cases where tasks are outsourced to a tax advisor or data centre. Adding an agent does not shift that.
- **The tax advisor:** under [section 11(2) StBerG](https://www.gesetze-im-internet.de/stberg/__11.html), advisors process client data free of instructions and are controllers under the GDPR. You cannot simply instruct them to feed your agent; you have to agree it with them.
- **DATEV:** DATEV's [data processing FAQ](https://www.datev.de/content/dam/markenassets/unternehmenskommunikation/datenschutz/faqs_dsgvo_2025-2.pdf) (as of 28 January 2025) classifies, for example, sending a VAT return through its data centre on behalf of a tax firm as processing on behalf of a controller.
- **The agent operator:** if a service provider or model vendor handles the data for you, that is processing under [Article 28 GDPR](https://dejure.org/gesetze/DSGVO/28.html). You may only use providers that give sufficient guarantees of appropriate technical and organisational measures.

If the tax firm, rather than your company, deploys the agent, [section 62a StBerG](https://www.gesetze-im-internet.de/stberg/__62a.html) also applies: a contract in text form, a confidentiality undertaking from the provider, comparable secrecy protection where the service is performed abroad, and your consent as a client where the service directly concerns your individual engagement.

## Which access levels exist, and what do they mean?

There are three levels: read, suggest and write. The deeper the agent reaches into posting, the more GoBD duties apply to it. For most companies the middle level is the sensible starting point: the agent prepares, a person posts and locks the batch.

| Access level | Example | Data protection | GoBD impact |
|---|---|---|---|
| Read only | Analyse open items, answer questions about receipts | Processor contract, data minimisation | Low, nothing is changed |
| Suggest | Account assignment proposed in an open batch | As above | Medium, a person accepts and locks |
| Write | Agent posts and locks entries itself | As above | High, agent becomes part of the bookkeeping system |

Suggesting is an established pattern. DATEV describes its own [automation services for invoices and bank transactions](https://www.datev.de/web/de/ueber-datev/datev-ki/) as using AI to generate posting suggestions in the DATEV cloud, which are handed to the accounting application and processed further in the usual workflow.

## What do the GoBD require when an agent writes data?

The GoBD require that receipts, original records and postings, once entered, cannot be changed, overwritten or deleted without the change being visible. Changes must be logged and the process documented. An agent with write rights has to fit into this mechanism rather than route around it.

The relevant paragraphs come from the Federal Ministry of Finance letter of 28 November 2019, amended in 2024 and 2025 mainly regarding tax audit data access and e-invoices according to [DATEV](https://www.datev.de/web/de/aktuelles/gesetzesaenderungen/gobd/); paragraph numbers below follow the 2019 version:

- **Paras 58–59:** the original content of a posting must remain identifiable, and changes or deletions to electronic postings must be logged.
- **Para 109:** the GoBD name as impermissible the practice of exporting original records to an office application, editing them there without a log and re-importing them. An agent that exports data, corrects it in its own memory and writes it back follows exactly that pattern unless it keeps a log.
- **Para 109, second example:** draft entries and batch postings must not stay open until year-end. DATEV states that posting batches should be locked by the end of the following month, and its accounting programs by default block VAT return submission while batches remain open.
- **Para 110:** immutability can be achieved through software (locks, finalisation, logging, versioning) and organisationally through access rights. Storing files in a plain file system generally does not suffice without extra measures.
- **Para 111:** for program-generated records, changes to the generating and control data, such as settings and parameters, must also be recorded.

Paragraph 111 matters most for agents. The GoBD say nothing about language models. If an agent generates postings, though, it is reasonable to treat its rules, prompts, account mappings and model version as control data: versioned, dated and not editable after the fact. Confirm that reading with your tax advisor.

## What goes into the process documentation?

The GoBD require process documentation for every IT system, showing its content, structure, flow and results completely enough for an expert third party to verify in reasonable time (para 151). An agent that takes part in posting becomes part of that process, so it belongs in the documentation.

Under para 153 the documentation usually comprises a general description, user documentation, technical system documentation and operating documentation. For an agent this means recording:

- which data it reads and which fields it writes,
- which human check happens before entries are locked,
- which model ran in which version, and when,
- where logs are stored and for how long.

Para 154 adds that, for the whole retention period, the documented process must match the one actually used, explicitly including program versions. With language models that vendors update regularly, this becomes a practical challenge: you need to be able to show which model version prepared a given posting.

## Why is payroll a special case?

Payroll contains employee data and regularly includes special category data under Article 9 GDPR. Processing such data is prohibited in principle and allowed only under the exceptions in Article 9(2). An agent should therefore touch payroll only with a defined purpose and a separate risk assessment.

[Article 9(1) GDPR](https://dejure.org/gesetze/DSGVO/9.html) lists, among others, data revealing religious beliefs and data concerning health. German payroll typically stores church membership, because employers withhold church tax, and records of sick leave. [Section 11 StBerG](https://www.gesetze-im-internet.de/stberg/__11.html) allows tax advisors to process such data within their professional tasks; that permission does not automatically extend to your agent.

Where such data is processed on a large scale, [Article 35(3)(b) GDPR](https://dejure.org/gesetze/DSGVO/35.html) requires a data protection impact assessment. In practice: keep financial accounting and payroll technically separate, give the agent no rights on payroll clients at first, and involve your data protection officer and, in Germany, the works council if one exists before changing that.

## Where may the model run?

For data protection, what matters is where personal data is processed and under which contract. For tax purposes, section 146 AO governs where electronic books may be kept: in Germany, in other EU states, and in non-EU countries only with the tax office's approval. Running the model in Germany or the EU keeps both questions simple.

Under [section 146(2a) and (2b) AO](https://www.gesetze-im-internet.de/ao_1977/__146.html), electronic books may be kept in another EU member state if full tax audit data access remains possible; non-EU locations require an application and approval. An agent that only receives data briefly for processing is not keeping books. If it stores receipts or draft postings permanently in its own storage, review the question with your tax advisor.

DATEV itself takes a cautious route. According to [DATEV magazin](https://www.datev.de/web/de/berufsgruppenuebergreifend/nachrichten/themen-im-fokus/ki-intelligent-nutzen/so-klappt-der-datenschutz-beim-ki-einsatz), a de-identification service in the DATEV data centre detects personal details and masks them before AI processing, then restores them afterwards. You can build the same principle – pseudonymise before calling the model – into your own agent. Options for running models on your own premises or with a German host are described under [sovereign AI](https://www.ruebstudio.de/en/sovereign-ai).

## How do you proceed in practice?

Start small and together with your tax advisor: a read-only or suggesting agent on financial accounting data, with logging and a documented review step. Write access, payroll and models hosted outside the EU come later, once that workflow runs reliably and is documented.

1. **Define the purpose:** document checks, account suggestions or answering queries. The purpose determines the data fields you need.
2. **Involve the tax advisor:** agree how the agent obtains data, who accepts suggestions and who locks batches.
3. **Sign contracts:** a processing agreement with the agent operator and, where separate, the model vendor; check sub-processors and locations.
4. **Limit rights:** a dedicated technical user, only the client files needed, no payroll access without separate approval.
5. **Log everything:** every read and write with timestamp, record, model version and result, stored so it cannot be altered.
6. **Document:** add the agent to the process documentation and update it with every model or rule change.
7. **Review:** sample the suggestions against actual postings, especially in the first months.

## What commonly goes wrong?

Most problems arise not in the model but at the edges: data left in intermediate storage, changes without a log, and responsibilities nobody assigned. Check these points before the agent goes live.

- **Shadow ledger:** the agent keeps its own copy of postings that drifts from DATEV. The books are what count; the agent's working state should be clearly marked as drafts.
- **Unlogged corrections:** export, fix, re-import without evidence – the pattern para 109 of the GoBD calls impermissible.
- **Logs full of personal data:** prompt and response logs quickly collect names, bank details or salaries. Retention limits and access rights apply to those logs too.
- **Silent model updates:** the vendor updates the model, the documentation stays the same. Pinning model versions prevents this.
- **Advisor left out:** the tax firm finds postings of unknown origin. That costs trust and, at year-end, time.

If your workflow already runs entirely within DATEV's own AI services and they cover your needs, a separate agent is often unnecessary. It makes more sense when data from several systems comes together or when tasks reach beyond bookkeeping.

## Conclusion

AI agents and DATEV data can work together if you keep three things apart: data protection with clear roles and contracts, the GoBD with immutability, logging and process documentation, and the professional law of tax advisors, who act as independent controllers.

The most robust start is an agent that suggests rather than posts, leaves payroll out at first and logs every action. Bring your tax advisor in at the beginning of the project, not at the end.

## Frequently asked questions

### Do I need a data processing agreement with my tax advisor for the AI agent?

Not with the advisor: under section 11(2) of the German Tax Advisers Act (StBerG), tax advisors are controllers in their own right and are not bound by client instructions. You need a processing agreement with whoever operates the agent or the language model for you.

### Should the agent finalise postings in DATEV on its own?

It can be built, but it is rarely wise. A safer design is for the agent to place suggested postings in an open batch, with a person reviewing and locking them, which keeps responsibility clear and every change traceable.

### Do the agent's prompts belong in the GoBD process documentation?

If the agent generates postings or records, there is a strong case for it, because the GoBD require changes to the control data behind program-generated records to be logged. Agree the scope with your tax advisor.

### Can an AI agent use payroll data?

Not ruled out, but German payroll records usually contain special category data under Article 9 GDPR, such as church membership for church tax and sick-leave periods. Start with financial accounting data and add payroll only after a separate risk assessment.

## Sources

- [Federal Ministry of Finance letter of 28 Nov 2019: GoBD (paras 21, 58–60, 107–112, 151–154, German)](https://www.lfst.bayern.de/fileadmin/RESSOURCEN/INFORMATIONEN/Steuerinfos/Weitere_Themen/Aussenpruefung/2019-11-28-GoBD-1.pdf)
- [DATEV: GoBD amendments 2024 and 2025, locking posting batches (German)](https://www.datev.de/web/de/aktuelles/gesetzesaenderungen/gobd/)
- [Section 11 StBerG – Processing of personal data (German)](https://www.gesetze-im-internet.de/stberg/__11.html)
- [Section 62a StBerG – Use of service providers (German)](https://www.gesetze-im-internet.de/stberg/__62a.html)
- [Section 146 AO – Bookkeeping rules (German)](https://www.gesetze-im-internet.de/ao_1977/__146.html)
- [Section 147 AO – Retention of records (German)](https://www.gesetze-im-internet.de/ao_1977/__147.html)
- [Article 9 GDPR – Special categories of personal data (German)](https://dejure.org/gesetze/DSGVO/9.html)
- [Article 28 GDPR – Processor (German)](https://dejure.org/gesetze/DSGVO/28.html)
- [Article 35 GDPR – Data protection impact assessment (German)](https://dejure.org/gesetze/DSGVO/35.html)
- [DATEV: GDPR and data processing FAQ, as of 28 Jan 2025 (German)](https://www.datev.de/content/dam/markenassets/unternehmenskommunikation/datenschutz/faqs_dsgvo_2025-2.pdf)
- [DATEV magazin: Data protection when using AI, de-identification service (German)](https://www.datev.de/web/de/berufsgruppenuebergreifend/nachrichten/themen-im-fokus/ki-intelligent-nutzen/so-klappt-der-datenschutz-beim-ki-einsatz)
- [DATEV: AI at DATEV, automation services for invoices and bank (German)](https://www.datev.de/web/de/ueber-datev/datev-ki/)
