360 Secure SkillHub
360 安全技能中心

Invoice Generator

核心功能:支持生成发票、报价单、收据三类专业账单,自动计算小计、税费、总金额,可自定义账单信息。典型场景:企业给客户开账单、提供报价、记录收款时使用。需按指定结构输入双方信息、项目明细等数据,输出支持PDF、DOCX、纯文本三种格式,还可跟踪付款情况。

di5cip1e
di5cip1e
热度 37.76
最近更新 2026-05-11 17:41:04
分类:效率依赖:纯提示词应用场景:财务 / 模板

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add director-invoice-generator
Metadata
name
invoice-generator
description
Create professional invoices, quotes, and billing documents. Use when user wants to (1) generate an invoice, (2) create a quote, (3) make a receipt, (4) track payments, or (5) customize billing documents. Supports PDF, DOCX, and plain text output.

Invoice Generator

Create professional billing documents quickly.

Quick Start

  1. Gather details - Client info, items, amounts, dates
  2. Select template - Invoice, quote, or receipt
  3. Generate - Output to PDF, DOCX, or text
  4. Deliver - Send to client or download

Input Data Structure

invoice = {
    "type": "invoice",  # invoice, quote, receipt
    "number": "INV-2026-001",
    "date": "2026-04-07",
    "due_date": "2026-04-21",
    "from": {
        "name": "Your Company",
        "address": "123 Main St",
        "email": "billing@company.com"
    },
    "to": {
        "name": "Client Name",
        "company": "Client Company",
        "address": "456 Business Ave",
        "email": "ap@client.com"
    },
    "items": [
        {"description": "Service Name", "qty": 10, "rate": 150},
        {"description": "Materials", "qty": 1, "rate": 500}
    ],
    "tax_rate": 0.08,  # 8%
    "notes": "Payment due within 14 days"
}

Calculations

Auto-calculate:

  • Subtotal: sum(qty × rate) for each item
  • Tax: subtotal × tax_rate
  • Total: subtotal + tax

Output Templates

Invoice

INVOICE #INV-2026-001
Date: April 7, 2026 | Due: April 21, 2026

From: Your Company
To: Client Company

Item                    Qty     Rate      Amount
-------------------------------------------
Consulting              10      $150      $1,500
Materials               1       $500      $500
-------------------------------------------
                        Subtotal:         $2,000
                        Tax (8%):         $160
                        TOTAL:            $2,160

Notes: Payment due within 14 days

Quote

Same format, but header: "QUOTE #QT-2026-001" + "Valid for 30 days"

Receipt

Header: "RECEIPT #RCP-2026-001" + "Paid: [date]"

Best Practices

  • Use sequential invoice numbers (INV-2026-001, INV-2026-002...)
  • Include payment terms in notes
  • Set due dates 14-30 days out for invoices
  • Track outstanding amounts