MyMidas/backend/app/api/v1
megaproxy 024a8330fa Add Scan Receipt button to create transactions from receipt photos
- New backend endpoint POST /transactions/parse-receipt (file upload, no existing txn needed)
- Refactored AI call logic into shared _call_ai_parse helper (no duplication)
- Scan Receipt button in transactions toolbar → file picker → AI parse → pre-filled form
- TransactionFormModal accepts initialValues prop to pre-populate fields from receipt
- "Fields pre-filled from receipt" banner shown in form when AI-populated
- Scan error displayed inline with dismiss button
- Supports JPEG, PNG, WebP, PDF (Anthropic) or images (OpenAI)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 19:15:59 +00:00
..
__init__.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
accounts.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
admin.py Complete Phase 3, Phase 5 polish and hardening 2026-04-22 14:59:11 +00:00
auth.py Complete Phase 3, Phase 5 polish and hardening 2026-04-22 14:59:11 +00:00
budgets.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
categories.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
investments.py Complete Phase 3, Phase 5 polish and hardening 2026-04-22 14:59:11 +00:00
predictions.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
reports.py Complete Phase 3, Phase 5 polish and hardening 2026-04-22 14:59:11 +00:00
settings.py Add custom API URL and model to AI settings 2026-04-22 19:01:00 +00:00
transactions.py Add Scan Receipt button to create transactions from receipt photos 2026-04-22 19:15:59 +00:00
users.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00