Bill
bypil
Premium
Developer Tools
Your Claude Code sessions already know how long you worked. Bill turns them into billable hours and a client-ready PDF invoice.
You do client work in Claude Code. At the end of the month you face two questions you cannot answer well.
"What did you build?" Your evidence is a git log full of "fix: null deref in resolver" and "wip". Nobody has ever been reassured by a wall of commit messages.
"How many hours?" You did not run a timer. You never do. So you guess, and you guess low, because a number you cannot defend is a number you would rather not have to defend.
The record already exists. Every Claude Code session writes a transcript with timestamps. Bill installs a Stop hook that reads it after every turn and appends one row per session per day to <repo>/.claude/costs.csv: engaged working time, tokens, models, equivalent API cost. Nothing to start, nothing to stop, nothing to remember.
Then /bill turns that ledger into one of two things, and it never mixes them.
The INTERNAL view is for you: billable hours, equivalent AI cost, commits and files changed, a repo health grade, and what is still unpaid.
The CLIENT view is for them: delivered features in outcome language, hours, rate, amount. No AI cost. No token counts. No model names. No commit messages. That separation is enforced in code and covered by tests, because it is the whole reason a client document is safe to send.
WHAT YOU GET
A per-repo cost and time ledger, written automatically by a Stop hook that never blocks a turn and never throws.
An internal dashboard: hours x rate, AI investment, git output, typecheck, lint and test status, a health grade, and an open-items line for unpaid invoices.
A client deliverable: parallel subagents read the real git history and cluster it into client-facing features, web-research the current freelance market rate for that stack, then adversarially verify that every line item is real and leaks nothing technical.
A finished invoice as Markdown, styled HTML and print-ready A4 PDF, with a statement-of-work table that derives every euro from tracked minutes, so the number survives being questioned.
A real invoice lifecycle: sequential numbering, a payment journal, duplicate protection, cancellation that keeps the number allocated so the sequence has no gaps, escalating dunning letters with late fees, and a mail draft with the PDF attached that is never sent without you.
German and English out of the box. Five tax modes: Kleinunternehmer, VAT, reverse charge, exempt, none. A SEPA GiroCode payment QR that banking apps scan to prefill the transfer.
HOW IT RUNS
Node 18 or newer. Zero npm dependencies. Everything runs locally: it reads your own transcripts and your own git history, sends nothing anywhere, and has no telemetry. Chrome is optional and only used to print the PDF. 67 automated checks cover the full invoice lifecycle in both languages.
NOT INCLUDED, ON PURPOSE
This is not accounting software and not tax advice. It produces invoices and keeps a numbered journal; your accountant should look at the first one. It does not file anything, does not talk to your bank, and does not upload your data.
Key Features
01Time tracking with nothing to start or stop: a Stop hook logs engaged working time per repo after every turn
02Client-ready A4 PDF invoices with a statement-of-work table that derives every euro from tracked minutes
03Sequential numbering, payment journal, duplicate protection and escalating dunning letters with late fees
04Two strictly separated views: your AI cost stays internal, the client document never contains it
05German and English, five tax modes, and a SEPA GiroCode payment QR
06Zero dependencies, runs fully local, no telemetry, 67 automated checks
Use Cases
01Invoice a client for the month without having tracked a single minute by hand
02Answer “what did you actually build?” with delivered features instead of commit messages
03Find out what a project really cost you before you quote the next one
04Check whether your hourly rate is under market, with sourced research instead of a gut feeling
05Chase an overdue invoice with a proper escalating reminder letter instead of an awkward email
06Keep a numbered, auditable invoice journal without opening accounting software
Get this skill
Creator
P
pil
1 listing
I build developer tooling for Claude Code, and I ship the parts that survive contact with real client work. Everything here started as something I needed myself: a cost and time ledger because I kept guessing my hours, an invoice generator because a git log is not a deliverable. It runs on my own invoices before it ever reaches this storefront.
View profile