Set up a freelance invoice workflow with Claude Code
Alejandro Arce used Claude Code to stitch together invoice data, PDF creation, and email sending, saving about 90 minutes of weekly admin.
- What they did
- Alejandro Arce asked Claude Code to create three connected pieces for his invoicing process. A JSON file stores client info, line items, and whether each invoice is paid. A separate script fills an HTML template and exports it as a PDF with Puppeteer, while a Nodemailer script sends the file through SMTP, saves the send date, and triggers a reminder after two weeks if the invoice remains unpaid. He runs the system at the end of each invoice period.
- How it went
- He spent about four hours on the first version and another two hours refining it. He says it now cuts out roughly 90 minutes of admin every week. He still updates payment status by hand, and it does not include payment processing or support for multiple currencies.
- Tips
- Try the whole flow with test invoices before using it for real clients, since SMTP mistakes can route messages to spam. Keep a manual check for paid invoices if your system does not connect to payments.
Try it yourself with Claude Code
Help me build a simple invoicing workflow for my freelance business in this folder. Create a JSON file for [client name, email, hourly rate, payment terms, invoice items, paid/unpaid status], a script that turns an HTML template into a PDF invoice, and a script that emails it through SMTP while logging the send date. If an invoice is still unpaid after [14 days], prepare a reminder draft and stop for my approval before any email is actually sent. I want one command to generate a test invoice for [client].
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Audit QuickBooks entries without closing the books
Claude Code inspected a test QuickBooks file, checked for unreconciled transactions, and would not close the month without bank statements.
Build task lists from email with Claude Code
Becky used a plain-English style with Claude Code after watching a demo, then applied the same approach to make several no-code tools.
Sort messy folders with a review-first cleanup plan
Use Claude Code to inventory a cluttered folder, group related files, and propose safe cleanup changes for your approval.
Turn email invoice details into a draft and send it after approval
Claude Code can read invoice details from email, prepare the invoice message, and help with bookkeeping prep before you approve the final send.
Use Claude Code for a year-end bookkeeping checklist
A company owner had Claude Code gather records, answer a 37-item accountant checklist, and identify the source of a ยฃ5,000 bookkeeping gap.
Use Claude Code to replace a Shopify reviews app
They had Claude Code inspect Judge.me, outline a replacement, and then help carry out the change on a Shopify store.