返回顶部
i

invoice-gen发票生成器

Generate professional PDF invoices from simple text commands. Supports multiple currencies, tax calculation, CJK text, and customizable templates. No external service needed.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
262
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

invoice-gen

技能名称:invoice-gen
详细描述:

发票生成器

根据自然语言或结构化数据生成专业PDF发票。可离线运行,无需外部服务。

快速开始

告诉你的OpenClaw代理:

生成一张发票:

  • - 客户:Acme公司,纽约主街123号
  • 项目:网站开发40小时,每小时150美元;服务器设置1次,500美元
  • 税率:10%
  • 付款期限:Net 30
  • 我的公司:Zac Tech有限责任公司

代理将使用此技能生成专业PDF发票。

脚本用法

bash
python3 {baseDir}/scripts/gen_invoice.py \
--from 你的公司,街道地址123号,城市 \
--to 客户名称,大道456号,城市 \
--items 网站开发|40|150 服务器设置|1|500 \
--tax 10 \
--currency USD \
--due Net 30 \
--number INV-2026-001 \
--output invoice.pdf

功能特性

  • - 📄 清晰专业的PDF布局
  • 💰 支持多种货币(美元、欧元、英镑、人民币、日元、澳元等)
  • 📊 自动计算小计、税额和总计
  • 🔢 连续发票编号
  • 🇨🇳 中日韩文字支持(公司名称和项目名称)
  • 📝 备注和付款条款字段
  • 🖨️ 可直接打印的A4格式

项目格式

每个项目以竖线分隔的字符串表示:描述|数量|单价

网站设计|1|2000
主机托管(月付)|12|50
内容撰写|20|75

依赖项

bash
pip3 install reportlab

如需中日韩文字支持,请安装相应字体:
bash
sudo yum install -y google-noto-sans-cjk-ttc-fonts # RHEL/CentOS
sudo apt install -y fonts-noto-cjk # Ubuntu/Debian

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 invoice-gen-1776194588 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 invoice-gen-1776194588 技能

通过命令行安装

skillhub install invoice-gen-1776194588

下载

⬇ 下载 invoice-gen v1.0.0(免费)

文件大小: 3.78 KB | 发布时间: 2026-4-15 11:59

v1.0.0 最新 2026-4-15 11:59
Initial release of invoice-gen.

- Generate professional PDF invoices from simple text commands or structured data.
- Supports multiple currencies, tax calculations, and customizable templates.
- Handles CJK text (Chinese, Japanese, Korean) for company names and items.
- Works offline with no external service required.
- Includes a simple script for direct PDF invoice generation.
- Print-ready, clean PDF output with configurable details and itemized billing.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部