PROJECT STUDY

Finly

Everyday money. Shared bills. Clearer decisions.

A personal-finance and split-bill app for Indonesia: accounts and spending on a balanced ledger, bank notifications and forwarded email captured into a Review Inbox, and shared bills with receipt scanning, live item claims and settle-up.

Explore the build
Finly illustration: a dinner bill of Rp 450.000 shared equally between three members, beside a phone showing a sample wallet balance and recent spending.
Original interface illustration · Synthetic demo data.View larger

At a glance

Industry
Finance
Capabilities
8
Technologies
13
Year
2026
17 of 17

Main user journeys passing in Playwright on Expo web against the real API

529 tests

Unit and integration tests passing across 8 packages

The challenge

Shared spending needs more than a calculator.

People need to see where their own money went, review receipt items, agree on discounts and charges, understand who owes whom, and correct a mistake without losing the history behind a balance. Recording every payment by hand is tedious, yet an app that reads bank messages has to be trustworthy, because a guessed amount in a ledger is worse than none.

Finly brings personal money and shared bills into one app for that everyday workflow, in Indonesian by default with English available. It keeps the record rather than the money: people pay each other through their own banks and wallets, then one side marks a share as paid and the other confirms it in the app.

What we built

One Expo and React Native codebase targets Android, iOS and the web and talks to a typed Fastify API. The app is dark by default, with a light theme and an option to follow the system, and its layout adapts from a phone to a desktop window.

Five tabs and a desktop sidebar

Phones get a floating tab bar with Beranda, Dompet, Catat (the + in the middle), Aktivitas and Laporan. From 600 px a side rail takes over and from 1024 px a labelled side navigation, both with the four tabs, Patungan, Circle, the Review Inbox and notifications with counts, and pages switch to two columns once the content is at least 760 px wide

Five tabs and a desktop sidebar

Phones get a floating tab bar with Beranda, Dompet, Catat (the + in the middle), Aktivitas and Laporan. From 600 px a side rail takes over and from 1024 px a labelled side navigation, both with the four tabs, Patungan, Circle, the Review Inbox and notifications with counts, and pages switch to two columns once the content is at least 760 px wide

Accounts and transactions

Bank, e-wallet, cash and other accounts with opening balances, and expenses, income and transfers with fees, entered with shorthand such as 50rb. An edit creates a new version and a deletion posts a reversal, all on a balanced double-entry ledger

The month at a glance

Beranda shows the total balance with its change since last week, the month's income and spending and its transactions by day. Dompet lists every account with its purpose, Aktivitas adds a month calendar, and Laporan ranks categories as bars or a donut, with each share and its change against last month

Transaction detail with a place

The detail opens as a bottom sheet on phones, a dialog on tablets and a side panel on desktop, with the category, account, time and an optional payment location, typed by hand or taken from the device with permission, and shown on a schematic map preview drawn on the device with a link to OpenStreetMap

Bank notification and email capture

On Android, a Kotlin notification listener reads only allowlisted bank and e-wallet apps, and only after the user agrees in the app and grants Notification Access. Each user also gets a private, rotatable address for forwarding bank email, notification screenshots are read by the same parsers, and CSV or PDF statements import through a preview that skips what is already recorded

One Review Inbox for captures

Captures wait with a confidence for each field, and people confirm them with edits, link them to a bill payment or an existing entry, merge, ignore or undo. A payment that arrives by notification, email and statement is recorded once, and every entry from a notification or an email carries a marker that names its source

Split bills with live claims

Equal, custom, percentage and item splits handle line and bill discounts, service charges, taxes and rounding. A receipt photo becomes an editable draft, and participants tick their own items live from several devices at once

Payment details and settle-up

Bank accounts, e-wallets and QRIS codes are shared per circle and masked until a member enters their PIN. A participant marks a share paid and the payer confirms it, while reminders, debt simplification and guest links help close the bill

How it works

  1. One shared money core

    One pnpm and Turborepo TypeScript workspace holds the Expo Router app and the Fastify API it calls through a shared typed client. Zod schemas, integer minor-unit arithmetic, the split engine and the ledger posting builders live in pure shared packages, so the app and the API agree on every total, and the API checks authorization on every route and Socket.IO event.

  2. Capture on the device

    The Android listener checks the app behind each notification against the allowlist in memory and drops everything else without storing or logging it. Allowlisted text waits in app-private storage until the app parses it on the device with the shared parsers, uploads the results in a batch and only then clears it from the queue.

  3. Email through a gate

    Mail sent to a user's forwarding address is dropped unless it comes from an allowlisted sender domain. Accepted mail is checked for DKIM and ARC with mailauth, stored encrypted and deleted after 7 days by default, and mail that does not pass is kept for review but never confirmed automatically.

  4. Review before the ledger

    Templates read known message formats with high confidence, and a heuristic reads any other format with low confidence, so its result always waits for the user. An auto-confirm rule records a capture only from a verified notification or a DKIM-verified email, with a mapped account, amount and direction confidence of at least 0.9 and the user's own rule for that source.

  5. Receipts become editable bills

    A receipt photo is read by a configured vision model, from Gemini, Claude or an OpenAI-compatible endpoint, or by Tesseract.js with Indonesian receipt rules, and opens as an editable draft. Lines read with doubt, or whose quantity and price do not match the printed amount, carry a Cek lagi badge, and any gap to the printed total shows before the draft fills a bill.

