MyMidas/backend/app/api
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
..
v1 Add Scan Receipt button to create transactions from receipt photos 2026-04-22 19:15:59 +00:00
__init__.py Initial commit: MyMidas personal finance tracker 2026-04-21 11:56:10 +00:00
router.py Add AI receipt parsing with provider API key settings 2026-04-22 17:07:24 +00:00