Reconcile crypto trades across chains and post them to Xero with Claude Code
- Posted
- by Raman (@ksaitor)
- Last checked
- Method:
- How we verify
Evidence: Described by posterThe person describes what happened in words, without screenshots or video.
Outcome
Claude Code tracked on-chain swaps across 10+ assets, produced a monthly gain/loss breakdown with reconciled exchange rates, then built a Xero connection and posted journal entries.
Agent
Prompt Recreated prompt
The source didn't share its exact prompt, so we wrote this from what it describes.
Here's a task I'd like your help with. Read it all the way through before you start. Goal: Work out my crypto gains and losses by month and prepare the entries for my accounting software. Check with me first: Which wallets and exchanges should you include, and for what period? What I'll give you: - My wallet addresses and exchange exports - Access to my accounting software (Xero here) Rules: - Track every swap and transfer, and use exchange rates from reliable sources. - Show the monthly gain/loss breakdown before posting anything. - If something is missing or unclear, ask me instead of guessing. - Only post journal entries after I approve them. Output: A monthly gain/loss summary and the journal entries, posted once I approve. You'll know it worked when: the numbers reconcile and the entries in my books match the summary.
Try this in:
Sends the Recreated prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini opens empty, so we copy the prompt for you to paste. Every button also copies it.
The source used Claude Code, which can take actions on your computer or in a browser. These are general chat tools, so results may differ, and a normal chat may only give you a plan.
Opens in a new tab. We don't see what you send.
These links are only a shortcut. We're not affiliated with OpenAI, Google or xAI, and your results may not match the source.
Optional stronger version
Our rewrite with extra checks. The poster didn't test it.
Here's a task I'd like your help with. Read it all the way through before you start. Goal: Work out my crypto gains and losses by month and prepare entries for Xero. Quick check first: tell me if anything below is missing or unclear. Inputs (fill in or confirm): - Wallet addresses and exchange exports - Period - Cost basis method - Base currency - Accounting chart of accounts Rules: - Track every swap, bridge and fee across chains. - Use a stated cost basis method consistently. - Price each transaction at its timestamp from a named source. - Prepare journal entries for review. - Separate realized and unrealized gains. - Record gas fees as costs per my method. - Keep a link to each on-chain transaction. Checkpoint: Don't post to Xero without approval. If you get stuck: If a transaction can't be priced, flag it. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords. Verify before you finish: Reconcile ending balances per wallet. Output: Monthly gains table, journal entries and exceptions. Done when: balances reconcile and entries are ready.
Source
https://x.com/ksaitor/status/2042163099600638171
Related cases
- Do year-end bookkeeping and Xero reconciliation with Claude CodeRecreated promptEvidence: Screenshots or logs
Claude Code categorized a folder of receipts, cross-referenced exported bank CSVs against Xero to find duplicates and missing transactions, used the browser extension to report on reconciliation items, and produced a cost-cutting report; the poster says this replaced roughly $2–3K of accounting-firm work.
Poster says:~2–3K accounting-firm fee avoided
Claude Code, Claude in Chrome · Ops · Source date:
- Enter retail-arbitrage receipts into a spreadsheet with Claude CoworkRecreated promptEvidence: Described by poster
Claude Cowork weekly processes a folder of RA receipts into a spreadsheet with buy cost, store and item; the poster still double-checks but says admin time is way down.
Claude Cowork · Ops · Source date:
- Categorize 419 ledger transactions into an Excel template with ChatGPT agentRecreated promptEvidence: Screenshots or logs
Given an Excel ledger template and 419 transactions, ChatGPT agent asked for help on ambiguous merchants, then keyed in all ~400 rows and took 4 minutes.
Poster says:Done in 4 minutes
ChatGPT agent · Ops · Source date: