A freelance project's cash balance is not the same as its invoice balance. Treating both as "paid" can hide missing money even when the software delivery is complete.

Here is a small, reproducible ledger pattern for solo developers and agencies. You can implement it in a spreadsheet or a database without buying anything.

1. Keep four records separate

Use stable IDs instead of client names as join keys.

Record Example ID Essential fields
Change order CO-001 Project ID, deliverable, agreed fee, approval status
Work log T-001 Project ID, change ID, hours, rate
Invoice INV-001 Project ID, issued amount, status
Payment PAY-001 Invoice ID, amount, cleared status

A pending change is not an approved fee. A draft invoice is not an issued receivable. A pending payment is not cleared cash.

2. Walk through a fictional reconciliation

A client requests a new export filter after the original fixed-price scope is agreed. The extra work is estimated at 3 hours × $50 = $150.

  • Record the change as pending until the client approves the deliverable, fee and revised deadline in writing.
  • Once approved, record the $150 change fee. Log actual hours independently: the estimate and actual effort may differ.
  • Issue an invoice for $150.
  • If a $60 payment clears, outstanding is $90, not zero.
  • If a second payment of $90 is pending, cleared cash is still $60. Only when it clears does the outstanding balance become zero.

For this simple one-currency example, the outstanding amount is the issued amount minus the sum of valid cleared payments allocated to that invoice.

3. Spreadsheet implementation

Create an invoice table with Invoice_ID, Issued_Amount and Status, and a payment table with Payment_ID, Invoice_ID, Amount and Cleared.

For an issued invoice, a structured Excel formula for the cleared amount can be:

=SUMIFS(Payments[Amount],Payments[Invoice_ID],[@Invoice_ID],Payments[Cleared],"Yes") 

Then compute issued amount minus cleared amount. Keep overpayments visible as exceptions rather than clipping negative balances to zero.

This example assumes unique payment IDs and valid single-invoice allocations. Add duplicate-ID and unknown-invoice checks before trusting the totals. Split a payment across multiple invoices with separate allocation records, not by repeating the entire amount.

4. Regression checks before real client data

Case Expected result
$150 issued, no payment $150 outstanding
$60 cleared $90 outstanding
$90 additional pending $90 outstanding
Both payments cleared $0 outstanding
Duplicate payment ID Flag for review
Unknown invoice ID Flag for review

If you implement this in Excel, test the last permitted input row as well as the first. If you implement it in Python or SQL, run the same cases as regression tests. Keep currencies separate and handle refunds and credits explicitly.

5. A copy-ready approval message

"Thanks for the request. This is outside the agreed scope. I can add the export filter for $150, with delivery moved to [date]. Please confirm the deliverable, fee and revised deadline in writing before I start."

The ledger and checks above are usable independently of any paid tool.

Optional: I publish Scope to Cash V3.1, an offline Excel workbook for this type of manual workflow. The current code SCOPEDEC30 reduces the $19 price to $13.30 before applicable taxes for the first five uses. Product and offer. I am the seller. The workbook does not process payments or guarantee collection.

Drafted with AI assistance. All amounts in the walkthrough are fictional. This is an operational example, not accounting or legal advice.