Engineering insights

Money logic stays exact, the database enforces the ledger rules a second time, and captured text has to earn its way into the ledger.

Stack by layer

Frontend
  • TypeScript
  • Expo
  • React Native
  • React
  • React Native for Web
  • Expo Router
  • TanStack Query
  • Zustand
  • i18next
  • Socket.IO client
  • react-native-svg
  • Expo Location
  • Expo SecureStore
  • Ionicons
  • Kotlin
Backend
  • Node.js
  • Fastify
  • Zod
  • fastify-type-provider-zod
  • Socket.IO
  • jose
  • Pino
  • mailauth
  • mailparser
  • sharp
  • jsQR
Data
  • PGlite (PostgreSQL)
  • Drizzle ORM
  • Drizzle Kit
  • PL/pgSQL
  • Papa Parse
  • PDF.js
AI
  • Tesseract.js
  • Gemini API
  • Anthropic Messages API
  • OpenAI-compatible APIs
Infrastructure
  • pnpm
  • Turborepo
  • Vitest
  • fast-check
  • Playwright
  • ESLint
  1. Exact shares until the last step

    Item, discount and charge shares stay exact rational numbers through line discounts, prorated bill discounts, service and tax, and are rounded once with a deterministic largest-remainder allocation, so the shares always sum to the bill total. Property tests with fast-check assert that sum

  2. The database refuses an unbalanced ledger

    Posting builders assert that every entry balances per currency, and the database checks again at commit with a deferred constraint trigger and rejects any update or delete of a journal line. Deterministic idempotency keys under a unique index mean a retry never posts twice, and a bill edit posts only the per-account differences

  3. Bank formats enter as verified data

    A template counts as verified only when real, consented and redacted samples sit behind it and it reads each one as expected, and a redaction scan rejects a sample that still holds a number of ten or more digits, a phone number or an email address. Templates and samples are held to the codes, packages and sender domains of the 16 seeded bank and e-wallet sources, each backed by a recorded fact, and until a bank's format and sender domain are verified, its notifications wait in the Review Inbox and its email is not accepted

  4. One copy per payment

    Each capture gets a fingerprint of direction, amount, currency, account hint, reference and a 10-minute bucket, and a fuzzy match within 15 minutes merges the same payment arriving by notification and by email. A statement import matches each row one to one against entries and pending captures within two days, so importing the same statement twice creates nothing

  5. One gate for payment details

    Masking and reveal of other people's bank and e-wallet details go through one visibility module: a full reveal needs PIN step-up, is logged without the number and answers 404 rather than confirming that the method exists. Account numbers are encrypted with AES-256-GCM, with the method's id bound as associated data

  6. Concurrent claims never overwrite

    Each self-claim is a single row insert or delete in a transaction that bumps the bill version, so simultaneous claims from several devices all survive, and a stale whole-draft save is refused with a version conflict. A test fires five simultaneous claims and checks that none is lost

  7. Model replies treated as untrusted

    Receipt photos go to the configured model with a prompt that treats them as data, never as instructions, and the reply is validated with Zod and converted to minor units. Any timeout, refusal or invalid reply falls back to Tesseract.js and the Indonesian receipt rules

Design system

Dark money-direction tokens: one pure-data token package styles the Expo app from phones to desktop web, dark by default, with a light theme that keeps every meaning. Colour shows which way money moves, so a balance reads at a glance.

Colour palette

  • Night#111315Screen background in the default dark theme, under a soft gradient at the top of each tab
  • Raised grey#1e2022Cards, list rows and the income and spending tiles
  • Income mint#4bd889Money coming in, piutang (owed to you) and success states
  • Expense rose#efa3adMoney going out, utang (you owe) and errors
  • Review amber#f5b83dPending, unverified and Cek lagi (check again) badges
  • Tab navy#083686The active tab's pill in the floating tab bar
  • Action sky#acc7faPrimary actions and the floating + (Catat) button
  • Delete crimson#7a1914Filled destructive buttons such as Hapus (delete)
  • Colour

    Near-black screens with a soft gradient at the top of each tab and raised grey cards stay quiet; mint marks money coming in and piutang, soft rose money going out and utang, amber what still needs review, a deep-blue pill the active tab and light blue the floating Catat button. Charts rank categories through eight data colours, and filled destructive buttons such as Hapus use a deep crimson

  • Typography

    Each platform's system font through one Text primitive and a shared type scale, with light weights for the large balances and amounts in tabular numerals with id-ID grouping, such as Rp 1.250.000

  • Components

    An in-house kit on React Native primitives with Ionicons and no third-party component library: cards, sheets, dialogs, amount fields, pills, toasts and loading, empty and error states. The donut is drawn as ring sectors with gaps, and the payment map preview is drawn from the coordinates on the device, so no map service is called

  • Privacy and accessibility

    Mode privasi hides amounts until they are tapped, accounts show neutral monograms instead of bank logos, screen readers hear each transaction's signed amount, and touch targets are at least 44 pt

Where this fits

Apps that manage shared obligations need understandable totals, reviewable changes and clear access rules, and apps that read bank messages need to earn trust before they record anything. We connect mobile apps, web applications and AI-assisted processing around that foundation. Talk to our team about your product.

Talk to our team

Let’s connect the dots

Let's put these ideas to work.

Share a process, product, or problem you want to improve. We will work through the possibilities together.

Discuss your project