Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

invoice-generator

bởi tmigone

PDF & Documents
3.2kLượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Generate professional PDF invoices from JSON.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  1. 1

    Collect company, client, invoice number, due date, and line item details

  2. 2

    Format collected data into the required JSON schema

  3. 3

    Run generate.sh with the JSON as input

  4. 4

    Capture the output path returned by the script

ĐẦU RA

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

Yêu cầu

  • INVOICE_DIR environment variable set to a writable directory path
  • weasyprint installed for PDF rendering

Cài đặt

clawhub install tmigone/invoice-generator

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết