LaunchKit · 2026
Back to Skills

invoice-generator

Generate professional PDF invoices from JSON.

2
3.2k downloads
by @tmigone

Setup & Installation

openclaw skills install @tmigone/invoice-generator

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install invoice-generator

What This Skill Does

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.

When to use it

  • 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

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Create an invoice for Acme Corp for consulting services at $2000, due Feb 28

AGENT
  1. 1Collect company, client, invoice number, due date, and line item details
  2. 2Format collected data into the required JSON schema
  3. 3Run generate.sh with the JSON as input
  4. 4Capture the output path returned by the script
OUTPUT

PDF saved to $INVOICE_DIR/invoices/invoice-INV-2025.01.pdf

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

INVOICE_DIR environment variable set to a writable directory pathweasyprint installed for PDF rendering