Skip to content
←  All field notes

NOTE-01Billing · Construction software · 2026

Progress payments that didn’t add up

Problem
Previous totals were added up from line items instead of the contract, and deposits were counted as positive amounts.
Fix
I moved the math to the contract level, handled deposits as negatives, and used one rounding rule everywhere.
Stack
TypeScript · Next.js · Billing
Next note · BudgetsTwo people editing the same budget