Ledger Finance
The client area of an invoicing product: onboarding, invoice builder, and a payment flow that explains every state.
- Role
- Front-end developer
- Year
- 2024
- Category
- SaaS
Overview
A multi-tenant client area with a guided onboarding, an invoice builder with live totals, and a payment screen that handles pending, failed and settled states without ambiguity.
The problem
Users abandoned invoices halfway because totals were calculated only after saving, and a failed payment showed the same message as a slow one.
Main features
- Live invoice totals with tax and discount rules
- Draft autosave every few seconds
- Payment states with a clear next step each
- Onboarding checklist that survives a reload
Technologies
- Next.js
- React
- TypeScript
- Tailwind CSS
- REST API
Design and development approach
Wrote the money logic as pure functions with tests before touching the UI, then built the builder on top of it. Payment states were mapped to one enum shared with the API, so no screen could invent a status.
Challenges and solutions
- 01
Rounding errors in totals
Switched to integer minor units end to end and formatted only at the last step.
Links
This is a sample entry. Add a live demo and repository URL for this project in src/data/projects.ts.