A production-ready FastAPI backend that converts bank statement PDFs into structured CSV and Excel files with automatic transaction detection and balance-based debit/credit logic.
https://bank-statement-converter-moih.onrender.com/docs
- Upload multi-page bank statement PDFs
- Extract transactions (date, description, amount, balance)
- Intelligent debit/credit detection using balance logic
- Generate summary (total credit, total debit, opening & closing balance)
- Export results as CSV and Excel
- Supports large statements (200+ transactions)
- FastAPI
- Python
- pdfplumber
- Pandas
- Uvicorn
POST /upload
Upload a bank statement PDF and receive:
- Transaction summary
- Downloadable CSV & Excel files
{
"total_transactions": 283,
"total_credit": 200664,
"total_debit": 240011.78,
"opening_balance": 40149.89,
"closing_balance": 802.11
}
π§ Notes
Uses rule-based parsing (no external APIs)
Balance-delta logic ensures accurate debit/credit detection
Designed for extensibility across multiple banks
π Future Enhancements
Multi-bank format detection
OCR fallback for scanned PDFs
Frontend UI
Authentication & rate limiting
Built with β€οΈ by Aditya