- Backend: FastAPI with email filtering and invoice processing - Database: PostgreSQL models (Invoice, EmailLog, InvoiceDetail, User) - PDF Processing: PyMuPDF for text extraction and tax detection - Excel Export: openpyxl for invoice documentation - Frontend: React/Vite with TypeScript - Docker: Backend container configuration - Documentation: Schema and API docs
2.1 KiB
2.1 KiB
Memory — C-Stone Invoice Check
Aktuelles Projekt: C-Stone Invoice Check
- Typ: SaaS-App
- Gestartet: 2026-07-24
- DSGVO-relevant: nein
- Beschreibung: Email-Filter für Rechnungen mit PDF-Scanning, lokale Ablage auf Evo-X2, Excel-Dokumentation
- Stack: FastAPI + PostgreSQL + React + PyMuPDF
- Ablageort: Evo-X2 ( lokales Laufwerk )
- GitHub: https://github.com/c-stone/c-stone-invoice-check
- Server-Pfad: /root/invoice-check/ (nach Deployment)
- URL: https://invoice-check.c-stone-dev.com (nach Deployment)
Aktuelle Phase: 1 — Scope & Setup ✅ → Phase 2 — Architektur
Erledigt:
- ✅ Projektordner angelegt
- ✅ SaaS-Struktur erstellt (backend/, frontend/, docs/)
- ✅ Backend: FastAPI mit Router (emails.py, invoices.py)
- ✅ Datenbank: PostgreSQL Models (Invoice, EmailLog, InvoiceDetail, User)
- ✅ PDF-Verarbeitung: PyMuPDF für Text-Extraktion
- ✅ Excel-Export: openpyxl für Dokumentation
- ✅ docker-compose.yml erstellt
- ✅ .env.example mit Platzhaltern
- ✅ README.md und docs/schema.md
- ✅ Task Board mit >5 Tickets
- ✅ Initialer Git Commit
- ⏳ GitHub Repo erstellen (fehlt gh Auth)
Offene Punkte:
- GitHub Auth einrichten (gh auth login)
- GitHub Repo erstellen
- Frontend (React/Vite) implementieren
- Dockerfile.backend erstellen
- Alembic Migration initialisieren
- IMAP-Verbindung testen (Strato + Gmail)
- PDF-Verarbeitung lokal testen
- Evo-X2 Ablagepfad konfigurieren
Mail-Provider Konfiguration:
- Strato: imap.strato.de:993
- Gmail: imap.gmail.com:993
- Hinweis: App-Passwords statt Hauptpasswort verwenden!
PDF-Verarbeitung:
- PyMuPDF (fitz) für lokal laufende Text-Extraktion
- Keine Daten verlassen den Server
Ablagestruktur (Evo-X2):
Rechnungen/
├── 2025/
│ ├── mit MwSt/
│ └── ohne MwSt/
└── 2026/
├── mit MwSt/
└── ohne MwSt/
Nächste Schritte:
- GitHub Auth mit
gh auth logineinrichten - Repo mit
gh repo create c-stone-invoice-check --privateerstellen - Frontend Grundstruktur implementieren
- IMAP-Verbindung testen