invoice-generator
tmigone 作
PDF & Documents概要
Generate professional PDF invoices from JSON.
説明
このスキルでできること
Converts structured JSON data into PDF invoices with company and client details, line items, and totals. Supports input from stdin, a file path, or a saved config template stored in a configured directory. Output files are auto-versioned to avoid overwrites.
Generates consistently formatted PDFs from plain JSON without opening a word processor or spreadsheet each time.
使いどころ
- Sending a monthly invoice to a recurring freelance client
- Reusing a saved template to bill the same client each month
- Generating invoices from JSON exported by a billing or time-tracking tool
- Creating payment requests with itemized services and due dates
- Automating invoice numbering in a scripted billing workflow
ワークフロー例
User asks: Create an invoice for Acme Corp for consulting services at $2000, due Feb 28
- 1
Collect company, client, invoice number, due date, and line item details
- 2
Format collected data into the required JSON schema
- 3
Run generate.sh with the JSON as input
- 4
Capture the output path returned by the script
PDF saved to $INVOICE_DIR/invoices/invoice-INV-2025.01.pdf
要件
- INVOICE_DIR environment variable set to a writable directory path
- weasyprint installed for PDF rendering
インストール
clawhub install tmigone/invoice-generatorCLIコマンドを実行するか、Claude Code、Cursor、Codexなどお使いのコーディングエージェントにプロンプトを貼り付けてください。