-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
Problem
The README mentions CSV/Excel export as a premium feature, but there's no implementation yet. Users need a way to export their financial data for tax prep, spreadsheet analysis, or migration.
Proposed Solution
Add export endpoints:
GET /expenses/export?format=csv— Export expenses as CSVGET /expenses/export?format=json— Export expenses as JSON arrayGET /bills/export?format=csv— Export bills as CSV
Query Parameters
format:csvorjson(default:csv)from/to: Date range filtercategory_id: Filter by category
CSV Format
date,amount,currency,category,type,notes
2026-03-15,42.50,USD,Food,EXPENSE,Lunch with team
Implementation Notes
- Uses stdlib
csvmodule (no new dependencies) - Proper
Content-Dispositionheader for file download - Respects existing auth (JWT required)
- Integrates with existing expense query filters
Acceptance Criteria
- Export endpoints return valid CSV/JSON
- Date range filtering works
- Auth-protected
- Tests included
- No new dependencies
I can submit a PR for this if there's interest.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels