← 返回
开发者工具 中文

Invoice Gen

Generate professional PDF invoices from simple text commands. Supports multiple currencies, tax calculation, CJK text, and customizable templates. No externa...
通过简单的文本命令生成专业 PDF 发票。支持多种货币、税费计算、CJK 文本及可自定义模板,无需外部依赖。
zacjiang
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 510
下载
💾 8
安装
1
版本
#latest

概述

Invoice Generator

Generate professional PDF invoices from natural language or structured data. Works offline, no external service needed.

Quick Start

Tell your OpenClaw agent:

Generate an invoice for:
- Client: Acme Corp, 123 Main St, New York
- Items: Web Development 40 hours @ $150/hr, Server Setup 1x $500
- Tax: 10%
- Due: Net 30
- My company: Zac Tech LLC

The agent will use this skill to generate a professional PDF invoice.

Script Usage

python3 {baseDir}/scripts/gen_invoice.py \
  --from "Your Company, 123 Street, City" \
  --to "Client Name, 456 Ave, City" \
  --items "Web Development|40|150" "Server Setup|1|500" \
  --tax 10 \
  --currency USD \
  --due "Net 30" \
  --number "INV-2026-001" \
  --output invoice.pdf

Features

  • 📄 Clean, professional PDF layout
  • 💰 Multiple currencies (USD, EUR, GBP, CNY, JPY, AUD, etc.)
  • 📊 Automatic subtotal, tax, and total calculation
  • 🔢 Sequential invoice numbering
  • 🇨🇳 CJK text support (Chinese/Japanese/Korean company names and items)
  • 📝 Notes and payment terms field
  • 🖨️ Print-ready A4 format

Item Format

Each item is a pipe-separated string: description|quantity|unit_price

"Website Design|1|2000"
"Hosting (monthly)|12|50"
"Content Writing|20|75"

Dependencies

pip3 install reportlab

For CJK support, install CJK fonts:

sudo yum install -y google-noto-sans-cjk-ttc-fonts  # RHEL/CentOS
sudo apt install -y fonts-noto-cjk                    # Ubuntu/Debian

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 20:10 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

RSS Feed Digest

zacjiang
获取、过滤并汇总RSS/Atom订阅源,生成简洁的每日或每周摘要。支持多源订阅、关键词过滤、去重,并以Markdown格式输出。
★ 1 📥 2,194
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,767
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,973