Professional invoice management entirely from the command line. All data stored locally at ~/.invoice-agent/data.json.
# Configure your business defaults
python3 SKILL_DIR/scripts/invoice.py config \
--business-name "Your Business" \
--business-email "you@business.com" \
--currency USD \
--tax-rate 0
User: "Create an invoice for Acme Corp for website design $2500 and SEO setup $500, due in 30 days"
python3 SKILL_DIR/scripts/invoice.py create \
--client "Acme Corp" \
--items "Website Design|1|2500" "SEO Setup|1|500" \
--due-days 30
# Export first
python3 SKILL_DIR/scripts/invoice.py export --id INV-XXX
# Generate HTML
python3 SKILL_DIR/scripts/generate_invoice.py ~/.invoice-agent/invoices/INV-XXX.json invoice.html
python3 SKILL_DIR/scripts/invoice.py overdue
python3 SKILL_DIR/scripts/reminders.py
python3 SKILL_DIR/scripts/invoice.py summary --period month
| Command | Purpose | ||
|---|---|---|---|
| --------- | --------- | ||
| `create --client NAME --items "desc\ | qty\ | price"` | New invoice |
list [--status STATUS] | List/filter invoices | ||
show --id INV-XXX | Full invoice details | ||
update --id INV-XXX --status paid | Mark as paid/sent | ||
summary --period month | Revenue report | ||
overdue | List overdue invoices | ||
reminders.py | Generate reminder emails | ||
generate_invoice.py | HTML invoice from JSON | ||
config [--business-name NAME ...] | Set defaults |
Items use pipe-separated format: "Description|Quantity|UnitPrice"
"Website Design|1|2500" → 1 × $2,500 = $2,500"Hosting|3|29.99" → 3 × $29.99 = $89.97"Consulting|2|150" → 2 × $150 = $300Auto-escalation based on days overdue:
references/guide.mdassets/invoice-template.html for custom brandingBRAND_COLOR_DEFAULT in scripts/generate_invoice.py共 1 个版本