← Back to all articles
·By RealMRR Team

How to Reconcile Stripe Payouts with QuickBooks or Xero Without Going Crazy

A step-by-step bookkeeping guide for SaaS founders: why a net Stripe deposit isn't revenue, how to set up a Stripe clearing account in QuickBooks or Xero, and how to build journal entries from the Stripe API.

Stripe ReconciliationQuickBooks OnlineXero AccountingStripe Fees AccountingSaaS BookkeepingStripe Clearing AccountDouble-Entry AccountingStripe 1099-K

This is general information, not tax advice.

Founders running subscription software companies often encounter a common bookkeeping error when closing monthly accounts.

A founder logs into QuickBooks Online or Xero to balance company books.

Illustrative example: the connected bank feed shows a year of deposits from Stripe, totaling $34,180.50.

To complete the bookkeeping quickly, the founder assigns each deposit to Sales Income and confirm the entry.

The bank balance matches the accounting software balance. The books appear balanced.

At year-end, the company accountant reviews the records for tax filings, and several issues emerge:

  1. Stripe submits Form 1099-K to the business and the IRS, reporting $36,890.00 in gross payment volume.
  2. The QuickBooks Profit and Loss (P&L) statement reports total revenue of only $34,180.50.
  3. The discrepancy totals $2,709.50. The records show $0.00 in merchant processing fees, missing $1,850 in deductible card fees, alongside $859.50 in customer refunds and disputes.

The IRS compares information returns such as Form 1099-K with tax returns, so a gap like this can lead to a notice. The accountant must spend hours reviewing twelve months of Stripe CSV exports to reconstruct the general ledger.

This accounting issue occurs because a Stripe bank payout does not represent a single sale.

A Stripe payout bundles customer charges, payment processing fees, international card surcharges, refunds, dispute reserves, and currency conversion adjustments into a single net transfer.

This guide explains why recording net payouts damages double-entry bookkeeping. It shows how to implement a Stripe Clearing Account, provides TypeScript code to generate balanced journal entries from the Stripe API, and outlines a monthly close checklist.


1. Why Stripe Payouts Break Double-Entry Bookkeeping

Accounting software requires distinguishing between Gross Cash Volume and Net Settled Cash.

┌────────────────────────────────────────────────────────────────────────┐
│                   THE STRIPE PAYOUT BUNDLE ILLUSION                    │
├────────────────────────────────────────────────────────────────────────┤
│ What Hits Your Bank Account:                                           │
│   • Bank Deposit from Stripe: $968.00                                  │
│                                                                        │
│ What ACTUALLY Happened Behind the Scenes:                              │
│   + 10 Customer Charges ($100 each):              +$1,000.00 (Gross)   │
│   - 10 Stripe Processing Fees (2.9% + 30¢):           -$32.00 (Expense)│
│                                                   ──────────           │
│   = Net Bank Payout:                                 $968.00 (Transfer)│
│                                                                        │
│ THE COMMON MISTAKE:                                                   │
│ If you categorize the $968.00 bank deposit directly as "Revenue":      │
│   ❌ Gross Revenue is understated by $32.00                             │
│   ❌ Merchant Processing Expense is understated by $32.00 (Lost Ded.)   │
│   ❌ Your books fail to match your official IRS Form 1099-K            │
└────────────────────────────────────────────────────────────────────────┘

Traditional service businesses follow a simple flow:

  1. The business sends an invoice for $5,000 to a client.
  2. The client wires $5,000 to the bank account.
  3. The bookkeeper matches the $5,000 deposit to the $5,000 invoice.
  4. The ledger balances directly.

In a subscription software business, customers do not send funds directly to your bank account:

  • The customer pays Stripe.
  • Stripe holds the funds during a settlement window.
  • Stripe deducts transaction fees (2.9% + 30¢, plus international or currency conversion fees).
  • Stripe aggregates multiple transactions into a single payout and transfers the net remainder to your bank.

Four Factors That Complicate Stripe Reconciliation

1. The Payout Lump-Sum Problem

A single deposit of $4,850.20 in your bank feed can contain:

  • 62 subscription charges
  • 14 plan upgrades
  • 3 refunds
  • 1 chargeback with a $15 dispute fee
  • 79 fee deductions across multiple card tiers

You cannot match a lump-sum bank deposit against customer invoices without separating it into distinct debits and credits.

2. Timing and Settlement Differences

