Accounting for SaaS companies uses accrual books, ASC 606 over the subscription term, deferred revenue, and COGS that separates AI inference from opex.
Accounting for SaaS companies is accrual-basis accounting. You recognize subscription revenue over the service period under ASC 606, not when cash arrives. Unrecognized cash sits on the balance sheet as deferred revenue. For AI SaaS, cost of goods sold separates hosting and inference from operating expense so gross margin is real.
That is the set of books that has to work from $1M to $5M in annual recurring revenue. Growth-stage SaaS accounting breaks in two places: when cash and revenue fall in different months, and when the cost of an AI request is large enough to move gross margin.
Cash accounting records revenue when the customer pays. Accrual accounting records revenue when you deliver the service. For a subscription, delivery happens over the contract term, so a single upfront payment becomes a string of monthly revenue amounts, with the unearned balance held as deferred revenue.
Many companies stay on cash basis while the model is simple. It stops working once annual contracts, upgrades, and usage sit in the same month. One prepaid year makes that month look profitable. The next month, with the same customers still using the product, can show almost no revenue. A SaaS accountant reading those statements cannot tell whether the business grew.
A customer signs a $12,000 annual contract and pays the full amount on January 1. Nothing else changes. The customer has access for twelve months.
On cash basis, January revenue is $12,000 and each of the next eleven months is $0. On accrual basis, revenue is $1,000 every month. The other $11,000 of January cash is not revenue yet.
| Month | Cash collected | Revenue recognized | Deferred revenue at month-end |
|---|---|---|---|
| Jan | $12,000 | $1,000 | $11,000 |
| Feb | $0 | $1,000 | $10,000 |
| Mar | $0 | $1,000 | $9,000 |
| Apr | $0 | $1,000 | $8,000 |
| May | $0 | $1,000 | $7,000 |
| Jun | $0 | $1,000 | $6,000 |
| Jul | $0 | $1,000 | $5,000 |
| Aug | $0 | $1,000 | $4,000 |
| Sep | $0 | $1,000 | $3,000 |
| Oct | $0 | $1,000 | $2,000 |
| Nov | $0 | $1,000 | $1,000 |
| Dec | $0 | $1,000 | $0 |
The entries are small and repeatable. On January 1, debit cash $12,000 and credit deferred revenue $12,000. Each month, debit deferred revenue $1,000 and credit subscription revenue $1,000. By December 31 the liability is gone because the service period is over.
This table is one contract, not a benchmark. It is the arithmetic of $12,000 divided by twelve months.
ASC 606 is the US GAAP revenue standard, FASB Accounting Standards Codification Topic 606. For a SaaS subscription, you recognize revenue as you transfer the service. Cash collected before that transfer is a contract liability. SaaS books usually label it deferred revenue.
The subscription walkthrough is in our ASC 606 revenue recognition guide. The balance-sheet side is in what deferred revenue is.
Topic 606 organizes the work into five steps. For a plain subscription they are short:
The $12,000 example is step 5 applied to a single promise delivered evenly over a year. The steps get harder when the invoice mixes a platform fee, prepaid credits, and usage. That mix is the AI SaaS case below. Do not rebuild the whole standard on a spreadsheet each month. Write the policy once, then apply it in the close.
AI SaaS accounting still uses accrual and ASC 606. The books break in different accounts: usage and credits change when revenue is earned, and inference costs change gross margin. A generic SaaS chart of accounts that stops at "hosting" will hide both.
Recognize usage in the month you deliver it. If the customer is billed in arrears and the invoice goes out after month-end, accrue the unbilled amount: debit unbilled receivable, credit usage revenue. Waiting for the Stripe charge posts the revenue in the wrong month.
Prepaid credits are the opposite timing. The customer pays before you deliver. Debit cash, credit deferred revenue. As credits are consumed, debit deferred revenue and credit revenue for the amount used. Unused credits stay in deferred revenue until they are used, or until a written policy says otherwise. Do not record the credit purchase as revenue on the day the card is charged.
Keep the platform subscription and the credit drawdown in separate revenue accounts. Combining them makes it impossible to see how much of the month was contracted access and how much was consumption.
Put hosting and model API costs that scale with serving the product in cost of revenue, not in operating expense. Gross margin is revenue minus that cost of revenue. If inference sits in operating expense, margin looks like a software company that does not pay to generate each answer.
The same split applies to other delivery costs you already treat as cost of revenue: the cloud bill for running the app, and third-party APIs the product cannot respond without. Sales, marketing, and general overhead stay in operating expense. Review the split when the inference bill changes. A new model, or a shift from flat-rate hosting to per-token fees, can move margin without any change in revenue.
Once a month, tie the billing system to the general ledger. Stripe is the common system; the same tie applies if billing lives somewhere else. Match four things:
The ending deferred revenue balance should agree to unearned subscription time plus unused credits. If it does not, the month is not closed. Processor fees need an account in that same tie, under whatever classification your policy uses, so they do not sit in a clearing balance.
Accounting services for SaaS companies that stop at bank categorization miss this tie. The cash will reconcile and the revenue will still be wrong.
A SaaS chart of accounts exists so revenue, cost of revenue, and operating expense do not collapse into three generic buckets. The longer setup guide is what a chart of accounts is. For this stage, the minimum split is the one that makes gross margin and the billing tie possible.

