invoice-md
Agent skill · open source · MIT

Tell your coding agent what you billed. Get a clean invoice you can print to PDF.

Your notes

invoice Harbour & Finch for 12h design at 80/h, 300 for the font licence, packaging files 145 less 10%, 23% VAT, net 30

→ INV-2026-0042 · €1,710.32, exact to the cent
A quote in the Ledger theme, in pounds sterling
A German invoice in the Swiss theme with two VAT rates
A designer's invoice in the Studio theme, marked paid
Real output. Rendered from the JSON in examples/.
01 / How it works

Three steps, no form to fill in.

The skill asks only for what it cannot know. It never makes up a tax ID, a bank account or a tax rate.

Step 1 · Notes

Write what you did, the way you would say it.

Hours, prices, the client, the tax rate. Missing the client's address? The agent asks once.

quote Northgate Cycle Works:
8 pages web copy at 275,
40 product blurbs at 18.50,
voice guide 650 less 100.
UK VAT 20%. Valid 30 days.
Step 2 · Agent

It writes typed JSON and checks the maths.

Every amount is counted in whole cents. Rounding is half-up, per line, and written down.

$ invoice-md validate Q-2026-014.json
ok quote Q-2026-014, 3 lines,
   total 4188.00 GBP
Step 3 · PDF

You pick a theme, print, and save as PDF.

A4 or US Letter. Long item lists break across pages with the table header repeated.

$ invoice-md render Q-2026-014.json \
    --theme ledger --paper a4 --open
→ Print → Save as PDF
02 / Install

Add it to your agent.

Works in Claude Code, Cursor, Codex and any agent that reads skills. Needs Node 20 or newer. No other dependencies.

Claude Code plugin

2 commands
> /plugin marketplace add isatimur/invoice-md
> /plugin install invoice-md@invoice-md

Then ask: “Invoice my client for last week's work.”

Any agent, with skills.sh

1 command
$ npx skills add isatimur/invoice-md

Or clone the repo and run node scripts/invoice-md.mjs --help.

Exact mathsInteger cents, never floating point.
Invoice, quote, credit notePlus paid, overdue and draft stamps.
Any currency and localeEUR, USD, GBP, JPY and the rest.
CSV and numberingLine items to CSV. INV-0042 → INV-0043.
03 / Themes

Five themes. One invoice, five ways.

The same document in each theme. The agent shows you three that suit your work and you pick one.

The sample studio invoice in the Swiss theme

swiss

Grotesk on a strict grid. One red rule. The safe default.

The sample studio invoice in the Ledger theme

ledger

Serif, small caps, ruled lines, a double-underlined total.

The sample studio invoice in the Studio theme

studio

Heavy display type and one loud colour. For creatives.

The sample studio invoice in the Terminal theme

terminal

Monospace, key-value blocks, ISO currency codes.

The sample studio invoice in the Soft theme

soft

Quiet and airy, with a rounded totals panel.

04 / Examples

Five made-up freelancers, five real outputs.

Every name, address and bank detail below is invented. Open one, then press Print to see the page.

DocumentThemeTotal
Marta Vela StudioInvoice, 23% VAT, a line discount, paid stamp, logostudio€1,710.32Open →
Tobias Wren SoftwareInvoice on US Letter, deposit paid, overdue stampterminal$2,818.99 dueOpen →
Hattie Lark WordsQuote with a validity date, 20% VAT, a fixed discountledger£4,188.00Open →
Lena Brandt FotografieGerman invoice, two VAT rates and a tax summaryswiss3.545,49 €Open →
Pilar Ortega TranslationCredit note with a reverse-charge notesoft€264.00Open →
Please read

invoice-md formats documents. It does not give tax or legal advice.

You decide what your invoice must say. Tax rates, reverse-charge wording, tax IDs and invoice numbering rules differ by country. Check them with your accountant or tax office.