Do Beancount bookkeeping and VAT return prep with Claude
The poster used Claude to tidy the chart of accounts, write Beancount queries, and generate a script producing values for the quarterly VAT report. ·
Done withClaude Code
- What they did
- The poster kept the company books in Beancount and used Claude Code against that plain-text setup, but was cautious about letting it edit the ledger directly. For a Swiss quarterly VAT filing, Claude first helped tidy the chart of accounts, then wrote Beancount queries, and finally produced a small script that outputs the values to copy into the return; later they extended the same CLI to generate Swiss QR-bill invoices and book them in the ledger, while leaving fuzzy tasks like reading receipts or guessing accounts to the agent.
- How it went
- It replaced manual VAT prep with a repeatable script-based workflow and expanded into invoicing, statement importers, and possible year-end reports. The poster says exact math and statutory outputs stay in deterministic CLI code, with the agent orchestrating rather than doing the calculations.
- Worth knowing
- The main catch is privacy and trust: the thread raises concern about sending sensitive financial data to hosted AI tools, and the poster says they still avoid having the model itself do the math.
Try it yourself with Claude Code
In my Beancount ledger at [path], tidy the chart of accounts by suggesting merges and renames for [problem areas]. Then write a script that uses Beancount queries to produce the values for my [quarterly VAT return boxes]. It's done when the script runs and prints each box with the transactions behind it. Show me the proposed account changes before editing any files.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: Reddit · Jul 1, 2025
Related use cases
Turn tickets into merged pull requests
Pulls tasks from GitHub Issues or Linear, then runs Claude Code or Codex in isolated Kubernetes pods to carry each one through to a PR.
Catch up on two years of overdue Dutch taxes
Claude Code helped a person almost two years behind on taxes untangle expenses, look up receipts and invoices, and navigate the Dutch tax system.
Run Claude Code on local models via Ollama
A guide to setting up Claude Code in IntelliJ and connecting it to local models through Ollama for coding work.
Shop for umbrella insurance through your personal agent
Personal AI agents use Coverage Cat's Agent API/MCP to size umbrella coverage and compare carrier options with price ranges, backed by a licensed broker.
Custom agent
Fight a mattress warranty claim by email
A user's agent emailed back and forth with the mattress company's agent, citing laws and pushing aggressively, to resolve a warranty claim.
Custom agent
File an income tax return through the tax portal
Claude Desktop agent filed the user's ITR-1: cross-checked salary against AIS, handled an employer switch, fixed validation errors, and submitted.
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.