Stripe pays out on a rolling schedule that depends on your country and account. Illustrative example:

  • A customer subscribes on Friday, March 31 at 11:58 PM.
  • The transaction occurs in Q1 (March).
  • Stripe deposits the net payout on Wednesday, April 5.
  • The cash arrives in your bank in Q2 (April).

Recognizing revenue only when cash lands in your bank distorts quarterly financial statements, VAT returns, and income tax filings.

3. Customer Refunds and Disputed Charges

When a customer requests a refund, Stripe deducts the amount from your internal Stripe account balance rather than initiating a bank debit.

If you generate $500 in new sales and issue a $100 refund on the same day, Stripe transfers $385 after fees.

Recording $385 as revenue hides the refund transaction. The accounting software shows lower revenue instead of tracking gross sales and customer refunds separately.

4. Multi-Currency Conversions and FX Spreads

When customers pay in foreign currencies, Stripe applies conversion rates:

  • A customer pays in Euros (€46.20) for a $50 monthly subscription.
  • Stripe converts the payment to USD and charges a currency conversion fee (check Stripe's pricing page for the current rate).
  • Stripe adds the net USD amount to your payout balance.

Without recording currency spreads, small discrepancies accumulate across transactions, making year-end reconciliations difficult.


2. The Solution: The Stripe Clearing Account Architecture

Accountants handle payment processors with a Stripe Clearing Account, also called a Stripe Holding Account.

┌─────────────────────────────────────────────────────────────────────────┐
│                   THE STRIPE CLEARING ACCOUNT ARCHITECTURE              │
│                                                                         │
│   CUSTOMER TRANSACTION              FEES & ADJUSTMENTS                  │
│   ┌───────────────────────────┐     ┌───────────────────────────┐       │
│   │ Customer Pays $100.00     │     │ Stripe Fee: -$3.20        │       │
│   │ [Credit: Sales Revenue]   │     │ [Debit: Merchant Expense] │       │
│   └─────────────┬─────────────┘     └─────────────┬─────────────┘       │
│                 │                                 │                     │
│                 ▼                                 ▼                     │
│   ┌─────────────────────────────────────────────────────────────────┐   │
│   │                   STRIPE CLEARING ASSET ACCOUNT                 │   │
│   │                  (QuickBooks / Xero Current Asset)              │   │
│   │                                                                 │   │
│   │   DEBIT (Inflow):  +$100.00 (Customer Payment)                  │   │
│   │   CREDIT (Outflow):  -$3.20 (Stripe Processing Fee)             │   │
│   │   NET BALANCE:      +$96.80 (Owed by Stripe to You)             │   │
│   └────────────────────────────────┬────────────────────────────────┘   │
│                                    │                                    │
│                                    ▼ Payout Triggered                   │
│   ┌─────────────────────────────────────────────────────────────────┐   │
│   │                      ACTUAL BANK CHECKING ACCOUNT               │   │
│   │   Stripe pays out $96.80 to your business bank account          │   │
│   │                                                                 │   │
│   │   DEBIT:  Bank Checking Account (+$96.80)                       │   │
│   │   CREDIT: Stripe Clearing Account (-$96.80)                     │   │
│   │                                                                 │   │
│   │   RESULT: Stripe Clearing Account returns to EXACTLY $0.00!     │   │
│   └─────────────────────────────────────────────────────────────────┘   │
└─────────────────────────────────────────────────────────────────────────┘

How the Clearing Account Works

The Stripe Clearing Account functions as a virtual bank account inside QuickBooks or Xero. It tracks funds held by Stripe before transfer to your primary operating account.

Record business transactions against the Clearing Account instead of your bank account:

  1. Customer payment: Debit Stripe Clearing Account and credit Sales Revenue.
  2. Payment fee: Debit Merchant Processing Fees and credit Stripe Clearing Account.
  3. Refund issued: Debit Refunds and Allowances and credit Stripe Clearing Account.
  4. Bank payout: Record a bank transfer from Stripe Clearing Account to your physical checking account.

The Double-Entry Ledger in Action

Here are the journal entries for a $1,000 sales day where Stripe charges $32.00 in fees and transfers $968.00 to your bank:

Transaction Step Account Name Account Type Debit ($) Credit ($)
1. Record Gross Sales Stripe Clearing Account Current Asset $1,000.00
SaaS Subscription Revenue Income / Revenue $1,000.00
2. Record Stripe Fees Merchant Processing Fees Operating Expense $32.00
Stripe Clearing Account Current Asset $32.00
3. Record Bank Payout Business Checking Account Bank / Asset $968.00
Stripe Clearing Account Current Asset $968.00
TOTALS $2,000.00 $2,000.00

This structure produces clean financial reporting:

  • Checking Account: Increases by $968.00, matching the bank feed deposit.
  • P&L Statement: Reports $1,000.00 in Gross Revenue (matching Form 1099-K) and $32.00 in Processing Fees (preserving the tax deduction).
  • Stripe Clearing Account: Records $1,000 inflow, $32 fee deduction, and $968 bank transfer, returning to $0.00.

3. Step-by-Step Setup: QuickBooks Online & Xero Configuration

Follow these steps to configure the clearing account in QuickBooks Online or Xero.

Step 1: Configure Your Chart of Accounts

Open your Chart of Accounts and set up the following structure:

CHART OF ACCOUNTS STRUCTURE FOR SAAS:
├── 1000 - ASSETS
│   ├── 1010 - Operating Checking Account (Bank Account)
│   └── 1020 - Stripe Clearing Account (Bank Account or Current Asset)
├── 4000 - REVENUE
│   ├── 4010 - SaaS Subscription Revenue (Income)
│   └── 4020 - Refunds & Allowances (Contra-Revenue)
├── 5000 - OPERATING EXPENSES
│   ├── 5010 - Stripe Merchant Processing Fees (Expense)
│   └── 5020 - Chargeback & Dispute Fees (Expense)
└── 8000 - OTHER EXPENSES
    └── 8010 - Foreign Exchange Gain/Loss (Expense)

In QuickBooks Online, create Stripe Clearing Account with Account Type: Bank (Detail Type: Cash on hand). Configuring it as a Bank account enables the native Transfer option when matching bank feeds.


Step 2: Set the Bank Feed Rule

When an automated Stripe payout arrives in your bank feed:

  • Do not select Categorize -> Sales Income.
  • Select Record as Transfer.
  • Set Transfer From to Stripe Clearing Account.
┌─────────────────────────────────────────────────────────────┐
│             QUICKBOOKS ONLINE BANK FEED MATCHING            │
├─────────────────────────────────────────────────────────────┤
│ Transaction:   STRIPE PAYOUT - TRANSFER - ID 189283         │
│ Amount:        +$4,850.20                                   │
│                                                             │
│ ❌ WRONG WAY:                                               │
│    Action:     Categorize                                   │
│    Account:    Sales Revenue                                │
│                                                             │
│ ✅ THE RIGHT WAY:                                           │
│    Action:     Record as Transfer                           │
│    Account:    Stripe Clearing Account                      │
└─────────────────────────────────────────────────────────────┘

Recording the deposit as a transfer increases your operating checking account by $4,850.20 and reduces the Stripe Clearing Account by $4,850.20.

Next, record the sales, fees, and refunds inside the clearing account.


4. Automating Reconciliations through the Stripe API

Entering daily journal entries manually is inefficient for growing products.

Third-party connector tools can do this for a monthly fee, but some add every single transaction to your accounting software, which makes the books harder to review.

A practical method generates batch journal entries per payout through the Stripe API.

Structure of Stripe Payout Data

Stripe assigns a unique Payout ID (such as po_1Nxxxxxxxxxxxxxx) to each bank transfer.

Use the balance transactions endpoint: GET /v1/balance_transactions?payout={PAYOUT_ID}.

This endpoint lists every balance transaction in the payout. Each record has an amount (the gross amount), a fee (Stripe's fee on it) and a net (amount minus fee). Each also has a reporting_category, which the script below uses:

  • charge: a customer payment
  • refund: money returned to a customer
  • dispute and dispute_reversal: money taken back for a dispute, and money returned when you win one
  • fee: Stripe fees billed on their own, such as Billing or Tax

Production TypeScript Script: Generating Reconciled Journal Entries

This TypeScript module uses Stripe's official Node SDK (the stripe package on npm) to turn one payout into balanced journal entries. Use a restricted API key with read access, and keep it in an environment variable, never in your code:

// stripe-reconciliation.ts
import Stripe from "stripe";

const stripe = new Stripe(process.env.STRIPE_SECRET_KEY ?? "");

const CLEARING = "1020 - Stripe Clearing Account";

type JournalLine = {
  account: string;
  description: string;
  debit: number;
  credit: number;
};

// Stripe amounts are integers in the currency's smallest unit (cents for USD).
// For zero-decimal currencies such as JPY, don't divide by 100.
const toAmount = (cents: number) => Math.round(cents) / 100;

// Debit an expense or contra-revenue account and credit the clearing account.
// A negative amount (money coming back) swaps the two sides.
function fromClearing(account: string, description: string, cents: number): JournalLine[] {
  if (cents === 0) return [];
  const amount = toAmount(Math.abs(cents));
  return cents > 0
    ? [
        { account, description, debit: amount, credit: 0 },
        { account: CLEARING, description, debit: 0, credit: amount },
      ]
    : [
        { account: CLEARING, description, debit: 0, credit: amount },
        { account, description, debit: 0, credit: amount },
      ];
}

export async function generatePayoutJournalEntry(payoutId: string) {
  const payout = await stripe.payouts.retrieve(payoutId);

  let chargesCents = 0; // customer payments, before Stripe's fee
  let refundsCents = 0; // money returned to customers
  let disputesCents = 0; // money taken back for disputes, less any won back
  let feesCents = 0; // every Stripe fee in this payout
  let otherCents = 0; // anything else: book these by hand

  // The SDK fetches every page of results.
  for await (const txn of stripe.balanceTransactions.list({ payout: payoutId, limit: 100 })) {
    if (txn.type === "payout") continue; // the payout itself

    // txn.amount is gross, txn.fee is Stripe's fee on it, and
    // txn.net is amount minus fee. Never add fee to amount.
    feesCents += txn.fee;

    switch (txn.reporting_category) {
      case "charge":
        chargesCents += txn.amount;
        break;
      case "refund":
        refundsCents -= txn.amount; // refunds have negative amounts
        break;
      case "dispute":
      case "dispute_reversal":
        disputesCents -= txn.amount; // a won dispute has a positive amount
        break;
      case "fee":
        feesCents -= txn.amount; // fees billed on their own, such as Billing or Tax
        break;
      default:
        otherCents += txn.amount;
    }
  }

  // Everything in the payout must add up to the amount sent to the bank.
  const total = chargesCents - feesCents - refundsCents - disputesCents + otherCents;
  if (total !== payout.amount) {
    throw new Error(`Payout ${payoutId}: transactions add up to ${total}, payout is ${payout.amount}`);
  }

  const lines: JournalLine[] = [];
  if (chargesCents !== 0) {
    const amount = toAmount(chargesCents);
    lines.push(
      { account: CLEARING, description: `Customer payments in payout ${payoutId}`, debit: amount, credit: 0 },
      { account: "4010 - SaaS Subscription Revenue", description: `Customer payments in payout ${payoutId}`, debit: 0, credit: amount },
    );
  }
  lines.push(
    // Dispute fees are part of feesCents. Move them to 5020 by hand if you track them apart.
    ...fromClearing("5010 - Merchant Processing Fees", `Stripe fees in payout ${payoutId}`, feesCents),
    ...fromClearing("4020 - Refunds & Allowances", `Refunds in payout ${payoutId}`, refundsCents),
    ...fromClearing("4020 - Refunds & Allowances", `Disputes in payout ${payoutId}`, disputesCents),
  );

  return {
    payoutId,
    currency: payout.currency.toUpperCase(),
    arrivalDate: new Date(payout.arrival_date * 1000).toISOString().slice(0, 10),
    payoutAmount: toAmount(payout.amount),
    // Not zero means some transactions need booking by hand.
    otherAmount: toAmount(otherCents),
    lines,
  };
}

5. Handling Complex Edge Cases: Disputes, Reserves, and FX Spreads

Three edge cases require specific accounting entries:

1. Chargebacks and Dispute Fees

When a customer disputes a charge through their card issuer:

  1. Stripe debits the disputed amount from your account balance.
  2. Stripe charges a dispute fee. The entries below use $15; check Stripe's pricing page for the current amount.
  3. If the card issuer upholds the dispute, the fee and funds are lost.
  4. If you win the dispute, Stripe returns the disputed funds. Check Stripe's pricing page for whether any dispute fee comes back too.
RECORDING A CHARGEBACK LOSS:
Debit:  5020 - Chargeback & Dispute Fees    $15.00
Debit:  4020 - Refunds & Allowances         $100.00
Credit: 1020 - Stripe Clearing Account      $115.00

RECORDING A WON DISPUTE (funds returned):
Debit:  1020 - Stripe Clearing Account      $100.00
Credit: 4020 - Refunds & Allowances         $100.00

If Stripe also returns a dispute fee, debit 1020 and credit 5020 for that amount.


2. Rolling Risk Reserves

If Stripe identifies rapid volume growth or elevated dispute rates, they may withhold a rolling reserve (such as 10% of gross volume for 90 days).

A rolling reserve is not an operating expense. The funds remain company assets held temporarily by Stripe.

To record reserve funds accurately:

  1. Create a current asset account: 1030 - Stripe Rolling Reserve.
  2. When Stripe withholds funds:
    • Debit: 1030 - Stripe Rolling Reserve (+$500.00)
    • Credit: 1020 - Stripe Clearing Account (-$500.00)
  3. When Stripe releases the reserve back into your payout:
    • Debit: 1020 - Stripe Clearing Account (+$500.00)
    • Credit: 1030 - Stripe Rolling Reserve (-$500.00)

This preserves balance sheet accuracy without affecting your P&L statement.


3. Currency Conversion Spreads (FX Margins)

Customers often pay in foreign currencies such as EUR, GBP, AUD, or CAD. Stripe converts these payments to USD and charges a currency conversion fee.

Do not calculate floating exchange rates for each customer charge.

Record gross transaction values in your base currency using the settled amount from txn.amount. Record differences between listed prices and settled funds in Foreign Exchange Expense (8010 - FX Gain/Loss).


6. How RealMRR Builds the Journal for You

Writing and maintaining this script takes time. RealMRR builds the same kind of journal from the data it already syncs from your providers.

  • Monthly journal: Export a month as a QuickBooks journal, a Xero manual journal, or a plain CSV journal. Every entry balances.
  • A balance account for each provider: Payments land in an account such as "Stripe balance", which works like the clearing account above. Revenue goes in at the gross amount and is earned month by month over the period it pays for. The provider's fees, including lost disputes, go to "Payment fees", and refunds go to "Refunds".
  • Payouts and your bank feed: The QuickBooks and Xero formats leave out payouts, so your bank feed books each deposit against the same provider balance, as in Step 2 above.
  • Payout files: For Stripe and Paddle, you can download payouts as .qbo, .ofx or .csv bank-statement files, for deposits missing from your bank feed.
  • Costs too: Spend from connected cost providers such as Vercel, OpenAI and Anthropic goes to expense accounts in the same journal.

RealMRR doesn't file taxes, doesn't guarantee compliance and doesn't match your Form 1099-K. Have your accountant check the numbers before you file.


7. The 5-Minute Month-End Reconciliation Checklist

Review these five items before closing monthly accounts:

Step 1: Check the Stripe Clearing Account Ending Balance

Open your Balance Sheet in QuickBooks or Xero.

  • Check the balance of 1020: Stripe Clearing Account on the final day of the month.
  • The balance should equal the money Stripe still holds for you on that day: your Stripe balance, plus any payout that has left Stripe but hasn't reached your bank yet.
  • If the two match, the clearing account is correct.

Step 2: Cross-Check Gross Revenue Against Stripe Dashboard

Generate your monthly P&L statement.

  • Confirm that Gross Revenue (Account 4010) matches the Gross Volume reported in Stripe Analytics.
  • If P&L revenue is lower, a net bank deposit was likely categorized as revenue in the bank feed.

Step 3: Confirm Merchant Processing Deductions

Confirm that Merchant Processing Fees (Account 5010) equals approximately 2.9% to 3.5% of gross sales. A $0.00 balance indicates unrecorded tax deductions.

Step 4: Audit Customer Refunds and Chargebacks

Confirm that all customer refunds appear in Account 4020 (Refunds & Allowances) rather than reducing gross sales figures directly.

Step 5: Compare With Stripe's Year-to-Date Totals

Compare revenue for the year to date with the gross amounts Stripe reports for the same period, so the year's Form 1099-K holds no surprises.


8. Summary: Clean Accounting as a Business Asset

Accurate accounting protects company value and saves administrative time.

Incomplete records with unrecorded fees and mismatched revenues create operational risks:

  • Difficult tax preparation.
  • Potential IRS reporting inquiries.
  • Complications during business acquisitions when buyers audit net margins.

Configure a Stripe Clearing Account and record bank deposits as transfers. Automate journal entries through the Stripe API, and connect your billing stack to RealMRR.

Clean books give clear financial visibility and protect developer time.


Built for indie founders

Know your real profit today.

Connect your payment gateway and cloud bills to get verified profit rankings, automated bookkeeping, and zero guesswork.