← 返回
未分类 中文

Invoice Generator

Generate a professional invoice from natural language or structured input. USE WHEN: - User asks to create an invoice, bill, or payment request - User provid...
根据自然语言或结构化输入生成专业发票。使用场景:用户请求创建发票、账单或付款请求时。
valenciajenkins97-create valenciajenkins97-create 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 146
下载
💾 0
安装
1
版本
#latest

概述

Invoice Generator

Create professional invoices from text descriptions or structured data.

Workflow

  1. Collect invoice details from the user (or parse from prompt):
    • Sender (business name, address, email)
    • Recipient (client name, address, email)
    • Line items (description, quantity, unit price)
    • Invoice number, date, due date
    • Payment terms/methods
    • Tax rate (optional)
    • Notes (optional)
  2. Read the template at assets/invoice-template.html
  3. Replace placeholders with actual data, calculate totals
  4. Save as .html file — user can open in browser and Print → PDF

Calculations

  • Subtotal = sum of (quantity × unit price) for each line item
  • Tax = subtotal × tax rate
  • Total = subtotal + tax
  • Always format currency with 2 decimal places

Template Placeholders

PlaceholderDescription
------
{{INVOICE_NUMBER}}Unique invoice ID
{{INVOICE_DATE}}Issue date
{{DUE_DATE}}Payment due date
{{SENDER_*}}Sender name, address, email, phone
{{CLIENT_*}}Client name, address, email
{{LINE_ITEMS}}HTML table rows for items
{{SUBTOTAL}}Pre-tax total
{{TAX_RATE}}Tax percentage
{{TAX_AMOUNT}}Calculated tax
{{TOTAL}}Final amount due
{{PAYMENT_TERMS}}Payment instructions
{{NOTES}}Additional notes

Defaults

  • Currency: USD (configurable)
  • Tax: 0% unless specified
  • Due date: 30 days from invoice date unless specified
  • Invoice number: auto-increment or user-specified

Common Mistakes to Avoid

  • Don't guess line items — if the user is vague ("invoice them for the work"), ask for specifics (hours, rate, deliverables)
  • Don't invent sender details — use what the user provides or ask
  • Don't skip the math — always verify subtotal + tax = total. Rounding errors on invoices are unprofessional
  • Don't add fake payment links — only include payment methods the user explicitly provides

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-12 06:04 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

business-ops

Stripe

byungkyu
Stripe API 集成,支持托管 OAuth,实现对客户、订阅、发票、产品、价格和支付的可写金融集成。
★ 27 📥 26,298
content-creation

SEO Audit

valenciajenkins97-create
审核网页SEO并生成评分报告,包含可操作的修复建议。使用场景:用户提供URL并要求检查/审核/审查其SEO时 - 用户询问...
★ 0 📥 1,295
business-ops

Trello

steipete
使用 Trello REST API 管理看板、列表和卡片
★ 162 📥 41,565