Buyouts.ai
For buyers For sellers Marketplace
Acquire.com alternative Flippa alternative MicroAcquire alternative Empire Flippers alternative FE International alternative Quiet Light Brokerage alternative Website Closers alternative BizBuySell alternative Flippa vs Empire Flippers Flippa vs BizBuySell Flippa vs Acquire.com Best SaaS marketplaces Flippa fees SaaS acquirers Empire Flippers fees Acquire.com fees AI SaaS marketplace pricing comparison Website Closers fees Empire Flippers vs Acquire.com SaaS Valuation Multiples Rule of 40 SaaS Valuation Calculator CAC payback period Revenue per employee SaaS companies for sale Buy side advisor fees Off market businesses for sale Business broker fees Online business for sale Software companies for sale SBA loan to buy a business Business acquisition loan calculator Business sale tax calculator How to buy a business Letter of intent to buy a business Asset purchase agreement M&A due diligence checklist Earnout agreement Purchase price allocation Business partner buyout ROBS 401k QSBS Installment sale Empire Flippers valuation multiple SBA SOP 50 10 8 Where to list my business for sale Website broker Sell a business without a broker Confidentiality agreement for sale of business Rep and warranty insurance cost Escrow holdback agreement Entrepreneurship through acquisition course Deal sourcing platform SBA guaranty fee calculator Technical due diligence Source code escrow IP assignment agreement Assignment and assumption agreement Closing statement Business acquisition attorney SaaS valuation tools Disclosure schedule Reps and warranties SBA loan broker fees Top SBA lenders for acquisitions Seller financing calculator Cost to buy a business SBA approved business for sale Cash flowing businesses for sale Businesses for sale with seller financing Recurring revenue businesses for sale BizScout alternative Kumo alternative
Valuation Pricing Demo How it works FAQ Sign in
All posts
Buyers

Stock Purchase Agreement for a SaaS Acquisition With a Worked $1.2 Million Closing Statement

What a stock purchase agreement must cover when you buy a SaaS company, with a $1.2 million closing statement showing debt, cash, working capital and escrow line by line.

By the Buyouts team

November 2026 · 7 min read

Share
A buyer reviewing a stock purchase agreement closing statement for a SaaS company

Short answer: A stock purchase agreement is the contract in which you buy the shares or membership interests of the company that owns a SaaS business, so you take the whole entity with its contracts, tax history and liabilities. Because the company keeps everything, the agreement has to price what you inherit: a debt and working capital adjustment, broad representations, an indemnity backed by escrow, and clean closing conditions. Educational only, not legal or tax advice.

This page walks through the sections of a stock purchase agreement that move money in a software deal, shows a worked $1.2 million closing statement with every adjustment, and lists what to ask for that a generic template leaves out. The figures are our own illustrative arithmetic, not data from a listing or a deal.

What a stock purchase agreement does that an asset deal does not

In an asset purchase you choose what you buy and leave the rest behind. In a stock purchase the company is the thing you buy, so its past comes with it: unpaid sales tax, a customer dispute from two years ago, a contractor who never signed an IP assignment. The seller exits but the liabilities stay in the entity you now own.

That is why buyers accept a stock deal only for a reason. The usual reasons are contracts that cannot be assigned without consent, a payment processor or app store account tied to the entity, licences held by the company, or a tax structure the seller wants. If none of those apply, the asset versus stock comparison and the asset purchase agreement page will usually point you to the safer route.

PointStock purchase agreementAsset purchase agreement
What you buyShares or membership interests of the entityListed assets and assumed contracts
LiabilitiesCome with the company, known and unknownOnly those you assume in writing
Customer contractsStay in place, but change of control clauses can triggerNeed assignment, often with consent
Tax basisCarryover basis unless a 338 election is madeStepped-up basis, allocated by asset class
Price mechanicsCash-free, debt-free with a working capital adjustmentFixed price for assets, simpler true-up
Indemnity weightHeavier, because unknown liabilities are yoursLighter for excluded liabilities

The sections that move money in a SaaS stock deal

Purchase price and adjustment. Most stock deals price the company on a cash-free, debt-free basis. You pay the headline number, then it is adjusted for debt the company still owes, cash it holds and the gap between delivered working capital and an agreed peg. For subscription businesses deferred revenue is the line that gets argued, which we cover in the working capital peg guide.

Representations and warranties. In a stock deal you ask for the full set: financial statements, taxes, contracts, IP ownership, privacy, employees and compliance. See what each rep is worth to a SaaS buyer. The seller's exceptions sit in the disclosure schedule, and each exception removes that item from the indemnity.

Indemnification. Cap, basket, survival period and carve-outs decide what a breach is worth. The indemnification cap example shows the same 10 percent cap recovering $150,000 or $300,500 depending on one carve-out. In a stock deal, tax and IP ownership should be treated as fundamental.

Closing conditions and covenants. Consents from customers whose contracts have change of control rights, signed confirmatory IP assignments, payoff letters for debt, resignations if the founder is leaving, and a covenant to operate normally between signing and closing. Pair these with a material adverse change condition that references ARR, not vague language.

