← 返回
未分类

Agentic Invoice Skill

Generate branded invoice and billing-document PDFs for agentic development services, including deposits, milestones, retainers, change orders, pass-through e...
生成品牌化发票和计费文档PDF,用于代理开发服务,包括预付款、里程碑、保留金、变更单、过账费用...
completetech
未分类 clawhub v1.0.10 2 版本 100000 Key: 无需
★ 0
Stars
📥 369
下载
💾 0
安装
2
版本
#latest

概述

Agentic Invoice Skill

At a Glance

What it createsBest forOutput
---------
Invoices and billing documentsDeposits, milestones, retainers, support, change orders, credits, receipts, refunds, and closeoutBranded PDF, Markdown, optional PNG preview

This skill turns verified billing events, line items, contract references, credits, payment terms, and approval facts into clean CompleteTech-style invoice artifacts. It is local-only: it creates documents and does not issue invoices, collect payment, or call accounting systems.

Included Billing Documents

CategoryDocuments
------
Engagement startPro forma, deposit, pilot, discovery, and contract-deposit invoices.
Delivery milestonesMilestone, prototype, evaluation-work, handoff, final-balance, and time-and-materials invoices.
Ongoing servicesRetainer, recurring support, overage, expansion, training, advisory, and pass-through invoices.
AdjustmentsCredit memos, refund memos, corrected invoices, void notices, installment requests, and paid-in-full receipts.

Purpose

UseScope
------
Billing artifact generationCreate practical invoice documents for agentic development services from verified billing facts.
Lifecycle coverageUpfront deposits, scoped pilots, discovery, implementation, evaluation, change orders, retainers, support, expenses, credits, late fees, refunds, and closeout.
Operating boundaryProduce invoice documents only; payment collection, tax decisions, ledger posting, and collections stay with the accounting system or reviewer.

System Boundary

BoundaryUse
------
This skillBilling document drafting and invoice-event selection.
agentic-proposal-skillPricing rationale or commercial scope before approval.
agentic-contract-skillAgreement terms and payment obligations.
agentic-delivery-skillMilestone evidence, delivery records, and acceptance context.
agentic-email-skillThe message that accompanies an invoice.
Accounting system or reviewerFinal tax, payment, ledger, and collection decisions.

Core Workflow

StepAction
------
1Identify the invoice event: estimate, deposit, milestone, retainer, time and materials, change order, expense, final invoice, credit, late fee, refund, or renewal.
2Gather the required billing facts.
3Use references/invoice-positioning.md for service language and risk boundaries.
4Use references/use-case-decision-table.md to choose the right invoice type.
5Use references/invoice-lifecycle.md for end-to-end billing flow and gates.
6Use references/invoice-catalog.md for the near-exhaustive invoice template library.
7Draft clearly and conservatively; do not invent tax, banking, contract, or accounting facts.
Required FactExamples
------
PartiesProvider, client, billing contact, and legal entity names.
Invoice detailsInvoice number, issue date, due date, terms, currency, project name, billing period, and notes.
Commercial referenceContract, SOW, purchase order, milestone, or delivery evidence.
AmountsLine items, taxes, discounts, credits, previous payments, and amount due.
Payment handlingPayment instructions, accounting review status, and collection constraints.

Invoice Selection Guide

Choose by the actual commercial trigger first.

Trigger GroupUse These Templates
------
Pre-approval and depositspro-forma-invoice, deposit-request-invoice, pilot-deposit-invoice, discovery-assessment-invoice, contract-deposit-invoice
Delivery and closeoutmilestone-invoice, prototype-delivery-invoice, evaluation-work-invoice, handoff-invoice, final-balance-invoice, holdback-release-invoice
Ongoing worktime-and-materials-invoice, monthly-retainer-invoice, recurring-support-invoice, retainer-renewal-invoice
Scope changeschange-order-invoice, rush-fee-invoice, integration-add-on-invoice, expansion-workflow-invoice, training-invoice, advisory-invoice
Pass-through and expensesusage-pass-through-invoice, expense-reimbursement-invoice, support-overage-invoice
Collections and payment statuslate-fee-invoice, installment-invoice, partial-payment-receipt-invoice, paid-in-full-receipt
Adjustmentsprepayment-credit-invoice, discount-adjustment-invoice, corrected-invoice, termination-invoice, refund-memo, credit-memo, tax-only-invoice, voided-invoice-notice
Selection RuleGuidance
------
Several templates fitChoose the invoice closest to the actual billing trigger.
Delivery happened before acceptanceIf the contract bills on milestone acceptance, use milestone-invoice, not prototype-delivery-invoice.
Facts are incompleteKeep missing values as TBD and do not invent payment, tax, PO, or banking details.

Quality Rules

