bettersorted Logo
Archive boxes on a shelf – symbolic image for archiving
AI Automation

Audit-proof archiving: requirements, retention periods and software for companies

AuthorMuhamed Alahmed
Published on
Updated on
Reading time9 min

Image: Luke Caunt / Unsplash

In short

Digital archiving in a company must meet two goals: audit-proof compliance with GoBD – documents complete, unalterable, traceable and available for the duration of the retention period – and findability in day-to-day operations. Accounting records must be retained for eight years since 2025, business letters for six years.

The essentials at a glance

  • Audit-proof means, under the GoBD: complete, unalterable, traceable, available.
  • Retention periods: 8 yearsBooking records (since 2025), 10 years books and financial statements, 6 years business correspondence.
  • E-invoices in the structured original format archive.
  • AI search makes large archives searchable again.

Audit-proof archiving means: documents are stored completely, immutably, traceably, and remain readable at all times for the entire retention period – exactly as required by the GoBD for tax-relevant records. In Germany, fixed retention periods apply: 8 years for invoices and accounting records, 10 years for books and annual financial statements, 6 years for business correspondence. Anyone who archives digitally needs suitable software, a documented process, and a search function that makes it possible to find documents again even years later.

Digital archiving in the company must do two things at the same time: audit-proof storage – documents complete, unalterable, traceable, and available for the entire retention period, as required by the GoBD – and retrievability in day-to-day operations. Invoices and other accounting records have been since 1 January 2025 eight years to retain, incoming and outgoing business letters six years.

What “audit-proof” means

The term is not legally defined, but describes the requirements of the GoBD (Principles for the proper keeping and storage of books, records and documents in electronic form). At its core, it is about:

  • Completeness: All documents subject to retention requirements are archived.
  • Immutability: Archived documents cannot be changed or deleted unnoticed.
  • Traceability: Every action is logged.
  • Availability: Documents remain readable and retrievable throughout the entire retention period – including for a tax audit.
  • Procedure documentation: It is documented how archiving is carried out.
Documents are being scanned in the office

What must be archived in a legally compliant, tamper-proof manner?

Which documents must be retained are governed by § 147 AO (for tax purposes) and § 257 HGB (under commercial law). These include:

  • Books and records, inventories, annual financial statements, management reports and the opening balance sheet,
  • accounting records, especially incoming and outgoing invoices,
  • received and sent commercial and business letters – including emails that serve as business letters, such as quotations, order confirmations or complaints,
  • other documents, insofar as they are relevant for taxation, for example contracts or price lists on which bookings are based.

An email that serves only as an “envelope” for an attached invoice and itself contains no tax-relevant information generally does not need to be archived separately – but the invoice itself does, in its original format. If in doubt, clarify the distinction with your tax advisor.

Retention periods at a glance

  • 8 years: invoices and other accounting records (since 1 January 2025, previously 10 years – reduced by the Fourth Bureaucracy Relief Act)
  • 10 years: books, annual financial statements, inventories, opening balance sheets
  • 6 years: received and sent commercial and business letters

The retention period begins at the end of the calendar year in which the document was created. Different retention periods may apply to personnel, health, or social data. Your tax advisor can provide binding information.

Archive e-invoices correctly

Since 2025, companies in the B2B sector must be able to receive e-invoices. The structured original format (such as XRechnung or ZUGFeRD) must be archived, not just a PDF view. More on the invoicing process: Automate invoice receipt.

Substitute scanning: destroy paper?

Paper documents may generally be destroyed after scanning if the scanning is carried out according to a documented procedure and the digital copy is visually identical and archived in an audit-proof manner. Exceptions apply to documents that must be retained in their original form under tax or non-tax regulations (GoBD, para. 140) – this includes, for example, opening balance sheets and annual financial statements; deeds such as notarized contracts are also better kept in the original. Your tax advisor can clarify which documents are affected in your case.

Audit-proof scanning: how it works

For paper documents to be destroyed after scanning, the scanning process must be traceable and controlled. The following procedure has proven effective:

  1. Define and document the procedure: Who scans, when, with which device, how is it checked? This belongs in the process documentation.
  2. Scan promptly:Record receipts promptly after they arrive, not in a batch at the end of the year.
  3. Check visual consistency: Is the scan complete and legible, including back sides and attachments?
  4. Index: Document type, date, supplier or customer, amount – so the document can be found later.
  5. Store immutably:directly into the audit-proof archive, not into an open network folder.
  6. Destroy paper only after review – and exclude originals that must be retained.

As technical guidance, the BSI guideline TR-RESISCAN (TR 03138) on replacement scanning serves as a reference. The article Digitizing documents: scanners and OCR.

Archive, DMS or filing – the difference

Many DMS include an audit-proof archive; what matters is that the GoBD requirements are met.

Software for audit-proof archiving: what you should look for

There is no legal seal for “audit-proof software.” What matters is that the software and the procedures together meet the requirements. You should check these criteria for every solution:

Criterion

How to recognize it

Immutability

Archived documents cannot be overwritten; changes create a new version, the original remains preserved

Logging

Every action – filing, access, deletion – is logged with time and person

Original format

E-invoices are stored as XRechnung or ZUGFeRD, not just as a PDF view

Search and index

Full-text search and metadata so documents can still be found years later

Export for auditing

Data can be exported completely and in a machine-readable format

Retention periods

