Invoice Generator
Total a freelance invoice from line items {description, qty, rate} with optional discount and tax: subtotal, discount, tax, total, amount due.
A free key adds 10,000 calls a month, no card: /pricing, which also says whether the calculators are free or priced right now.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
line_items | array | required | Line items: [{description, qty, rate}] |
tax_pct | number | optional | Sales-tax percent applied to the discounted subtotal |
discount | number | optional | Discount amount (flat USD, or percent if discount_is_pct) |
discount_is_pct | boolean | optional | Treat discount as a percent of subtotal |
amount_paid | number | optional | Amount already paid, subtracted from total for amount_due |
Call it over MCP (JSON-RPC 2.0)
curl -s https://agent.wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "invoice_generator", "arguments": {"line_items": []}}}'Or plain HTTP
curl -s https://wingmanprotocol.com/tools/invoice_generator \
-H 'Content-Type: application/json' \
-d '{"line_items": []}'Try it live
Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/invoice_generator from your browser.
This call needs a key or credits. The 402 response below says what it accepts. A free key adds 10,000 calls a month, no card, no crypto: get one at /pricing, which also has the current prices.