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.
Starts whenOn day 3 of every month at
08:00, the automation the finance lead created starts a runMerlin 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
- You getA tie-out sheet with unmatched items and suggested journal entries, linked in the private
#financechannel
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.
Claude Code or Codex breaks each payout into its balance transactions and matches gross minus fees, refunds and disputes to the bank deposit and the ledger in QuickBooks or Xero. It only reads the books.
A new post in the private
#financechannel links the tie-out sheet: matched payouts, unmatched items and suggested journal entries for a person to review and book.
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.
Claude Code or Codex breaks each payout into its balance transactions and matches gross minus fees, refunds and disputes to the bank deposit and the ledger in QuickBooks or Xero. It only reads the books.
A new post in the private #finance channel links the tie-out sheet: matched payouts, unmatched items and suggested journal entries for a person to review and book.
Overview
Agents
Skills
Memory
Automations
Integrations
Settings
Tie out last month's Stripe payouts
PauseDetailsRun history
Trigger
When Merlin runs it.
Run
What Merlin does each time, where it runs, and where the result goes.
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.
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.
- 01Export last month's payouts
- 02Export balance transactions
- 03Group them by payout
- 04Subtract fees and refunds
- 05Net out dispute fees
- 06Export the bank feed
- 07Look up each deposit
- 08Find the ledger entries
- 09Chase the differences
- 10Draft journal entries
- 11Share the sheet in #finance
With Merlin
The schedule does the matching every month and leaves the review to you.
- Day 3 of every month at
08:00Created by Maya in #finance Ties out every payout on Maya's MacBookClaude Code with read-only books
- 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.
- 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.
- 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.
- 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.
- 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.
- 05Add Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 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.
- 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.
- 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.
Once, when you send it
- PromptYou send the prompt to @Merlin
- AutomationMerlin creates the automation
Every scheduled run
- ScheduleThe schedule starts a run
- RuntimeMerlin picks the creator's machine first
- ContextThe run gathers context
- WorkClaude Code or Codex matches each payout
- ResultMerlin links the tie-out sheet in #finance
- SteeringReplies in its thread follow up
Related use cases
More finance tasks you can hand to Merlin.
- IntegrationsYour agent's MCP
Finance
Categorize last month's transactions
Ask Merlin to categorize last month's transactions in QuickBooks. It follows how you categorized the same vendors before, and you get a list of the ones it wasn't sure about.
@Merlinin#financeBooks categorized, unsure ones in the thread - IntegrationsYour agent's MCP
Finance
Match receipts to card transactions
Ask Merlin to find the receipts for last month's card transactions. It attaches each one it finds in Gmail to the transaction in QuickBooks, and you get a list of the ones still missing.
@Merlinin#financeMissing receipts listed in the thread - IntegrationsYour agent's MCP
Finance
Pull the numbers for the board deck
Message Merlin the quarter and your board metrics sheet. It fills in revenue, burn, runway and customers from Stripe and your books, with the source of each number.
Direct message to@MerlinFilled metrics sheet, linked in your DM
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.