Clean up old data
Permanently remove supplier invoices and supplier credit notes whose retention period has expired, up to a cut-off date – with preview and mandatory backup.
With Clean up old data you remove old supplier invoices and supplier credit notes up to a cut-off date in one go, including posted ones – but only once their statutory retention period has expired. You find it under Finance → Settings → Clean up old data.
Before you start
- Only owners and administration see the menu item (right Clean up old data). Without this right it is hidden.
- A document’s postings and payments are removed with it, and you must keep these for 10 years. The period starts at the end of the year in which they were made. Newer documents therefore cannot be cleaned up – in 2026 the latest cut-off date is 31.12.2015. More on this under Document archive.
- Deleted documents cannot be restored. The backup as a ZIP file is therefore mandatory.
Step by step
- Open Finance → Settings and choose Clean up old data on the left.
- Under 1. Selection the latest possible cut-off date is already filled in (e.g. 31.12.2015 in 2026). Below it you can read up to which document year you can clean up and why. You choose an earlier cut-off date with the calendar; a later one is not possible.
- Leave Supplier invoices and Supplier credit notes ticked if both should go. Only documents with an invoice or document date up to and including the cut-off date are removed.
- Check under 2. Preview what will be removed: count and total per year, posting and status. Below it you see what is kept and why.
- Under 3. Backup and deletion, click Download backup (ZIP) and keep the file safe. With many documents this takes a few minutes.
- Only then does Permanently delete … documents become active. Click it, type LÖSCHEN (or the cut-off date, e.g. 31.12.2015) to confirm and click Delete permanently.
- A message shows how many documents were removed. The change log (gear icon top right → Change log) contains an entry with cut-off date, count, total and your name.
What is removed
| Document type | Removed along with it |
|---|---|
| Supplier invoices (recorded, posted, cancelled, also negative ones from JTL) | Payments, discounts, write-offs, refunds and reversal entries, completed payment releases, document files (PDF/XML) and DATEV journal of the invoice |
| Supplier credit notes | Settlement entries, offsets, document files and DATEV journal of the credit note |
What is kept
- The change log of the removed documents is kept in full – it cannot be deleted.
- Bank transactions are kept completely. Transactions that were matched to a removed document stay settled and do not reappear as open in payment matching. They get the note “Beleg bereinigt (Stichtag …)” with the document number.
- Stock, stock value and average cost do not change – not even if an invoice had posted additional costs into the average cost.
- Purchase orders, suppliers and payment runs remain, as does the list of previous DATEV exports.
- Documents connected to something after the cut-off date stay. The preview shows the reason:
| Reason in the preview | Meaning |
|---|---|
| Template for recurring invoices | Templates are never removed |
| In an open payment release or open payment run | The payment is released or transferred but not yet completed |
| Payment or settlement after the cut-off date | e.g. invoice from December, paid in January |
| Matched bank transaction after the cut-off date | The bank transaction belongs to an open year |
| Posting or reversal after the cut-off date | e.g. an invoice from 2015 cancelled in 2016 |
| Linked to a document after the cut-off date | e.g. a credit note from 2016 for an invoice from 2015 |
| Linked to a document that is kept | Invoice and credit note belong together – if one stays, the other stays too |
A payment whose matching was later undone (payment and reversal entry) does not count as a link.
What the backup contains
The ZIP file contains CSV files (UTF-8, semicolon, decimal comma – opens directly in Excel):
- eingangsrechnungen.csv, eingangsrechnungen_positionen.csv, eingangsrechnungen_sachkonten.csv, eingangsrechnungen_zahlungen.csv (with the matched bank transaction), zahlungsfreigaben.csv
- lieferantengutschriften.csv with line items, G/L accounts and settlements
- datev_journal.csv and aenderungsprotokoll.csv
- all document files in the folder Belege/<document type>/<year>/, named after internal number, supplier and document number
If a document file is missing in storage, it is listed in FEHLENDE_BELEGDATEIEN.csv.
Frequently asked questions
Can I keep individual old invoices?
No, the clean-up takes all documents up to the cut-off date that are not kept for one of the reasons above. Choose an earlier cut-off date if a year should stay.
What happens if the deletion aborts?
Deletion runs in batches, each one completely or not at all. If it aborts, the batches finished so far are removed (this is in the change log) and the rest is unchanged. Reload the preview, download the backup again and start once more.
Will the invoices come back with the next JTL sync?
No. The JTL migration does not recreate supplier invoices that were already imported and then cleaned up, and the related bank transactions stay settled.
Why can't I clean up last year?
Because the retention period is still running: postings and payments must be kept for 10 years, and they are inseparably tied to the document. allverto only allows cut-off dates for which this period has expired for all affected documents – this is checked by the server, not just by the interface. An old document also stays if it was posted, cancelled or paid after the cut-off date.