RuleRequirement
------
Amounts and termsUse exact client-provided amounts and terms.
Line itemsKeep line items specific enough for approval but not cluttered.
ReferencesTie invoices to contract, SOW, change order, or accepted milestone references when available.
SeparationSeparate professional services, third-party pass-throughs, expenses, taxes, credits, and late fees.
UnknownsMark drafts as drafts if payment details or tax handling are unknown.
Advice boundaryDo not include legal, tax, or accounting advice unless the user specifically asks for explanatory notes.
Fabrication guardrailNever fabricate bank accounts, tax IDs, purchase order numbers, tax rates, or compliance status.

Resource Guide

ResourceRole
------
references/invoice-positioning.mdAgentic development service wording, line-item language, and invoice boundaries.
references/use-case-decision-table.mdInvoice-type selection for a specific billing event.
references/invoice-lifecycle.mdEnd-to-end invoicing workflows, approval gates, and follow-up steps.
references/invoice-catalog.mdNear-exhaustive invoice template library.
references/template-index.jsonMachine-readable template metadata used by the renderer.
scripts/render_invoice.pyLists invoice templates or renders a draft with placeholders.

Runtime Permissions

AreaRuntime behavior
------
ExecutionRuns local Python entry points: scripts/render_invoice.py and scripts/render_pdf.py.
ReadsBundled templates, references, examples, assets/logo.png, and user-provided Markdown or invoice variables.
WritesOnly user-selected --out, --png, --markdown-out, or default output/ artifact paths.
NetworkNot required and not used for invoice drafting or document rendering.
Not IncludedBoundary
------
Payment operationsDoes not collect payment, issue payment links, post to ledgers, or call accounting systems.
CredentialsDoes not read banking credentials, accounting credentials, API keys, or CRM tokens.
System changesDoes not create persistence, escalate privileges, run background services, or perform destructive file operations.

Renderer

Use the local renderer for repeatable invoice drafts, template discovery, and branded artifacts:

python3 scripts/render_invoice.py --list
python3 scripts/render_invoice.py --stage milestone --list
python3 scripts/render_invoice.py --template pilot-deposit-invoice --var client_name=Acme --var invoice_number=INV-1001 --var amount_due=6000
NeedCommand Pattern
------
List all templatespython3 scripts/render_invoice.py --list
List a stagepython3 scripts/render_invoice.py --stage milestone --list
Render a templatepython3 scripts/render_invoice.py --template pilot-deposit-invoice --var key=value
Production polishReplace every placeholder with verified invoice, contract, tax, payment, and client facts.

Rendering to a Branded PDF

Artifacts from this skill are delivered as branded CompleteTech LLC PDF documents. The renderer can emit PDF, Markdown, and optional PNG preview in one local command:

pip install -r requirements.txt
python3 scripts/render_invoice.py --template milestone-invoice \
  --out artifact.pdf --png artifact.png \
  --title "Invoice INV-2026-0461" --doc-type "MILESTONE INVOICE" \
  --meta "INVOICE NO.=INV-2026-0461" --meta "DUE=2026-06-23" --no-cover \
  --var client_name="Client Name" --var workflow="support triage"
Output NeedUse
------
Branded PDF--out artifact.pdf
PNG preview--png artifact.png
Markdown source--markdown-out artifact.md
Markdown only--no-pdf
Single-document invoice--no-cover
Existing billing Markdown to PDFpython3 scripts/render_pdf.py --markdown invoice.md --out invoice.pdf --logo assets/logo.png --title "Invoice INV-2026-0461" --doc-type "MILESTONE INVOICE"
Rendering SupportDetails
------
Markdown subset#, ##, ###, paragraphs, - bullets, tables, > callouts, bold, and [PAGE_BREAK].
Required packagereportlab==4.5.1 for PDF rendering.
Optional preview packagespypdfium2==5.8.0 and pillow==12.2.0 for --png.
Example outputSee assets/examples/ for rendered Markdown, PDF, and PNG artifacts.

Network Boundary

This skill is local-only. It does not include outbound network helpers, callbacks, or any helper that posts invoice run metadata to an external service.

版本历史

共 2 个版本

  • v1.0.10 当前
    2026-05-28 13:28
  • v1.0.1
    2026-05-26 23:51 安全 安全

安全检测

腾讯云安全 (Keen)

队列中

腾讯云安全 (Sanbu)

队列中

🔗 相关推荐

Agentic Email Skill

completetech
为代理开发服务创建精炼、可供审阅的销售与生命周期邮件序列,并导出为品牌PDF文件,用于外联推广。
★ 0 📥 366

Agentic Delivery Skill

completetech
为已批准的代理开发项目创建CompleteTech LLC的交付执行文档,包括启动议程、访问检查清单、项目计划...
★ 0 📥 363

Agentic Contract Skill

completetech
从已批准的提供商、客户、项目、商业和治理条款生成品牌化的 CompleteTech 代理开发服务协议包。使用...
★ 0 📥 372