ClawHub Dev Invoice Generator
Overview
Specialized tool for Thomas to quickly generate invoices for freelance ClawHub skill dev work. Includes standard rates, Sask tax, professional formatting. Outputs ready-to-send PDF.
When to Use
- - Client requests quote/invoice for skill work
- Monthly billing summary for ongoing dev
- One-off fixed fee for skill publish/package
- Track billable hours on projects
Standard Rates (CAD)
| Service | Rate |
|---|
| Skill Initialization & Basic SKILL.md | $500 fixed |
| Hourly Development/Editing |
$150/hr |
| ClawHub Publishing & Validation | $100 fixed |
| Testing/Debugging | $75/hr |
| Expenses (tools, API credits) | Cost + 15% |
| Rush Fee (<48h) | +50% |
Quick Start Workflow
- 1. Collect Data:
- Invoice # (e.g. 2026-001)
- Date (YYYY-MM-DD), Due (30 days later)
- Client: name, company, address, email
- Your details: Thomas [Lastname], Clavet SK, thomas@example.com
- Line items: desc, hours/qty, rate, amount = qty*rate
- 2. Calculate Totals:
- Subtotal = sum amounts
- GST = subtotal * 0.05
- Total = subtotal + GST
- 3. Generate:
- Use
scripts/generate_invoice.py client-data.json for PDF
- Or manually: copy
assets/invoice-template.html, edit, exec pandoc to PDF
- 4. Send: Attach PDF, reference invoice #.
Resources
scripts/generate_invoice.py
Automates HTML+PDF from JSON input. Run: INLINECODE2
Input JSON example:
CODEBLOCK0
references/sasktaxguidelines.md
Sask GST details, terms.
assets/sample-input.json
HTML template for manual edits. Style: clean, professional (Arial, tables).
ClawHub 开发发票生成器
概述
专为Thomas设计的工具,用于快速生成自由职业ClawHub技能开发工作的发票。包含标准费率、萨省税项、专业格式。输出可直接发送的PDF文件。
使用场景
- - 客户要求提供技能工作的报价/发票
- 持续开发项目的月度账单汇总
- 技能发布/打包的一次性固定费用
- 跟踪项目的计费工时
标准费率(加元)
| 服务项目 | 费率 |
|---|
| 技能初始化及基础SKILL.md | 固定$500 |
| 按小时开发/编辑 |
$150/小时 |
| ClawHub发布与验证 | 固定$100 |
| 测试/调试 | $75/小时 |
| 费用(工具、API点数) | 成本 + 15% |
| 加急费(<48小时) | +50% |
快速启动流程
- 1. 收集数据:
- 发票编号(例如 2026-001)
- 日期(YYYY-MM-DD),到期日(30天后)
- 客户:姓名、公司、地址、电子邮件
- 您的信息:Thomas [姓氏]、Clavet SK、thomas@example.com
- 明细项目:描述、小时数/数量、费率、金额 = 数量×费率
- 2. 计算总额:
- 小计 = 各项金额之和
- GST = 小计 × 0.05
- 总计 = 小计 + GST
- 3. 生成:
- 使用 scripts/generate_invoice.py client-data.json 生成PDF
- 或手动操作:复制 assets/invoice-template.html,编辑,执行pandoc转换为PDF
- 4. 发送:附上PDF,注明发票编号。
资源
scripts/generate_invoice.py
根据JSON输入自动生成HTML+PDF。运行:python scripts/generate_invoice.py input.json
输入JSON示例:
json
{
invoice_num: 2026-001,
date: 2026-03-29,
due_date: 2026-04-28,
client: {
name: 客户公司,
address: 123街, 城市SK,
email: client@example.com
},
items: [
{desc: 技能初始化:weather-forecast, hours: 4, rate: 150},
{desc: ClawHub发布, fixed: 100}
],
expenses: 50
}
references/sasktaxguidelines.md
萨省GST详情、条款。
assets/sample-input.json
用于手动编辑的HTML模板。风格:简洁、专业(Arial字体、表格)。