Build a freelancer invoicing system with Claude Code
A freelancer built a client file, PDF rendering script and email script that send invoices and track payment status, replacing about 90 minutes a week of admin.
Done withClaude Code
- What they did
- Alejandro Arce had Claude Code build three modular pieces. A JSON file holds client data, line items and payment status. A script fills an HTML template and uses Puppeteer to export a PDF. A Nodemailer script emails it over SMTP, records the send date, and sends a reminder after two weeks if the invoice is unpaid. He runs it once per billing cycle.
- How it went
- The build took about four hours, plus two more refining it. He says it replaced roughly 90 minutes a week of admin. He still marks invoices as paid by hand, and it has no payment processing or multi-currency support.
- Worth knowing
- Send test invoices to yourself before going live, because SMTP misconfiguration can send the emails to spam.
Try it yourself with Claude Code
Help me build a simple invoicing system in this folder for my freelance work. Create a client file with [name, email, rate, payment terms], a script that renders a PDF invoice from it, and a script that emails it and tracks paid or unpaid status. It's finished when I can run one command to make a test invoice for [client]. Show me the email and wait for my approval before anything is actually sent.
Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.
Source: alejandroarce.com · Undated
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.
Run a solo company with eight agent departments
A founder set up CEO, CFO, COO, lawyer, accountant, marketing, CTO, and improver agents that share memory and consult each other.
Reconcile industry files and chase clarifications with agents
An agent workflow ingests a complex industry file, loads it into a database, spawns agents to check it against work in flight, and contacts people to resolve bad data.
Custom agent
Run daily business operations on a dedicated agent machine
A business owner runs an AI agent on a dedicated machine that handles email triage, summarization, social media monitoring, scheduling, file management and drafting responses.
Custom agent
Get 5 like this every morning
The best things people got an AI agent to do, each with the prompt to try it.