NameQuickHelp Center
NameQuickHeftsoon

Auto-sort Documents (German Workflow)

Scan → OCR → Rename → Auto-sort into German folder structure. Complete workflow with filename formats and rules for insurance, contracts, taxes, and invoices.

ExampleUpdated Apr 18, 2026

This workflow shows how NameQuick not only renames scanned documents intelligently but also moves them into the right folders based on content. Instead of sorting every file manually, insurance policies land in Versicherungen/, rental contracts in Verträge/, invoices in Finanzen/Rechnungen/{year}/{month}/ and so on.

This example targets German document types (Versicherungspolice, Mietvertrag, Steuerbescheid, Gehaltsabrechnung, Arztrechnung) because that is where the auto-sort workflow pays off most. Use the same pattern with English document types if you operate in a different market.

Before & After#

BeforeAfter
Scan_001.pdfVersicherungen/2026-01-15_Allianz_KFZ-Versicherung.pdf
Scan_002.pdfVerträge/Mietvertrag/2026-02-01_Mietvertrag_Hauptstr-45.pdf
Scan_003.pdfSteuern/2025_Steuerbescheid_Finanzamt-München.pdf
Scan_004.pdfFinanzen/Rechnungen/2026/03/2026-03-10_Telekom_Rechnung_89,99EUR.pdf
IMG_4521.jpgGesundheit/2026-02-20_Arztrechnung_Dr-Mueller_125EUR.pdf
doc20250315.pdfArbeit/2025-03-15_Gehaltsabrechnung_Mueller-GmbH.pdf

Five-step workflow#

  1. Scan

    Capture the document as PDF using the iPhone Notes app, a sheet-fed scanner, or a multifunction device.

  2. Inbox folder

    The scan lands in ~/Scans/ — the Watch Folder — via AirDrop, iCloud Drive, or USB.

  3. OCR and AI

    NameQuick detects new files in the Watch Folder and reads their content via OCR. The AI extracts date, sender, amount, and document type.

  4. Smart Rename

    The configured preset produces a meaningful filename according to your schema.

  5. Auto-sort

    Post-AI rules move the file into the right folder based on the detected content and apply Finder tags.

German folder structure#

A proven layout for private documents on the Mac:

~/Documents/
├── Versicherungen/       (Insurance)
│   ├── Haftpflicht/      (Liability)
│   ├── KFZ/              (Car)
│   ├── Kranken/          (Health)
│   └── Hausrat/          (Home contents)
├── Verträge/             (Contracts)
│   ├── Mietvertrag/      (Lease)
│   ├── Arbeitsverträge/  (Employment)
│   └── Abonnements/      (Subscriptions)
├── Steuern/              (Taxes)
│   ├── 2024/
│   ├── 2025/
│   └── 2026/
├── Finanzen/             (Finances)
│   ├── Rechnungen/       (Invoices)
│   │   └── {year}/{month}/
│   ├── Kontoauszüge/     (Bank statements)
│   └── Kreditunterlagen/ (Loan docs)
├── Gesundheit/           (Health)
│   ├── Arztrechnungen/   (Medical bills)
│   ├── Befunde/          (Diagnoses)
│   └── Rezepte/          (Prescriptions)
├── Arbeit/               (Work)
│   ├── Gehaltsabrechnungen/ (Payslips)
│   └── Zeugnisse/        (Certificates)
└── Urkunden/             (Certificates)
    ├── Geburt-Heirat/    (Birth/Marriage)
    └── Ausbildung/       (Education)

Filename formats for German document types#

A filename format defines which fields to extract from a document and how the filename is assembled. The five formats below cover the main document types.

Insurance policy#

{Datum}_{Versicherer}_{Versicherungsart}
Field from the contentFixed text_Separator

Fields: Datum (YYYY-MM-DD); Versicherer (insurer name); Versicherungsart (policy type).

Insurance policy

Extracts insurer, policy type, and issue date from policies and premium bills.

Scan_001.pdf→ 2026-01-15_Allianz_KFZ-Versicherung.pdf
  • Normalize insurer names (Allianz SE → Allianz) so folders stay consistent.
  • Extract policy type as Haftpflicht, KFZ, Hausrat, or Kranken — makes Finder-tag filtering easier.

Rental contract#

{Datum}_{Dokumenttyp}_{Adresse}
Field from the contentFixed text_Separator

Fields: Datum (contract date); Dokumenttyp (Mietvertrag, Nebenkostenabrechnung, Kündigung); Adresse (street + number).

Rental contract

For rental contracts, utility statements, cancellations, and rent-increase letters.

Scan_002.pdf→ 2026-02-01_Mietvertrag_Hauptstr-45.pdf
  • Shorten address to street + number to keep filenames readable.
  • Add the accounting year to utility statements if you have multiple vintages.

