Finance

Tie out last month's Stripe payouts

Each month, Merlin matches every Stripe payout to its bank deposit and your ledger. You get a sheet with the unmatched items and suggested journal entries.

@Merlin on day 3 of every month at 08:00, tie out last month's Stripe payouts. Break each payout into its balance transactions and check that gross minus fees, refunds and disputes equals the deposit on the bank feed and the entry in QuickBooks. Only read QuickBooks, never post to it. Put the result in a new Google Sheet with one row per payout, a tab for unmatched items and a suggested journal entry for each difference, then post the link here with the totals.

#finance
Get started for free
  1. Starts whenOn day 3 of every month at 08:00, the automation the finance lead created starts a run
  2. Merlin worksClaude Code or Codex breaks each Stripe payout into balance transactions and matches it to the bank deposit and the ledger in QuickBooks or Xero, with read-only access to the books
  3. You getA tie-out sheet with unmatched items and suggested journal entries, linked in the private #finance channel

Tools

  • Stripe
  • QuickBooks
  • Xero
  • Google Sheets
  • Slack

Capabilities

  • Automations
  • Integrations
  • Your agent's MCP

How it works

From last month's Stripe payouts to a tie-out sheet in #finance.

On day 3 of every month at 08:00, the automation the finance lead set up starts a run. Day 3 gives the month's last payouts time to reach the bank.

/AcmeTeam/Automations/Tie out last month's Stripe payoutsFeedback?M

Overview

Agents

Skills

Memory

Automations

Integrations

Settings

Tie out last month's Stripe payouts

Pause
StatusActive
CreatorM Maya You
ScopeWorkspace
Last runOct 3, 2026, 8:00 AM

DetailsRun history

Trigger

When Merlin runs it.

RuleHow often Merlin runs it.Monthly
Day of monthShort months use their final day.3
TimeNext run Nov 3, 2026, 8:00 AM.08:00

Run

What Merlin does each time, where it runs, and where the result goes.

Run instruction

on day 3 of every month at 08:00, tie out last month's Stripe payouts. Break each payout into its balance transactions and check that gross minus fees, refunds and disputes equals the deposit on the bank feed and the entry in QuickBooks. Only read QuickBooks, never post to it. Put the result in a new Google Sheet with one row per payout, a tab for unmatched items and a suggested journal entry for each difference, then post the link here with the totals.

RuntimeThe computer and coding agent that run it.MacBook Pro · Claude Code
DestinationWhere Merlin posts the result. Choose None when the instruction already acts in your tools.#finance

Before and after

The close starts with the payouts already tied out.

Without Merlin

Someone exports three systems into one spreadsheet and diffs them by hand, payout by payout.

  1. 01Export last month's payouts
  2. 02Export balance transactions
  3. 03Group them by payout
  4. 04Subtract fees and refunds
  5. 05Net out dispute fees
  6. 06Export the bank feed
  7. 07Look up each deposit
  8. 08Find the ledger entries
  9. 09Chase the differences
  10. 10Draft journal entries
  11. 11Share the sheet in #finance

With Merlin

The schedule does the matching every month and leaves the review to you.

  1. Day 3 of every month at 08:00Created by Maya in #finance
  2. Ties out every payout on Maya's MacBookClaude Code with read-only books
  3. Tie-out sheet linked in #financeSuggested entries for a person to book

Setup

Give your agent Stripe, the books and Sheets, then schedule the tie-out once.

Set these up once and the tie-out runs every month. The books stay read-only, so suggested journal entries wait in the sheet for a person to book.

  1. 01Connect a machineRuntimeInstall the Merlin desktop app or CLI on a computer running Claude Code or Codex. You can also use a machine a teammate shares with your workspace.
  2. 02Add Stripe to your agentYour agent's MCPConnect the Stripe MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  3. 03Add QuickBooks or Xero to your agentYour agent's MCPConnect the QuickBooks or Xero MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  4. 04Add Google Sheets to your agentYour agent's MCPConnect the Google Sheets MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
  5. 05Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs /invite @Merlin.
  6. 06Schedule it from the finance lead's machineAutomations

    Merlin's Stripe webhook preset has no payout event, so this job runs on a schedule. The finance lead sends the prompt, and each run prefers a machine they own, then their other machines or a public one.

  7. 07Keep the books read-onlyYour agent's MCP

    Connect QuickBooks or Xero on that machine with a read-only role (QuickBooks, Xero), so the run can read the ledger and the bank feed but cannot post to them.

  8. 08Paste the setup promptAutomationsSend the prompt below to @Merlin in Slack, in the channel it should post to. Merlin creates the automation and tells you what it set up.

Prompt

Schedule the monthly payout tie-out with one prompt.

@Merlin on day 3 of every month at 08:00, tie out last month's Stripe payouts. Break each payout into its balance transactions and check that gross minus fees, refunds and disputes equals the deposit on the bank feed and the entry in QuickBooks. Only read QuickBooks, never post to it. Put the result in a new Google Sheet with one row per payout, a tab for unmatched items and a suggested journal entry for each difference, then post the link here with the totals.

#finance

Once, when you send it

  1. PromptYou send the prompt to @Merlin
  2. AutomationMerlin creates the automation

Every scheduled run

  1. ScheduleThe schedule starts a run
  2. RuntimeMerlin picks the creator's machine first
  3. ContextThe run gathers context
  4. WorkClaude Code or Codex matches each payout
  5. ResultMerlin links the tie-out sheet in #finance
  6. SteeringReplies in its thread follow up

Bring your coding agents into the tools your team already uses.

Let your whole team hand work to Claude Code and Codex today. Connect one machine and add Merlin to Slack, Linear or GitHub. 14-day free trial, no API keys, no card.