返回 Skill 列表
extension
分类: 开发与工程无需 API Key

commerce-invoices

管理发票和逾期账单。在运行`stateset-invoices`或核对发票状态时使用。

person作者: jakexiaohubgithub

Commerce Invoices

Create invoices, send to customers, and record payments.

How It Works

  1. Create an invoice with line items and terms.
  2. Send the invoice and track status.
  3. Record payments or partial payments.
  4. Report overdue invoices and aging.

Usage

  • CLI: stateset-invoices ...
  • Writes require --apply.
  • MCP tools: list_invoices, create_invoice, send_invoice, record_invoice_payment, get_overdue_invoices.

Output

{"status":"sent","invoice_id":"inv_123","total":5000}

Present Results to User

  • Invoice status, terms, and totals.
  • Payment records or overdue flags.
  • Next actions (reminders, collections).

Troubleshooting

  • Invoice already paid: show payment history.
  • Missing customer: create or link a customer record.

References

  • references/invoices-flow.md
  • /home/dom/stateset-icommerce/cli/.claude/agents/invoices.md