Transport Accounting 2.0
Fleet Ledgers, Trip Accounting and Automated Invoicing
Overview
Full-stack accounting application for transport operators: structured trip and expense ledgers, generated PDF invoices and statements, and GenAI-assisted operational summaries.
The problem
Regional transport operators run on manual trip registers and scattered expense slips. Statements are rebuilt by hand at month end, invoice errors are common, and there is no reliable per-vehicle or per-trip profitability view.
The solution
Built a React and Express application that records trips, fuel, maintenance and driver expenses against vehicles, then generates invoices and statements as PDFs with jsPDF and jspdf-autotable. A GenAI layer summarizes the month for owners who want a plain-language read on cost trends.
Project gallery
Technical architecture
Ledger-first accounting app with document generation and AI summaries
Trip & Expense Ledger
Normalized entries per vehicle, driver and trip so every cost has an owner, date and category.
Invoice & Statement Generator
Template-driven PDF output using jsPDF and jspdf-autotable with totals, tax lines and consistent numbering.
Reporting Layer
Per-vehicle and per-trip profit views, plus monthly cost breakdowns for the owner dashboard.
AI Summary Service
Sends aggregated (never raw customer) figures to the GenAI model and returns a short operational summary.
Methodology
- Interviewed operators to model the real trip and expense bookkeeping flow
- Replaced free-text entries with validated categories to make reporting possible
- Built PDF templates that match the statements clients already expect
- Added per-vehicle profitability so loss-making routes become visible
- Kept AI summaries grounded in computed totals to avoid invented numbers
Results & impact
Key impact
- Replaced paper trip registers with a searchable ledger
- Automated invoice and statement generation for monthly billing
- Exposed underperforming vehicles and routes through cost reporting
- Gave owners a plain-language monthly summary alongside the numbers
Challenges & solutions
Inconsistent Historical Records
Added an import step with validation and a review queue instead of silently accepting malformed rows
Invoice Trust
Computed every total from the ledger and locked issued invoices against later edits