EveryPaisa: An On-Device SMS Expense Tracker for Android
Most expense trackers ask you to do the boring part yourself: type in every coffee, every cab ride, every bill. The ones that automate it usually do so by sending your financial data to a server. I wanted neither. EveryPaisa is an Android app I built that reads the bank SMS messages already sitting on your phone and turns them into a searchable timeline of spending, with all processing done on the device.
Why I built it
Every bank already tells you about each transaction by text message. The data exists; it is just scattered across dozens of senders and buried between OTPs and promotions. I wanted one place that shows all of it, without asking me to enter anything by hand and without handing my transaction history to a third party.
That gave me two constraints that shaped the whole project: the app should work with no internet connection, and it should handle more than one currency, because bank messages in different countries use different formats and currencies.
What it does
EveryPaisa scans bank SMS messages and builds a unified list of transactions. Here is what the current version (2.2.1) covers:
- Automatic parsing of messages from 40+ Indian and international banks, including HDFC, ICICI, SBI, Axis, Kotak, Emirates NBD, Mashreq, FAB, Citi and HSBC.
- 30+ currencies, from INR, AED and USD to SAR, EUR, GBP and many more, with country-specific filters for currencies, banks and analytics.
- Wallets and cards: credit cards, debit cards, UPI apps such as Google Pay, PhonePe and PayTm, and Amazon Pay.
- Noise filtering: OTP, promotional and other non-transactional messages are filtered out.
- Failed transaction handling: reversals are detected and turned into refunds.
- Auto-categorization across 15+ categories, plus recurring payment and subscription detection with mandate tracking.
- Analytics: daily, weekly, monthly and yearly views, with charts you can tap to drill down into the transactions behind a period.
- ATM marking: you can mark any transaction as an ATM withdrawal, and an ATM filter chip shows only those. The summary tiles (net balance, expenses, income, total spent) switch to ATM totals while the filter is active.
- Biometric app lock using fingerprint or face unlock.
How it works
The app is written in Kotlin and follows Clean Architecture with the MVVM pattern, split into three layers.
- Presentation: Jetpack Compose with Material 3, plus ViewModels. State flows in one direction (unidirectional data flow), so screens render state and send events back.
- Domain: use cases, repository interfaces and models. This layer holds the business rules and knows nothing about Android.
- Data: a Room database, the SMS parser and DataStore for preferences.
Supporting pieces: Hilt for dependency injection, Kotlin Coroutines with Flow and StateFlow for async work, Compose Navigation, and WorkManager to run SMS scanning in the background. The minimum SDK is API 26 (Android 8.0), so it runs on a wide range of devices, including tablets and foldables.
Why on-device matters technically
Keeping everything local is a product decision, but it also simplifies the engineering. There is no backend to build, no authentication to design and no sync conflicts to resolve. Room acts as the single source of truth, and the UI observes it through Flow, so when a new SMS is parsed and stored, the screens update by themselves.
The parser is the core
The hardest part of the project is not the UI; it is turning free-form text into structured data. A bank message has an amount, a currency, a merchant, an account or card reference and a direction (debit or credit), and every bank words these differently. I structured the parser to handle multiple banks and currencies, and to decide early whether a message is a transaction at all, so OTPs and promotions never reach the database.
Storing money across currencies also needed care. I used Room TypeConverters to support multi-currency values, so an amount keeps its currency instead of being treated as a bare number.
Charts without a library
The charts are drawn with the Compose Canvas directly, with no external charting dependency. That keeps the app small, avoids version conflicts, and made tap-to-drill-down straightforward, because I control the hit testing myself.
What I learned
- Filter before you parse. Deciding that a message is not a transaction is easier and safer than trying to extract an amount from every text and hoping the result is sensible. Most of the mess in an SMS inbox is not financial.
- Reversals are first-class events. A failed payment followed by a refund message will corrupt your totals if you only look at debits. Treating reversals as their own case keeps balances honest.
- Currency is part of the value. Once an app supports more than one currency, a plain number type stops being enough. Carrying the currency with the amount from the parser through to the database avoids a whole class of bugs.
- Clean layers pay off as features grow. Features like ATM marking touched the filter, the summary tiles and the list. Because the business logic sat in the domain layer rather than inside composables, the change was contained.
- Privacy is easier to promise when it is structural. If the app never needs the network, the claim that no data leaves the phone is a property of the design rather than a policy I have to keep enforcing.
Conclusion
EveryPaisa started from a simple observation: the transaction data is already on the phone, so the app should only need to read it, organise it and show it back clearly. Building it taught me a lot about parsing messy real-world text, modelling money across currencies and keeping an Android codebase tidy as features accumulate. If you are building something that handles sensitive data, consider whether it really needs a server. For this app, the answer was no. Questions or feedback are welcome at hello@iramesh.com.