Kasa
A finance app that brings income, expenses, cards, investments and device trading into one panel.
Overview
Kasa is a finance panel I wrote for myself. It brings income and expenses, credit cards, instalments, recurring payments, gold, currency and stock savings, and second-hand device trading together in one place. It works on both computer and phone.
The logic is simple: every expense, income, device purchase and sale becomes a record, and the panel calculates everything else from those records. Cash is the last manual count plus every movement since. A card expense does not reduce cash; the panel works out which statement it belongs to and adds it to card debt. A card payment is not an expense, because the purchase was already recorded as one. That way the same money is never counted twice.
Net worth adds up cash, bank accounts, the current value of investments, the cost of devices in stock and sales waiting for payment, then subtracts card debt, and it is saved automatically every month. For devices, profit is the sale price plus the value of any extras, minus total cost.
Highlights
- Calculates cash, card debt and net worth by itself
- Statements, instalments, due dates and late payments
- Posts fixed expenses and salary automatically each month
- Gold, currency and stocks, with current value and profit
- Profit per device, stock and warranty tracking
- Buying price suggestions based on past sales
- Monthly and yearly PDF and Excel reports
- Installs on a phone and opens offline
How it works
All data in these screenshots is sample data; the amounts, cards and devices are not real. The app itself is in Turkish.
Overview

The home screen shows the month's income, expenses and difference, device profit, total card debt, next month's instalments, fixed expenses and the current value of investments. Every box leads to its own details.
- Alerts at the top: upcoming or late card payments, unposted bills, devices listed for over 20 days, sales waiting for payment
- Quick add: frequent expenses become templates; a template with an amount saves with one tap and can be undone, one without an amount fills in the form
- My assets: cash, bank accounts, investments, total assets and net worth
- Month-end summary: in the first 7 days of a month, last month's summary and the change from the month before
- This month's category chart and latest transactions
Income and expenses

Each record has a date, amount, category and payment method. The list can be filtered by month, category and payment method, searched and sorted.
An instalment purchase does not pile up in one month: starting from the month of purchase, one instalment is written to each month, so monthly spending stays realistic. Cash and card debt calculations are not affected by this.
- Ready-made categories: groceries, rent, bills, transport, salary, side income, freelance and more
- Device purchases and sales appear in the list by themselves, and cash is not counted twice
- Cash is always visible in the corner: income is added to the last manual count, and cash spending, card payments and investments are subtracted
- With no connection a record waits on the phone and is sent when the internet returns
Cards and instalments

Each card has a statement day and a due day. Kasa uses them to work out which statement a purchase belongs to: anything bought on or after the statement day moves to the next statement.
Payments close the oldest debt first and any excess carries over to the next period. Periods past their due date and not yet closed count as late.
- Remaining debt, available limit, statement to pay and current period spending for each card
- Statement details: the purchases and instalments in it, with statement and due dates
- A reminder 3 days before the due date, and a red alert with the number of days when late
- A chart of instalments for the next 12 months and a list of ongoing instalments
- Match to bank: if the bank's statement differs, one record corrects the gap without touching income and expense totals
- A device bought by card is added to card debt, in full or in instalments
- Payment history: a card payment made from cash is subtracted from the cash balance
Fixed expenses and salary

Rent, subscriptions and bills are set up once. Items marked automatic are posted as expenses on their payment day, when the app is opened. Salary is posted the same way as income and added to cash. The same month is never posted twice.
- For variable bills the real amount is entered each month, and the monthly estimate is the average of the last 3 months
- Items past their payment day and not posted appear as alerts
- Total monthly fixed expenses, with amounts posted and still waiting this month
- Breakdown by payment source and a monthly history for each item
Analysis

Net worth appears with today's breakdown and a monthly chart. Since it is saved automatically every month, you can follow how savings change over time.
- Category breakdown for the chosen month; tapping a category opens those expenses
- Income and expense trend for the last 6, 12 or 24 months
- Average monthly spending, the most expensive month and the period total
- Monthly table: income, expenses, difference, money sent to investments and what is left after
Device trading

The ledger for second-hand trading. Each device keeps its purchase, listing and sale dates, its cost and its sale price. Total cost is the purchase price plus chip and memory card. Days are counted from the listing date, so a device that is not listed yet raises no false alarm.
- Stock, Sold and Under warranty tabs; search by model, serial number, storage or note
- An alert and filter for devices listed for over 20 days
- Sale price suggestion from the median margin of similar models
- Sales paid later: the sale and profit are recorded at once, and cash is added when the money arrives
- 6-month warranty tracking, with an alert 30 days before it ends
- Returns: the device goes back into stock at the refund amount, and past profit stays correct
- Extras such as a bag or a game are added to profit at their value
- Analysis by model: fastest and slowest sellers, most and least profitable
- Chip and memory card costs are written automatically to new devices
- Excel import: maps the columns and skips invalid rows and devices already recorded
- Monthly charts of units sold and profit
Buying price calculator

When a device is offered, you type the model and its past sales are found. Subtracting extra costs and target profit from the expected sale price gives the highest amount worth paying. The lower quarter of sales gives the suggested offer, which protects the target profit even on a low sale.
- If target profit and costs are left empty, values from past sales are used
- Lowest and highest sale price, and average time to sell
- A warning if a similar device is already in stock
Investments

Gold, currency and stocks live in one place. Gold and currency use the average cost method, and profit realised from sales is shown separately. The current value of currency comes from the Central Bank of Türkiye's daily indicative rate, and gold prices are entered by hand. A different exchange rate can also be typed in.
Investments do not count as expenses, so spending charts stay clean. The money left after investing at the end of the month is shown separately.
- Gram gold, bracelets, quarter, half, full, Republic and other coins, with total grams for coins
- Dollars and euros, with the daily central bank rate in the top bar
- For stocks, money deposited and withdrawn is tracked and the net amount counts as investment
- Gold and currency received or given as gifts are handled separately and do not affect cash
- Land and debt plan: shows what would remain after gold and cash debts are closed if a large asset such as land were sold; it is not part of any total
- A chart of net money sent to investments each month
Reports

Monthly and yearly reports are prepared on one screen, then saved as PDF or downloaded as Excel.
- Income, expenses, savings rate, money sent to investments, card payments and device profit
- Category breakdown, transactions, device sales and investments
- Yearly summary: opening stock, purchases, cost of goods sold and closing stock; revenue, device profit and overall result
- Excel sheets for summary, months, categories, transactions, device sales and investments
Backup and everyday use
Kasa is designed for long-term use: data is backed up to a single file, the app installs on a phone and it opens without a connection.
- Installs on a phone like an app and opens with no internet
- Back up all data to one file and restore from it, with a reminder after 30 days
- Sign-in uses email and password, and new accounts cannot be created from outside
- A record entered on one device appears on the other right away
- Light and dark themes
How I built it
An app written with React, Vite and Tailwind, with Firebase for sign-in and data and Recharts for charts. Data is listened to live, so a record entered on one device appears on the other right away. An offline cache lets it open with no internet, and records are sent when the connection returns.
I keep the calculations in modules separate from the interface and check them with unit tests: instalment periods, card statements, late payments and cash balance are where a mistake gets expensive. A separate accounting test checks the effect of every operation on cash, debt, assets and net worth. I also test the interface end to end on a fake database, and the images on this page were taken in that test environment with sample data.
Screenshots
All data in these screenshots is sample data; the amounts, cards and devices are not real. The app itself is in Turkish.
Would you like to own this Kasa?
If you would like to have this Kasa too, get in touch on WhatsApp.




