feat(delivery): add POST /delivery/parsePDF SSE route

- Accepts multipart/form-data PDF, streams LLM extraction via SSE
- Uses libllmorbiter (OpenRouterProvider) with API key from companysetting keys.openrouter
- Extracts manifest basedata, notes, and line items from invoices/delivery notes
- Events: status, llm_call, tool_call, usage, progress, result, error
- Extends generateApiDocs.js: multipart field table + x-sse-events table support
- Docs: docs/api/routes/delivery/parsePDF.md (auto-generated)
This commit is contained in:
seb
2026-09-15 07:45:32 +02:00
parent 367555bb59
commit 12f37ac4c0
8 changed files with 1963 additions and 156 deletions

1066
artikeltabelle.csv Normal file

File diff suppressed because it is too large Load Diff