Tax matters. The agreement should say who files and pays pre-closing returns, who controls audits, and whether a joint election is made. If you are a corporate purchaser buying an S corporation, a Section 338(h)(10) election can give you stepped-up basis while the legal form stays a stock deal. The statute is 26 U.S.C. section 338, published by Cornell Law School.

Worked example, a $1.2 million SaaS stock purchase

You buy 100 percent of an LLC that owns a SaaS product with $400,000 ARR. The headline price is $1,200,000, cash-free and debt-free, with a 10 percent escrow. At closing the company has an equipment loan, some cash and a working capital figure compared with the peg.

LineAmountRunning total
Headline price$1,200,000$1,200,000
Less company debt repaid at closing (equipment loan)($45,000)$1,155,000
Plus cash left in the company$38,000$1,193,000
Working capital delivered ($20,000 negative) against a peg of ($35,000 negative)$15,000$1,208,000
Less seller transaction expenses unpaid at closing($12,000)$1,196,000
Less 10% escrow on the headline price($120,000)$1,076,000

The seller receives $1,076,000 at closing, the lender gets $45,000 through a payoff letter, and $120,000 sits in escrow for the survival period. The seller's advisors might have argued the peg should be zero. At a zero peg, the delivered ($20,000) would have reduced the price by $20,000 instead of adding $15,000, a $35,000 swing on a number most buyers do not read. Put the peg, the method and an example calculation into the agreement itself.

The point of the table is not the totals but the habit: ask for the closing statement format as an exhibit (our page on the closing statement for an asset deal shows the same exercise for an asset purchase), with sample numbers, before signing. Disputes in stock deals are rarely about the headline price. They are about an adjustment line nobody defined.

Terms a generic template leaves out for software

  • IP ownership as a fundamental rep. Add a statement that every author of production code assigned rights to the company, and a closing condition for confirmatory assignments. Our IP assignment guide lists what to collect.
  • Revenue rep tied to billing data. The seller represents that MRR in a named export equals the figure in the data room, reconciled to bank deposits.
  • Customer concentration. A specific indemnity or price holdback if any customer above a set share of ARR terminates within a set period, see the customer concentration guide.
  • Data and security. A rep on incidents, with the seller bearing notification costs for pre-closing events.
  • Founder transition and non-compete. A transition services agreement and a sale-of-business non-compete sized to the market.
  • Team fit. If employees come with the entity, decide retention terms before signing. Some buyers score team and process fit with an assessment platform such as Assessmentcloud during diligence.

Who should draft it and what it costs

The seller's counsel usually holds the pen on a small deal, and you mark it up. Budget for your own attorney from the letter of intent on. A drafted purchase agreement averaged roughly $1,290 on one legal marketplace we read in August 2026, but a full SaaS stock deal with negotiation costs far more. Our guide to hiring a business acquisition attorney splits the work between flat fee and hourly, and the attorney cost breakdown has the rate data.

Before you spend that money, make sure the target is real. Listings on Buyouts show MRR, churn and growth in one format, so you can screen deals before paying for legal work. Buyer Access is $99 a month with no buyer success fee, and it lets you request the data room that your attorney and accountant will test.

What is a stock purchase agreement?

A stock purchase agreement is the contract in which a buyer purchases the equity of a company from its owners. The buyer becomes the owner of the whole entity, including its assets, contracts and liabilities. It sets the price, adjustments, representations, indemnity, closing conditions and covenants for the deal.

What is the difference between a stock purchase agreement and an asset purchase agreement?

In a stock purchase you buy the company's equity and inherit all its liabilities, while in an asset purchase you buy only named assets and assume only listed liabilities. Stock deals keep contracts and accounts in place. Asset deals give a stepped-up tax basis and more control over what transfers.

What should a buyer look for in a stock purchase agreement?

Check the price adjustment mechanics, the reps on revenue, taxes and IP, the indemnity cap and basket, the escrow size and release date, closing conditions for customer consents, and the non-compete and non solicitation terms. Read the disclosure schedule against each rep, because every exception is carved out of your claims.

Is a stock purchase agreement the same as a share purchase agreement?

Yes in substance. Stock purchase agreement is the usual US term for a corporation, and share purchase agreement is the common term elsewhere. For an LLC the equivalent is a membership interest purchase agreement. All three transfer the ownership of the entity rather than its individual assets.

The $1.2 million deal, the debt, cash, working capital figures and escrow percentage are our own illustrative figures. The attorney fee average is from a legal marketplace we read firsthand in August 2026. Source for the tax election: Cornell Law School Legal Information Institute, 26 U.S.C. section 338.

The M&A marketplace for AI SaaS

Browse anonymized AI SaaS listings with MRR, multiples, growth, and churn. Seller-approved data rooms, escrow-backed closes. See how it works or value your AI SaaS. Educational content only, not financial advice.

Get full access to the AI SaaS deal room

Buyouts is the marketplace built for AI SaaS: standardized metrics, seller-approved data rooms, escrow-backed closes. Browse AI SaaS for sale, review pricing, or learn how it works.

Standard metrics · Seller-approved data rooms · Escrow-backed closes

Educational only, not financial, investment, tax, or legal advice · we never guarantee a sale price or return · seller listings are anonymized.