Automatisierte Rechnunsgerkennung und Trennung mit(ohne UmSt
Find a file
2026-10-23 00:20:24 +02:00
.claude docs: Anforderungen Ergebnisliste, Monatsablage, Postfachwahl; Daily Note 2026-10-23 00:08:55 +02:00
backend feat(emails): Mail-Klassifikator (Anhang/Link/Portal/ignore) + /emails/classified (JSON/xlsx) 2026-10-23 00:20:24 +02:00
clowdex-download/.claude feat(invoice-check): Nextcloud-Commits squashed 2026-10-01 00:48:20 +02:00
Daily Notes docs: Anforderungen Ergebnisliste, Monatsablage, Postfachwahl; Daily Note 2026-10-23 00:08:55 +02:00
docs chore: Projektinitialisierung — C-Stone Invoice Check (SaaS-App) 2026-07-24 15:02:44 +02:00
frontend feat(invoice-check): Nextcloud-Commits squashed 2026-10-01 00:48:20 +02:00
scripts chore(phase0): Prod-Compose (restart, Bind-Mount, Secrets aus .env) + NucBox deploy.sh 2026-10-21 22:53:23 +02:00
.env.example chore: Projektinitialisierung — C-Stone Invoice Check (SaaS-App) 2026-07-24 15:02:44 +02:00
.gitignore chore(phase0): Prod-Compose (restart, Bind-Mount, Secrets aus .env) + NucBox deploy.sh 2026-10-21 22:53:23 +02:00
.nextcloudignore chore: Projektinitialisierung — C-Stone Invoice Check (SaaS-App) 2026-07-24 15:02:44 +02:00
alembic.ini feat: Backend complete with IMAP, PDF processing, Alembic migrations 2026-07-24 23:45:51 +02:00
docker-compose.yml chore(phase0): Prod-Compose (restart, Bind-Mount, Secrets aus .env) + NucBox deploy.sh 2026-10-21 22:53:23 +02:00
Dockerfile.backend feat: Backend complete with IMAP, PDF processing, Alembic migrations 2026-07-24 23:45:51 +02:00
Dockerfile.frontend feat(invoice-check): Nextcloud-Commits squashed 2026-10-01 00:48:20 +02:00
GITHUB_SETUP.md docs: GitHub setup Anleitung hinzugefügt 2026-07-24 15:05:33 +02:00
README.md chore: Projektinitialisierung — C-Stone Invoice Check (SaaS-App) 2026-07-24 15:02:44 +02:00
STATUS.md feat(invoice-check): Nextcloud-Commits squashed 2026-10-01 00:48:20 +02:00
Task Board.md docs: Anforderungen Ergebnisliste, Monatsablage, Postfachwahl; Daily Note 2026-10-23 00:08:55 +02:00

C-Stone Invoice Check

Zweck

KI-gestütztes Email-Filter-System für Rechnungen mit automatischer PDF-Scanning, lokaler Ablage auf Evo-X2 und Excel-Dokumentation.

Was das System macht

  1. Email-Filterung per IMAP (Strato + Gmail) nach Stichworten: "Rechnung", "Invoice", "Receipt"
  2. Anhang-Extraktion (PDF/DOC) aus erkannten Emails
  3. PDF-Scanning mit PyMuPDF für Text-Extraktion
  4. Steuer-Erkennung: Unterscheidung zwischen "mit MwSt" / "ohne MwSt" / "Umsatzsteuer" / "VAT"
  5. Lokale Ablage auf Evo-X2:
    Rechnungen/
    ├── 2025/
    │   ├── mit MwSt/
    │   └── ohne MwSt/
    └── 2026/
        ├── mit MwSt/
        └── ohne MwSt/
    
  6. Excel-Dokumentation mit Spalten: Datum, Rechnungsausteller, Betrag, Umsatzsteuer, Steuerart, Dateipfad

Voraussetzungen

pip3 install fastapi uvicorn python-dotenv sqlalchemy psycopg2-binary openpyxl pymupdf

Konfiguration

  1. .env.example nach .env kopieren
  2. IMAP-Credentials für Strato/Gmail eintragen (App-Passwords verwenden!)
  3. Ablagepfad auf Evo-X2 anpassen (INVOICE_STORAGE_PATH)

Ablauf

  1. System starten: uvicorn backend.main:app --reload --port 8001
  2. Frontend öffnen: http://localhost:5173
  3. IMAP-Verbindung wird periodisch geprüft
  4. Neue Rechnungen werden automatisch verarbeitet und gespeichert

DSGVO

  • Alle Daten bleiben lokal auf Evo-X2
  • Keine Datenverarbeitung in der Cloud
  • PyMuPDF läuft vollständig lokal