Revenue
Cost of revenue
Operating expense
Leave one-time implementation out of subscription revenue. Leave inference out of general overhead. Those two classifications do more for a monthly review than a long list of marketing sub-accounts.
Two tax items show up in diligence and in the tax return, and neither is solved by the revenue schedule alone. This section is general information, not tax advice. Your facts, including foreign research and state filings, need a qualified tax preparer.
Sales tax for SaaS is a nexus question: where you must collect, which is not the same question as when you recognize revenue. The state rules live in our SaaS sales tax and economic nexus guide. Use that guide rather than a single national threshold. Revenue recognition can be right and the sales-tax liability can still be missing.
Domestic research or experimental expenditures can be deducted again under Section 174A. Public Law 119-21, the One, Big, Beautiful Bill Act, enacted July 4, 2025, added Section 174A. Section 174A(a) allows a deduction for domestic research or experimental expenditures paid or incurred by the taxpayer during the taxable year. IRS Revenue Procedure 2025-28 gives the procedures for the elections and the accounting-method changes, for amounts paid or incurred in taxable years beginning after December 31, 2024.
That is the level to know before you talk to your tax preparer. It is not a calculation of tax due, and it does not say what to do with foreign research costs. The procedure also covers elections, so "deducted again" is not a switch that flips itself.
The R&D tax credit guide covers the Section 41 credit. It still describes the older Section 174 capitalization rule. Section 174A is the later change for domestic research costs. Do not treat the credit and the deduction as the same thing.
Section 174A and sales-tax nexus depend on your facts. This page states the public rule at a high level. It is not advice for a specific return, and it does not estimate a tax amount.
Investors read a short list off the ledger: ARR, gross margin, burn multiple, and net revenue retention. Each one is a definition you can recompute from the accounts above. Benchmark ranges are not repeated here. The formulas and the longer treatment are in SaaS financial metrics that matter.
| Metric | What to compute from the books |
|---|---|
| ARR | Annualized recurring subscription revenue from current customers. A $1,000 monthly subscription is $12,000 of ARR. A one-time implementation fee is not ARR. Usage that is not a recurring commitment is not ARR. |
| Gross margin | Revenue minus cost of revenue, divided by revenue. For AI SaaS, cost of revenue includes inference and hosting, or the margin is not the cost to serve. |
| Burn multiple | Net cash burned in the period, divided by net new ARR in the period. It is a cash-efficiency ratio, not a GAAP line. |
| Net revenue retention | Starting recurring revenue, plus expansion, minus contraction and churn, divided by starting recurring revenue. Use the same customer population the billing system uses. |
If ARR in the board note does not tie to subscription revenue plus the deferred revenue rollforward, the note is a separate set of books. Fix the tie before you debate the ratio.
A five-day close is a monthly sequence with an owner for each day, not a rush at the end of the week. The full sequence is in how to do the month-end close. For SaaS, the days that slip are the billing tie and the revenue entry. Everything else waits on those two.

| Day | Work |
|---|---|
| Day 1 | Reconcile the bank, the cards, and the billing-system payouts. |
| Day 2 | Post deferred revenue, usage accruals, and credit consumption. Accrue expenses you have received and not yet billed. |
| Day 3 | Record payroll, sales commissions, and prepaid amortization. |
| Days 4–5 | Issue the statements, update ARR, gross margin, and the deferred revenue rollforward, and sign off. |
If Day 2 is a spreadsheet that only one person can explain, the close is not a five-day close. It is a reconstruction.
At $1M to $5M ARR the work splits across a bookkeeper, a controller, and a CFO. A bookkeeper records transactions. A controller signs the close, the deferred revenue rollforward, and the billing tie. A CFO writes the plan. The failure mode is a bookkeeper closing cash while a founder keeps the revenue tie in a spreadsheet.
| Role | Owns at this stage | Does not replace |
|---|---|---|
| Bookkeeper | Coding transactions, reconciling cash and payouts, keeping payables current | The revenue policy, or the gross-margin classification |
| Controller | The close, the deferred revenue rollforward, cost of revenue, and the monthly billing tie | A fundraise narrative, or the tax return |
| CFO | The plan, runway, and the board story | The close, if nobody else signs it |
A SaaS accountant in a job post can mean any of the three. Ask which of the Day 2 entries they will sign. If the answer is "the bookkeeper will categorize it," you still do not have a controller.
The Finance Ops Diagnostic is a $3,500 fixed fee, delivered in 5 business days. The Core Retainer starts from $2,500 per month. Both are on the pricing page. The diagnostic is the right first step when the billing tie, the inference costs, or the close calendar is still unclear. It maps the stack, the handoffs, and a monthly routine. It is not a tax return and it is not a fundraise.