AI & LLM2026
Rakuzeni: AI Expense Tracker for Chat and Receipts
An applied AI and full-stack fintech project. Rakuzeni turns chat messages and receipt photos into reviewable expenses, then connects confirmed records to spending charts, budgets, and private reports.

The challenge
Logging every coffee, train fare, and grocery receipt in a form creates enough friction that people skip entries. Language models remove some of that typing, but a plausible-looking amount is easy to get wrong when currencies, separators, taxes, and discounts vary. I wanted capture to feel as simple as sending a message, while keeping the monthly numbers traceable to confirmed entries.
Architecture & approach
Project date: October 2026.
Rakuzeni is a personal and shared money notebook for people who want to understand their spending without filling out a form for every purchase. The design connects three jobs: capture a purchase while it is fresh, check the details when they are unclear, and use the confirmed records to plan the rest of the month.
Overview: what changed this month?
The Overview puts the month's numbers next to the charts that explain them. Choose a month and see spending so far, daily average, cash flow, and the balance across pockets. Budget rings give a quick read on how much of each limit is used. For example, the demo notebook shows shopping at 85% of its budget while transport is at 38%.
- Spending over time switches between a running total and spending per day. Compare the same point last month, select a day to inspect activity, or use the dotted month-end projection to see where the current pace would lead.
- Where it went shows the share and amount for each category and how that category changed from last month. The demo makes it easy to see how much went to food and drinks versus shopping or transport.
- Which days cost the most groups the month's spending by weekday and surfaces the busiest weekday, the biggest single purchase, and no-spend days. This gives a different view from the category chart when spending patterns repeat through the week.
Chat and receipts: capture a purchase in seconds
Type Kopi 25rb, tadi pagi or attach a receipt photo. The input works in Indonesian, English, and Japanese. For a complete message, the app can suggest a category and save a dated IDR 25,000 expense. The result appears in the chat with an Undo action. Users who prefer to confirm each entry can choose review-first capture.
With AI enabled for the account, the OpenAI Responses API returns structured fields such as amount, currency, date, merchant, and category. From an itemized receipt it can also extract quantities, unit and line prices, and adjustments such as tax, shipping, and vouchers. The receipt stays one payment in the ledger even if it contains multiple products or spans several categories.
Review and correct the unclear parts
Rakuzeni sends missing or inconsistent fields to the review inbox before they count toward spending. Users can edit the amount or category directly, or reply in chat to correct the selected draft. The backend checks the received currency and number format, reconciles line items against the paid total, and flags possible duplicates. For instance, it reads Rp60.000 as IDR 60,000 and checks whether a voucher is already reflected in the item price before subtracting it again.
Budgets: see what is left and how fast it is going
Set a spending limit for a category or a specific period. The budget card shows the amount used, the remaining amount, and today's position in the period. A near-limit or spending-fast label can help explain why a bar deserves attention. When there is money left in an active budget, the app divides the remaining amount by the days left to give an approximate daily amount. Opening a budget shows the expenses that contributed to it.
Savings and goals: give money a purpose
Everyday pockets show what is ready to spend, while savings and goal pockets show what is set aside. For a goal such as a trip, users can record a target, a date, and contributions. The goal shows the amount still to go and an approximate monthly contribution when a target date is set. The ledger records income, expenses, and transfers between compatible pockets, and the Overview keeps balances and spending in their own currencies.
Households, history, and reports
The same account can keep a private notebook and switch to a separate household notebook. An expiring invitation allows the owner to share it with a viewer or editor. The workspace keeps shared entries attributed to the person who added them, and access is checked against the selected notebook. Transaction filters make older entries easier to find by date, category, amount, merchant, or pocket.
Monthly PDF and Excel reports use confirmed records. The PDF brings the month's charts and category totals together, and the workbook gives users separate Data and Charts tabs for further review. Downloads require a signed-in session, and editing an expense invalidates an affected export so users can regenerate it with the latest figures.
Offline capture and receipt privacy
The installable web app offers an optional device-local outbox. A user can save a note or receipt while offline and reopen the app online to send it. A stable capture key lets a retry reuse the same submission. AI processing is opt-in, and the server strips image metadata. Temporary receipt images are cleaned up after processing unless the user has enabled supported receipt retention.
How it is built
The Next.js app handles the authenticated workspace, permissions, and capture intake. A PostgreSQL transaction records the incoming event and queues it for a separate worker. The worker claims the job, runs the appropriate text or image extraction, and writes a review draft or confirmed expense. Local text rules and Tesseract OCR support capture when AI is disabled. Image extraction can also fall back to OCR and review when the AI request fails.
Each expense is linked to its source event, which makes resending after a lost response different from entering two genuinely separate purchases. Exact decimal amounts and currency-specific totals keep the records predictable as they flow into budgets, charts, and exports.
My contribution
Product Creator, Applied AI & Full-Stack Engineer. I designed the capture and review flows, defined the structured AI output and local OCR fallback, and implemented the validation rules that control what enters the ledger. I also built the multilingual web app, the PostgreSQL data model and background worker, the reporting and sharing workflows, and the container deployment.
Results & boundaries
Shipped a public beta at rakuze.com. Release checks exercised synthetic Indonesian, English, and Japanese expense messages, a natural-language correction, and receipt images. Receipt regression cases included Indonesian number separators, an unrelated promotion on a fuel receipt, and ambiguous totals that should go to review. Those fixtures verify specific behaviors. Accuracy across real-world merchants and receipt formats is still unmeasured.