finance_invoice_calc
Invoice calculator — Exact invoice math in integer cents. Give items= as description|qty|unit_price (add |n for a non-taxable line) separated by ;, plus optional discount= (amount or percent like 10%), tax_rate= percent, shipping=, tax_shipping=yes, paid=, currency=, date= (YYYY-MM-DD, default today) and terms= (net 30, 2/10 net 30, net eom, due on receipt). Returns line amounts, subtotal, discount allocated to taxable lines, tax, total, balance due, due date (weekend flag), early-payment discount with the annualized cost of skipping it, a math check and a markdown table. Price: $0.002 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"items": "<items>"
},
"name": "finance_invoice_calc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | e.g. Design work|10|85;Hosting|1|240|n |