- Accept only PDF and JSON files in import modal and API
- Convert PDF statements to JSON 1.0 via LLM (OpenAI-compatible)
- Use multipart/form-data for file upload (multer, 15 MB limit)
- Add LLM_API_KEY and LLM_API_BASE_URL for configurable LLM endpoint
- Update ImportModal to validate type and send FormData
- Add postFormData to API client for file upload
- Rewrite db.md as canonical schema: add categories, sessions tables; add alias to accounts, is_category_confirmed/comment to transactions, FK references to categories(id); mark budgets as post-MVP
- Fix account masking to use fixed 6 asterisks (code + docs)
- Remove budgets from MVP requirements in agent_backend.md
- Add explicit 'not in MVP' note to analytics.md budgets section
- Fix test_Statement.json: convert amounts to kopecks (integers), remove fingerprint fields (computed by backend)
Made-with: Cursor