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.
@Merlin from now on, when someone in #finance asks you to match receipts, take the card transactions in QuickBooks that have no receipt for the period they name and search Gmail for each one by vendor, amount and date. Attach a receipt only when the vendor and amount match, and don't change the transaction itself. Reply with how many you attached and list the ones still missing a receipt with their date, vendor and amount.
- Starts whenSomeone asks
@Merlinin#financeto match receipts for a month's card transactions Merlin worksClaude Code or Codex searches Gmail for each transaction's receipt by vendor, amount and date and attaches the match in QuickBooks or Xero
- You getA count of the receipts attached and a list of the transactions still missing one, in the thread
Tools
- Slack
- Gmail
- QuickBooks
- Xero
Capabilities
- Integrations
- Your agent's MCP
How it works
From last month's card transactions to receipts attached in the books.
Mention
@Merlinin#financeand name the month whose card transactions need receipts.Claude Code or Codex takes the card transactions in QuickBooks or Xero that have no receipt and searches Gmail by vendor, amount and date. It attaches a receipt only when the vendor and amount match.
The reply counts the receipts attached and lists the transactions still missing one, with the date, vendor and amount.
Mention @Merlin in #finance and name the month whose card transactions need receipts.
Claude Code or Codex takes the card transactions in QuickBooks or Xero that have no receipt and searches Gmail by vendor, amount and date. It attaches a receipt only when the vendor and amount match.
The reply counts the receipts attached and lists the transactions still missing one, with the date, vendor and amount.
Acme
Channels
general
eng
product
support-eng
data
finance
it-help
legal
Direct messages
Merlin
Owen
finance
24
Today
Owen10:05
@Merlin please match receipts for October's card transactions before I send the reminders to cardholders.
Message #finance
Before and after
Receipts get matched before anyone has to chase them.
Without Merlin
Someone searches their inbox for each card charge, downloads the receipt and uploads it to the books one at a time.
- 01List charges with no receipt
- 02Search for the first vendor
- 03Check the amount and date
- 04Download the receipt PDF
- 05Attach it to the charge
- 06Repeat for 64 charges
- 07Track the missing ones
- 08Ask cardholders for receipts
With Merlin
One mention attaches what's already in Gmail and leaves a short list to chase.
@Merlinin#financeAsked at month endMatches receipts on Owen's MacBookCodex searches Gmail by vendor and amount
- Missing receipts listed in the threadThe rest attached in the books
Setup
Give your agent Gmail and the books, then ask in #finance.
Set these up once and anyone in finance can ask at month end. Merlin only finds receipts that reached the connected inbox.
- 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 Merlin to SlackIntegrationsInstall the Slack app and add Merlin to the channel you work in. A private channel needs
/invite @Merlin. - 03Add Gmail to your agentYour agent's MCPConnect the Gmail MCP server to Claude Code or Codex on the machine that runs this. Its credentials stay on that machine.
- 04Add 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.
- 05Sign in to the inbox receipts go toYour agent's MCP
Merlin finds only the receipts in the Gmail account the agent signs in to. Sign the Gmail MCP in to the inbox your card receipts are sent or forwarded to, on the machine of the person who asks. Merlin picks the asker's own machine first.
- 06Paste the setup promptGuidanceAn owner or admin sends the prompt below to @Merlin once, and it becomes workspace guidance for every future run.
Prompt
Tell Merlin how to match receipts.
@Merlin from now on, when someone in #finance asks you to match receipts, take the card transactions in QuickBooks that have no receipt for the period they name and search Gmail for each one by vendor, amount and date. Attach a receipt only when the vendor and amount match, and don't change the transaction itself. Reply with how many you attached and list the ones still missing a receipt with their date, vendor and amount.
Once, when you paste it
- PromptYou paste the prompt to @Merlin
- GuidanceMerlin saves your rules as workspace guidance
Every time someone mentions Merlin in Slack
- IntegrationThe Slack app spots the mention
- RuntimeMerlin picks an available machine
- ContextThe run gathers context
- WorkClaude Code or Codex searches Gmail and attaches receipts
- SteeringYour team steers the work in the thread
- ResultMerlin lists the missing ones in the thread
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 - AutomationsIntegrationsYour agent's MCP
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.
Day 3 of every month at
08:00Tie-out sheet linked in#finance - IntegrationsYour agent's MCP
Finance
Check a purchase request against budget
Mention Merlin on a purchase request in #purchase-requests. It checks the amount against the team's budget and what Ramp shows it has spent, and replies with what's left after it.
@Merlinin a#purchase-requeststhreadWhat's left in the budget, in the thread
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.