Tax assessment#

{Steuerjahr}_{Dokumenttyp}_{Finanzamt}
Field from the contentFixed text_Separator

Fields: Steuerjahr (tax year); Dokumenttyp (Steuerbescheid, Einkommensteuererklärung, Lohnsteuerbescheinigung); Finanzamt (tax office).

Tax assessment

Tax assessments, income tax returns, and wage tax certificates — sorted by tax year.

Scan_003.pdf→ 2025_Steuerbescheid_Finanzamt-München.pdf
  • Use the tax year as prefix — files sort chronologically by assessment period.
  • Standardize tax office names (Finanzamt München-Nord → Finanzamt-München).

Payslip#

{Monat}_{Dokumenttyp}_{Arbeitgeber}
Field from the contentFixed text_Separator

Fields: Monat (YYYY-MM pay month); Dokumenttyp (Gehaltsabrechnung, Bonusabrechnung); Arbeitgeber (employer).

Payslip

Monthly pay slips, bonus statements, and annual wage tax certificates.

doc20250315.pdf→ 2025-03_Gehaltsabrechnung_Mueller-GmbH.pdf
  • Use the pay month, not the payout date — otherwise March pay slips land in April.
  • Use a stable employer short form (Mueller-GmbH instead of Mueller Consulting GmbH & Co. KG).

Medical bill#

{Datum}_{Dokumenttyp}_{Arzt}_{Betrag}
Field from the contentFixed text_Separator

Fields: Datum (treatment or billing date); Dokumenttyp (Arztrechnung, Rezept, Befund); Arzt (practice/doctor); Betrag (amount, e.g. 125EUR).

Medical bill

Private medical bills, diagnoses, and prescriptions — sorted into Gesundheit/Arztrechnungen/ per year.

IMG_4521.jpg→ 2026-02-20_Arztrechnung_Dr-Mueller_125EUR.pdf
  • Use EUR instead of €, period instead of comma — keeps filenames compatible with NAS and cloud storage.
  • Save diagnoses without an amount; the amount only matters for billable services.

Auto-sort rules#

After renaming, these rules move the file into the right folder. Conditions check the extracted content or the new filename. Enable rules one at a time and copy them into NameQuick:

Rule: detect insurance
Condition: Extracted content contains "Versicherung" OR "Police" OR "Versicherer"
Action:    Move to Versicherungen/{year}/
           Add tag "versicherung"
Rule: detect rental contract
Condition: Extracted content contains "Mietvertrag" OR "Miete" OR "Vermieter"
Action:    Move to Verträge/Mietvertrag/
           Add tag "vertrag"
Rule: sort invoices
Condition: Extracted content contains "Rechnung" OR "Invoice" OR "Rechnungsnummer"
Action:    Move to Finanzen/Rechnungen/{year}/{month}/
           Add tag "rechnung"
           Add Finder comment with extracted amount
Rule: detect tax assessment
Condition: Extracted content contains "Steuerbescheid" OR "Finanzamt"
Action:    Move to Steuern/{year}/
           Add tag "steuer"
Rule: detect payslip
Condition: Extracted content contains "Gehaltsabrechnung" OR "Lohnabrechnung" OR "Netto"
Action:    Move to Arbeit/Gehaltsabrechnungen/{year}/
           Add tag "gehalt"
Rule: detect medical bill
Condition: Extracted content contains "Arzt" OR "Praxis" OR "Behandlung" OR "Gebührenordnung"
Action:    Move to Gesundheit/Arztrechnungen/{year}/
           Add tag "gesundheit"

Watch Folder setup#

A single Watch Folder handles the entire inbox:

  1. Watch Folder

    ~/Scans/
  2. Naming preset

    Written instructions that choose the right document-type filename format for each file
  3. Auto-sort rules

    All rules above enabled, in the order shown

Scan sources that land in ~/Scans/:

  • iPhone Notes app, AirDrop to the Mac
  • Sheet-fed scanner with save-to-folder (e.g., ScanSnap iX1600)
  • Multifunction device over an SMB share
  • Docutain, Genius Scan, or Adobe Scan with cloud sync to ~/Scans/

Enable rules one at a time

Start with the invoice rule, test against real scans, then enable the next. Mis-classifications stay scoped to a single document type and can be reverted with undo.

Year folders fill automatically

The {year} and {month} variables come from the detected date inside the document, not the file metadata. This matters for older scans you process today — they still land in the correct year.

Keep retention periods in mind

Retention periods in Germany depend on document type and whether the record is private or business-related. These rules do not auto-archive after a retention period ends — you still need an annual cleanup and a current legal check. See Document retention periods.