c-stone-invoice-check/.claude/memory.md
Markus Kruse 787d86f5b7 feat: Backend Complete - FastAPI with IMAP and PDF processing
- 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
2026-07-24 15:22:37 +02:00

2.1 KiB

Memory — C-Stone Invoice Check

Aktuelles Projekt: C-Stone Invoice Check

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:

  1. GitHub Auth mit gh auth login einrichten
  2. Repo mit gh repo create c-stone-invoice-check --private erstellen
  3. Frontend Grundstruktur implementieren
  4. IMAP-Verbindung testen