Mathew Kuruvi·Blog
Contents

Post 7 of 7 · Quest for a one-person finance team

Why does SaaS revenue need its own software?

Every contract produces four numbers, and none of them are ARR.

Summary

  • Every B2B contract produces four numbers (booked, billed, collected, recognized), and the gaps between them are the balances investors ask about. CARR is none of them.
  • Claude Code worked as an orchestrator, fanning subagents out across contracts, invoices and bank statements, then folding the results into one folder per contract.
  • Accountants checked every line: human in the loop. Software came last, because it can't fix data it can't trust.

New to the series? It follows one finance lead rebuilding a startup's finance function with Claude. Start with Post 1.

The components of B2B SaaS revenue

A CEO and an investor walk into a (coffee) bar. "What's your revenue?" the investor asks. "We're at $1.2M CARR," the CEO replies. "Break it down for me," the investor prompts.

In that moment, the complexity of B2B SaaS revenue shows up. That's because every signed B2B contract produces four figures:

  • Booked: total contract value, or what the customer signed.
  • Billed: what's been invoiced, including prepayments and usage.
  • Collected: what customers paid.
  • Recognized: what's earned as you deliver, spread over the service period. In Singapore that's SFRS(I) 15, the local twin of IFRS 15; US GAAP's ASC 606 follows similar steps.

Let's use a simple example: one 12-month contract worth $1.2M, invoiced in two $600k halves on the first day of months 1 and 7.

In a relational database, the contract is one row. The two invoices, two payments, and twelve monthly recognized revenue lines each live in their own tables, but tie back to the contract.

These four figures imply four balances, each the gap between two of those tables on a given date:

Balance How it's calculated
Receivable Billed − collected
Deferred revenue Billed − recognized, when billing runs ahead of delivery
Unbilled revenue Recognized − billed, when delivery runs ahead of billing
RPO (remaining performance obligations) Booked − recognized

And CARR? Contracted annual recurring revenue is the annual run-rate of signed recurring contracts, live or not. In our example, $1.2M is both CARR and Booked on the day it's signed. If it were a two-year contract, CARR would drop to $600k while Booked stays at $1.2M.

Revenue components of a $1.2M contract at month 2 and month 812-month contract, earned at $100k/mo; Invoices of $600k on day 1 of months 1 and 7, payable within 30 days.$0$300k$600k$900k$1.2MRecognized$200kRPO$1M$600k$600k$200kDeferred$400kRecognized$800kRPO$400k$1.2M$600kReceivable$600k$800kDeferred$400ka) End of month 2Invoice 1 paid; 2 months earnedBookedBilledCollectedRecognizedb) End of month 8Invoice 2 unpaid; 8 months earnedBookedBilledCollectedRecognizedRPO (remaining performance obligations) = booked, not yet recognized, i.e. deferred revenue + anything not yet billed.
The same $1.2M contract at month 2 and month 8. Illustrative.

So at month 8, the answer to "break it down for me" is: $1.2M CARR, $800k recognized, $600k collected, and $400k still to deliver.

Now do this for every contract and you get the full revenue picture.

What AI adds

B2B SaaS was already messy: pilot periods, price ramps, upsells partway through a term, free months, delivery milestones.

AI products add a few more layers:

  • Usage and credits: customers buy credits up front or their usage drives billing.
  • Custom deployment: tailored builds or custom configurations to ensure the client is happy.
  • Additional services: one-off billings for services like integration engineering or trainings.

Each is recognized on its own timetable, so one contract can carry several revenue schedules.

A compounding gap

By the time I got to working on this, there were +50 contracts and +400 invoices covering 3 years of revenue that had never been reconciled.

  • There were at least three internal cuts of revenue, all incomplete.
  • Over half the +400 invoices had stale statuses, many voided too.
  • Account executives couldn't even reliably report what their customers had been billed, or what they'd paid.

The company was so focused on selling and building that accurate reporting was a luxury. But now we were paying the price. And it was quickly getting steeper.

Revenue is expensive

There is an entire segment of software focused on solving this problem. If every contract has multiple schedules, and you have multiple contracts, you now have too many data tables to manage effectively in Excel.

The thing is, whichever software you choose, tracking revenue properly is expensive. Many billing and revenue platforms charge a percentage of revenue or billing volume, and that comes straight out of margin.

But putting it off costs more: the longer you wait, the more history you have to clean up before any software can go live.

And we had a lot of history that needed to be gathered, sorted, and cleaned.

Claude as orchestrator

This was the first time I truly used Claude Code as an orchestrator: one session that splits a job, fans it out to subagents working in parallel, then fans their results back in. Post 3 showed how it started; here's how it scaled:

  • Contracts. A swarm swept every internal shared folder for signed contracts and drafts.
  • Invoices. A second team found every invoice tied to each contract, on internal drives and in Stripe through its API.
  • Payments. A separate team went through old bank statements, gathering anything that could be tied to an issued invoice.

Finally, for each contract, an agent compiled what the others had found into its own folder, with a workbook holding recognized revenue, invoices and payments on separate tabs. It was the relational structure from the top of this post, just rebuilt contract by contract.

Claude did the gathering I'd once have staffed with five analysts. But this wasn't nearly enough.

Method note: I ran this in Claude Code. Multiple sessions can be run out of one folder (sharing one set of instructions), and each session can run swarms of sub-agents in parallel. Just don't let more than one session write to a file.

People for review and accuracy

Once the folders were ready, I recruited an outside accounting team to build the revenue recognition schedule by hand.

Given how sensitive this data is, I wanted a human team to do the painstaking work of reviewing each contract, invoice and payment themselves, and to compile their own reconciliation for FY25 and FY26.

That review was key. Claude made mistakes on every customer file; the team caught and fixed each one.

That's human in the loop, or what finance calls maker-checker: Claude made, people checked.

Only once that push was done did we implement software (how we chose it will be in the next post). Without a source of truth, any tool would have just automated bad data.

What I'd do differently

  • Hire a revenue accounting expert on day one to own this project. We'd have had software live about two months sooner.
  • Agree a materiality threshold first. Ask your accountants up front how big a gap between contract and delivery dates is worth adjusting. We didn't need to rebuild delivery dates line by line, and I only learned that after we'd rebuilt FY25 and FY26.

Takeaway: Revenue needs its own software, but software needs a clean history. Build both at once if you can; never go live on dirty data.

Every contract now had a home. Now we had to choose a system that could be the source of truth on all things revenue.