Home / MCP Tools / Invoice Generator
Live MCP toolfreelance

Invoice Generator

Total a freelance invoice from line items {description, qty, rate} with optional discount and tax: subtotal, discount, tax, total, amount due.

Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.

Parameters

ParameterTypeRequiredDescription
line_itemsarrayrequiredLine items: [{description, qty, rate}]
tax_pctnumberoptionalSales-tax percent applied to the discounted subtotal
discountnumberoptionalDiscount amount (flat USD, or percent if discount_is_pct)
discount_is_pctbooleanoptionalTreat discount as a percent of subtotal
amount_paidnumberoptionalAmount already paid, subtracted from total for amount_due

Call it over MCP (JSON-RPC 2.0)

curl -s https://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.

Related tools in Freelance

freelance
Freelancer Hourly Rate Calculator
Back the hourly rate a freelancer must charge from target take-home income, overhead, billable %, and tax buffer.