GoBD Audit Archive Germany: Tamper-Proof Invoice Archive, Hash Chain, Retention, GDPdU Z3 Export
by Viyug Infotech https://viyuginfotech.com$ย 238.86

Every posted invoice archived, hashed and provable.
Invoice PDFs, original vendor bills and XRechnung / ZUGFeRD XML files are copied into an immutable archive when they are posted. A SHA-256 hash chain with a gapless sequence proves that nothing was changed or removed, and the GDPdU export hands your data to the auditor in the format they expect.
GoBD Hash chain Retention GDPdU / Z3 Legal hold
Free setup call with every purchase
After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).
Before and after
For German companies that must keep invoices unchanged, complete and readable for the tax audit.
Before
- Invoice PDFs can be regenerated or deleted later
- No proof that a document was not changed
- Retention periods tracked in a spreadsheet
- The auditor asks for data you cannot export
After
- An immutable copy of every document right after posting
- Gapless sequence and hash chain, verified every week
- Retention date per document, legal hold, review before purge
- GDPdU / Z3 export with index.xml and CSV tables
What you get
Archive on posting
Customer invoice PDF, original vendor bill and e-invoice XML are queued for archiving as soon as the entry is posted. Files attached later are archived too.
Hash chain
SHA-256 of every file plus a chain hash over the file, the metadata and the previous link. A gapless sequence per company.
Integrity check
Weekly verification re-hashes every file and walks the chain. Tampering creates an alert and an activity for the archive managers.
Retention periods
Books 10 years, vouchers 8 years, letters 6 years (รยง 147 AO), configurable per company. The period starts at the end of the calendar year.
Immutable and protected
Archive entries and their files cannot be edited or deleted, not even by an administrator through the interface.
Legal hold and purge
Put documents on legal hold. Expired documents are flagged for review; only a manager can purge, and the entry stays as evidence.
GDPdU / Z3 export
ZIP with index.xml (description standard), journal, chart of accounts, partners, taxes and the archive register; optional with the files.
Procedure summary
A printable summary of the archive procedure as input for your Verfahrensdokumentation.
Audit log
Every archiving job, verification, export and purge is recorded with user and time.
How it works
1. Post as usual
Nothing changes for your accountants: post invoices and bills the way you do today.
2. Archive in the background
A job queue copies the documents into the archive, hashes them and links them to the chain.
3. Verify every week
The scheduled check re-hashes the files and alerts the managers on any difference.
4. Export for the audit
Pick the fiscal year and hand the GDPdU ZIP to the tax auditor.
How it compares
| Feature | This app | Typical alternatives |
|---|---|---|
| Immutable copy of invoices, bills and e-invoice XML | Yes | Attachments only |
| SHA-256 hash chain with gapless sequence | Yes | No |
| Scheduled integrity verification with alerts | Yes | No |
| Retention per document class, legal hold | Yes | Rarely |
| GDPdU / Z3 export with index.xml | Yes | Separate tool |
| Procedure summary for the Verfahrensdokumentation | Yes | No |
| Works on Odoo Community | Yes | Varies |
Setup in 5 steps
Install
Install the app on a company with the German chart of accounts (SKR03 or SKR04).
Check the periods
Accounting settings: retention years per document class (defaults 10 / 8 / 6).
Upload the DTD
Optional: upload the official gdpdu-01-09-2004.dtd so every export contains it.
Assign managers
Give the Germany administrator right to the people who handle legal hold and purge.
Done
New postings are archived automatically; a nightly job catches anything missed.
User guide
A step-by-step PDF guide with real screenshots: one guide for the whole Germany Compliance family, with every menu, the setup and each screen in the order you use them.
What is inside
- The apps, what each needs, the menus
- Germany Integration Base: connectors, queue, logs
- Outgoing e-invoices: ZUGFeRD and XRechnung
- Peppol: send and receive
- Incoming e-invoices: the XRechnung inbox
- Bank statements: camt import
- EBICS: onboarding and daily use
- FinTS bank sync with PIN/TAN
- Skonto: cash discounts and planner
- Payment Fraud Guard: 4-eyes approval
- Reverse charge รยง13b and ZM
- GoBD archive and GDPdU export
- DATEV export for the tax adviser
Open it in your browser:
viyuginfotech.com/guide/viyug_gobd_archive
Scan to open the guide
PDF with screenshots, opens on your phone
Workflow walkthrough
Fictional German company, customers and suppliers.
Post an invoice
Post a customer invoice or vendor bill as usual. The GoBD Archive button on the entry shows its archived documents.

The archive register
Every document gets the next number of the company sequence, its retention date and a verification state.

One archive entry
File, SHA-256, previous chain hash and chain hash. The entry cannot be edited or deleted; the source record is one click away.

Verify the chain
Run the integrity check at any time (it also runs every week). It re-hashes every file and walks the chain.

Prepare the GDPdU export
Choose the company and the period, optionally including the archived files.

Hand over the ZIP
The export contains index.xml and the CSV tables; who exported what and when is logged.

Settings
Switch automatic archiving on or off, set the retention years and upload the official DTD.

Procedure summary
Print the archive procedure with the chain status as input for your Verfahrensdokumentation.

What you need
This app is built on Germany Integration Base, another Viyug Infotech app. Odoo installs it together with this app, so you also get everything below.
Germany Integration Base
Technical name viyug_de_base
Connector framework shared by the German banking and e-invoicing apps.
- Connectors per company with sandbox and production settings
- API key, Basic, Bearer and OAuth2 client credentials with token refresh
- Encrypted credentials visible only to administrators, with rotation reminders
- Idempotent job queue with exponential backoff and dead letters
- Request and response audit log, rate limits and dry run
- External ID mappings and multi-company record rules



Questions
Is this a certified GoBD archive?
GoBD has no official certification. The app implements the technical requirements (immutability, completeness, traceability, retention) and gives you the procedure summary; your tax advisor reviews the overall process.
What about documents posted before installation?
A nightly safety-net job queues posted invoices without an archive entry, so the existing documents are archived too.
Can an administrator delete an archived file?
Not through Odoo. Files are purged only after their retention date, by a manager, and the entry with its hashes stays as evidence.
Extensions
German compliance and banking apps from Viyug Infotech for Odoo Community and Enterprise.
Need a hand?
Questions, setup help or a change for your process? Write to us and Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Community Apps Dependencies | Show |
| Lines of code | 2465 |
| Technical Name |
viyug_gobd_archive |
| License | OPL-1 |
| Website | https://viyuginfotech.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module