Documents are deleted in a targeted manner after the retention period has expired – important for data protection

Rights and roles

Only authorized users can view personnel, contract, or health data

Data backup

Regular, tested backups, ideally at a second location

In practice, there are three options: a DMS with archive module, a specialized archiving software or a open-source solution such as Paperless-ngx with immutable storage. The article GoBD-compliant filing with open source describes what this looks like with open source in a GoBD-compliant way; the comparison with commercial systems is shown in Paperless-ngx or DMS?.

Data access during tax audits

During an external audit, the tax office may access stored data pursuant to Section 147 (6) AO: directly in the system, indirectly via analyses that you create according to specifications, or through provision of the data in machine-readable form. Your archive must therefore not only store data, but also be able to output data completely and in a structured way – a point that many only notice during the first audit.

The problem with large archives: No one can find anything

A tamper-proof archive is legally compliant – but often a graveyard. Anyone looking for a contract from five years ago rarely knows the file name. This is where a AI document search: it understands questions in plain language, finds relevant passages even when different terms are used, and cites the source location – without changing the documents.

Introduction in six steps

  1. Record document types and retention periods.
  2. Create process documentation.
  3. Select an archiving solution according to GoBD criteria.
  4. Digitize incoming documents: automatically archive emails, scans, and e-invoices.
  5. Set up deletion rules after the retention period expires.
  6. Improve search – for example with AI document search.

Procedure documentation: what should be included

  • General description: Which documents are archived and how?
  • User documentation: Who does what – scanning, checking, filing?
  • Technical system documentation: Which software, which storage locations?
  • Operational documentation: Data backup, access rights, controls

The process documentation is mandatory and is requested during tax audits. It must be kept up to date when processes or systems change.

Cloud archive or your own server?

Both options can be GoBD-compliant. With a cloud archive, the processing location, data processing agreement, and export options at the end of the contract are decisive. With your own server, you are responsible for data backup, updates, and hardware replacement over the entire retention period – eight or ten years is a long time in IT.

Common mistakes

  • Invoices received by email not archived, only left in the inbox
  • Only the PDF view saved instead of the original e-invoice
  • No process documentation
  • Documents not deleted after the retention period expires – a data protection issue
  • Archive without search functionality, so no one uses it

Archiving abroad: a note

Companies with locations in other countries must comply with the respective national rules – in Sweden, for example, there are specific requirements for retaining accounting records. This article describes the legal situation in Germany.

Step by step: from paper archive to digital archive

  1. Inventory: Which folders and files exist, and which retention periods are still running?
  2. Sorting out:Destroy documents whose retention period has expired in compliance with data protection requirements.
  3. Define and document the scanning procedure: Who scans, how is it checked, how is it indexed?
  4. Digitize incoming documents on an ongoing basis: Capture and archive new records digitally right away.
  5. Digitize legacy records as needed:Not everything has to be scanned immediately – often it is enough to let ongoing retention periods run out.
  6. Set up search:Keywords, full-text search, or AI document search.

This turns a basement archive into a system within a manageable amount of time that can withstand audits and is actually used in day-to-day operations.

About bettersorted

bettersorted is an AI consulting and automation company from Schwerin. We are registered with BAFA registered consultant, authorized INQA coach and co-founder of the KI|werk MV network; our practical experience comes from the social sector, skilled trades, and SMEs. Our solutions run on servers in Germany, with transparent workflows instead of a black box.

Frequently asked questions

What does audit-proof archiving mean?

Documents are stored completely, unalterably, traceably, and available for the entire retention period, as required by the GoBD. Any change or deletion must be prevented or logged.

How long must companies retain invoices?

Since January 1, 2025, eight years. The period begins at the end of the calendar year in which the invoice was created.

May I destroy paper receipts after scanning them?

In principle, yes, if there is a documented scanning procedure and the digital copy is archived in an audit-proof manner. Certain originals are subject to exceptions; clarify this with your tax advisor.

How do I find documents again in a large archive?

With good tagging and increasingly with AI search, which understands questions in natural language and finds relevant passages with source references.

Which software is suitable for audit-proof archiving?

Any software that stores documents immutably, logs all actions, stores e-invoices in their original format, enforces retention periods, and can export data for tax audits — whether a DMS with an archive module, specialized archiving software, or an open-source solution like Paperless-ngx with immutable storage.

What is the difference between audit-proof and GoBD-compliant?

Audit-proof describes the properties of the archive: complete, immutable, traceable, available. GoBD-compliant goes further and also includes the surrounding process, such as process documentation, the scanning procedure, and data access during an audit.

Is a cloud archive audit-proof?

Yes, if it meets the requirements and it is contractually clarified where the data is stored, who has access to it, and how you get it back in full at the end of the contract. This includes a data processing agreement.

As of: November 2026. This article does not replace tax advice.

Portrait of Muhamed Alahmed, founder of bettersorted
About the author

Muhamed Alahmed

With over 10 years’ experience in IT, I develop solutions that not only work from a technical perspective, but also create real added value and open up new possibilities.

More about bettersorted →

More articles

Newsletter

Stay up to date on AI topics

Short updates on AI automation, funding programs and new posts — no spam, unsubscribe anytime.

We use Brevo as our marketing platform. By submitting, you agree that your data will be transferred according to Brevo's privacy policy .

CallEmailContact formSEO/GEO Check