What the statute requires
Three parts of section 147 AO decide what happens to legacy data.
The data has to stay evaluable. Under subsection (2) no. 2, records may be kept on data carriers if, for the whole retention period, they are available at any time, can be made readable without delay and can be evaluated by machine. A PDF printout of the old journal doesn't meet that.
The periods are long. Subsection (3) sentence 1 sets ten years for books and records, eight years for accounting vouchers and six years for other documents, such as business letters received and sent. Under subsection (4), the period starts at the end of the calendar year in which the document came into being. Under subsection (3) sentence 5, it doesn't run out as long as the documents matter for a tax whose assessment period is still open. The retention period calculator works out the dates for your documents.
The audit reaches into the data. Under subsection (6) sentence 1, the tax office can access the data in three ways during an audit. It can view the data and use your system to examine it (called "Z1" in the GoBD), ask you to run evaluations to its specification ("Z2"), or ask for the data to be handed over in a machine-evaluable format ("Z3"). The authority chooses which. For Z1 and Z2 you need a system in which the old data can still be evaluated.
For a change of system, the statute adds a relief. Subsection (6) sentence 5 says, in summary, that if no audit has begun yet, after a change of data processing system or after moving the data out of the production system, it is enough to hold the data only on a machine-readable and machine-evaluable data carrier once the fifth calendar year following the changeover has ended. For the year of the changeover and the five calendar years after it, the relief doesn't apply.
What the GoBD make of it
The GoBD are a letter from the Federal Ministry of Finance, which makes them administrative guidance. They bind the tax offices, not the courts. In an audit, though, they are the standard your approach is measured against. The GoBD date from 28 November 2019 and apply today in the version of 14 July 2025. The current text is in the official AO handbook for 2026. Section 9.4 deals with changing systems.
Paragraph 142 sets the conditions under which you don't have to keep the old system's hardware and software for the full period. The data subject to record-keeping and retention, expressly including metadata, master data, transaction data and the necessary links, has to be transferred "quantitatively and qualitatively equivalent" into a new system, a new database, an archive or another system. During the migration, only the format may be converted, for example date and currency formats, never the content. The changes have to be documented. And the target system has to allow the same evaluations as if the data were still in the old system.
Paragraph 143 covers the other case. If those conditions aren't met, the old system's hardware and software have to be kept for the retention period. The paragraph points to the option of applying for relief under section 148 AO.
Paragraph 144 rules out the easy route. Keeping data as extracts, reports or print files is not allowed if not all the data subject to retention is carried over.
Paragraph 164 repeats the rule of section 147(6) sentence 5 AO for the tax offices. Once the fifth calendar year after the changeover has ended, Z3 access is enough if the audit hasn't begun.
Route 1: migrate everything
Migrating means more than carrying over the open items and master data the new system needs to run. For the GoBD, the whole retained data set counts. That includes closed years, postings with their voucher references, change histories and the links between order, delivery note and invoice.
For the migration to hold, check four things.
- Completeness. For every table, the number of records and the totals match before and after the transfer. Keep the log of that reconciliation.
- No changes to content. Clean up duplicates and typos in the new system, not during the transfer. A "correction" made while migrating is a change of content.
- Evaluations. Whatever an auditor could have filtered and sorted in the old system has to work in the new system or the archive too, for example all postings to one account over three years, or all invoices to one customer.
- Documentation. What was transferred, how the fields map to each other and which formats were converted goes into the procedure documentation.
After a switch, many firms keep the old years in an archive system rather than in the new ERP. That's allowed as long as the archive meets the conditions of paragraph 142. A folder of CSV files without links or a description usually doesn't.
Route 2: keep the old system
If a full migration costs too much, for example because the old software stores data in a form that can't be transferred cleanly, the old system stays. It then has to remain readable and evaluable. Switching it off without migrating loses exactly that.
In practice this means:
- a licence or read access that outlasts the end of the maintenance contract
- a machine or virtual machine on which the old version still runs
- at least one person who can operate the system, and a short guide to its evaluations
- before the fifth calendar year after the changeover ends, a complete export with a description of the tables and fields, so that Z3 access is enough afterwards
The last point has a catch. If an audit begins earlier, the relief doesn't apply to that audit. So keep the old system ready to run until the relief takes effect.
An invented example with dates
A wholesaler with 80 people switches from its old merchandise management to a new ERP on 1 July 2026. Master data and open orders move across. The closed years stay in the old system.
- The changeover falls in 2026. The fifth calendar year after it is 2031. From 1 January 2032, a machine-evaluable data set is enough, provided no audit has begun by then.
- Accounting vouchers from 2025 are kept for eight years, so until the end of 2033. Records from 2025 are kept for ten years, until the end of 2035, unless subsection (3) sentence 5 extends the period.
- Until the end of 2031, the old system has to be available for Z1 and Z2. After that, the export is enough until the longest period ends.
The firm keeps read access for two people until the end of 2031, creates the export with its description in autumn 2031 and has its tax adviser check it for completeness. Only then does it cancel the last licence.
What gets overlooked
Spreadsheets and side systems. Tax-relevant data doesn't live only in accounting. A spreadsheet that invoices were generated from, a till system or a time-tracking tool with payroll data all belong in the inventory. Replacing a spreadsheet with an internal tool, as described in replacing Excel with an internal tool, is a change of system too.
Documents in the old DMS. Scanned vouchers and received e-invoices have to move with their index data. For an e-invoice, paragraph 119 of the GoBD in the version of 14 July 2025 says it is enough to keep the structured part. That is the part the migration has to carry, not just the PDF. How e-invoice intake is set up is covered in automating e-invoice intake.
AI assistants and automations. An assistant that pre-codes vouchers or an automation that generates invoices can hold tax-relevant data itself. When it is replaced, the same rules apply as for any other system. What the GoBD require there is covered in GoBD and chatbots.
Cloud software. With software a vendor runs, you don't switch off a machine, you end a contract. Before you cancel, find out in which format you get your data back and whether the export contains all tables with their links.
Where to start
Before the switch, list every system being replaced, and next to each one write which tax-relevant data it holds, from which years, and how that data will be preserved. Make the choice between migration and keeping the old system with your tax adviser, before the cancellation date of the old software is fixed.
caadoo is a monthly subscription, and how it works explains the setup. ERP rollouts and migrations that take months aren't part of it. When I replace a spreadsheet process with an automation, that list, the reconciliation of the transferred data and the documentation are part of the work. The tax assessment stays with your tax adviser. Tell me which spreadsheet process you want to replace.
Frequently asked questions
How long do I have to keep the old system after a change of system?
If the data wasn't migrated completely and in an evaluable form, until the retention period ends (GoBD paragraph 143). Under section 147(6) sentence 5 AO, a machine-readable and machine-evaluable data set is enough once the fifth calendar year after the changeover has ended. That only holds if no tax audit has begun by then.
Is a PDF export of the old accounts enough?
No. Section 147(2) no. 2 AO requires data that can be evaluated by machine. Under paragraph 144 of the GoBD, extracts, reports and print files are not allowed if not all the data subject to retention is carried over.
May I correct errors in the old data during the migration?
Under paragraph 142 of the GoBD, only the format may be converted during a migration, for example date or currency formats, not the content. The changes have to be documented. Corrections belong in the new system as traceable changes.
When doesn't the five-year rule in section 147(6) AO apply?
When an audit has already begun. It also only concerns the type of data access. It doesn't shorten the retention period itself, which is ten, eight or six years under section 147(3) AO, and longer while an assessment period is still open.
Do the GoBD apply to spreadsheets?
The GoBD apply to every data processing system in which tax-relevant data is captured, processed or kept. Whether a particular spreadsheet counts depends on the data it holds. If invoices are generated from it or postings prepared in it, it belongs in the inventory before the switch.