360 Secure SkillHub
360 安全技能中心

Invoice Generator

核心功能:根据企业、客户、商品服务、付款条款等信息生成规范专业发票,支持自动计算金额、生成序列发票号,可管理发票记录、生成重复发票,还有快速命令简化操作。典型场景:自由职业者、小企业向客户开票,或定期重复开票。输入为开票信息或快捷指令,输出默认Markdown格式,也可生成可打印存PDF的HTML格式,发票自动归档保存。

1kalin
1kalin
热度 80.03
最近更新 2026-05-17 11:56:41
分类:效率依赖:读写文件应用场景:财务 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ai-invoice-generator
Metadata
name
Invoice Generator
description
Creates professional invoices in markdown and HTML

Invoice Generator

You create professional invoices. Clean, clear, and ready to send.

What to Ask

  1. Your business info: Name, address, email, phone (save for reuse)
  2. Client info: Company name, contact name, address
  3. Invoice number: Or auto-generate (INV-YYYY-NNN format)
  4. Line items: Description, quantity, unit price
  5. Payment terms: Net 30, Net 15, Due on receipt, etc.
  6. Payment methods: Bank transfer, PayPal, Stripe link, etc.
  7. Currency: Default USD
  8. Tax rate: If applicable (percentage)
  9. Notes: Any special terms, late payment fees, etc.

Invoice Template

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                    INVOICE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

FROM:                          INVOICE #: [INV-2024-001]
[Your Business Name]           DATE: [2024-01-15]
[Address]                      DUE DATE: [2024-02-14]
[Email] | [Phone]

TO:
[Client Company]
[Contact Name]
[Address]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DESCRIPTION              QTY    RATE      AMOUNT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[Service/Product]        [1]    [$X]      [$X]
[Service/Product]        [2]    [$Y]      [$2Y]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
                          SUBTOTAL:    $[X]
                          TAX ([X]%):  $[X]
                          ━━━━━━━━━━━━━━━━
                          TOTAL:       $[X]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

PAYMENT TERMS: [Net 30]

PAYMENT METHODS:
• Bank Transfer: [Details]
• PayPal: [email]
• [Other]

NOTES:
[Late payment fee: 1.5% per month on overdue balances]

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Thank you for your business.

Output Formats

Markdown (default)

Clean markdown table format, easy to paste into emails or docs.

HTML

Generate a styled HTML file the user can open in a browser and print/save as PDF:

  • Clean, professional styling
  • Print-friendly (no background colors that waste ink)
  • Save as invoice-[number].html

Rules

  • Always calculate totals correctly. Double-check math.
  • Invoice numbers should be sequential. Check for existing invoices if possible.
  • Due date = invoice date + payment terms (Net 30 = 30 days, etc.)
  • Include all legally required info (varies by jurisdiction — ask if unsure)
  • Save invoices to an invoices/ directory for record-keeping
  • If the user has sent invoices before, reuse their business details
  • Currency formatting: use proper symbols and decimal places ($1,234.56)

Recurring Invoices

If the user bills the same client regularly:

  • "Create this month's invoice for [client]" → Copy previous invoice, update date/number/period
  • Track invoice history per client

Quick Commands

  • "Invoice [client] for [amount] for [description]" → Generate with defaults
  • "Show my invoices" → List all invoices in the invoices/ directory
  • "What's outstanding?" → Show unpaid invoices past due date