C4 Level 1 -- System Context
Who uses the system and what external systems does it connect to.
Actors
| Actor | Interaction |
|---|---|
| Stig-Johnny (Invotek AS) | Forwards receipts and invoices on Discord, asks questions, reports expenses |
| CronJob (k8s) | Triggers daily 07:00 proactive checks (missing receipts, overdue invoices) |
External Systems
| System | Purpose | Integration |
|---|---|---|
| Folio | Business banking — transactions, balances, receipt attachments | REST API v2, Bearer token |
| Fiken | Accounting — purchases, invoices, journal entries, VAT | REST API v2, Bearer token |
| Discord | Chat interface — #invoices channel + DMs on Dashecorp Agents server | Bot API (WebSocket) |
| Claude Haiku | LLM — document extraction, conversation, tool selection | Anthropic API |
| GitHub | GitOps — CI/CD pipelines, config change PRs | GitHub API |