Executing template

Invoice, sales tax & income tax

Generate a client invoice, break out the sales tax on its subtotal, and estimate the income tax that revenue would attract — the subtotal threads into both tax calculations.

freelance 3 steps 3 live tools

The chain

  1. Generate the client invoice → invoice-generator
  2. Sales tax on the invoice subtotal → sales-tax
  3. Income tax on the revenue — income = the subtotal → tax-bracket

Run it

Fill the inputs and press Run — every step executes live and the JSON chain (each step's tool, args and result) appears here.

Or call it as an agent

curl -s https://wingmanprotocol.com/agents/templates/invoice-with-tax/run \
  -H 'Content-Type: application/json' \
  -d '{"line_items": [{"description": "Design retainer", "qty": 40, "rate": 120}, {"description": "Assets", "qty": 1, "rate": 800}], "tax_rate_pct": 8.25, "brackets": [{"rate": 0.1, "up_to": 11000}, {"rate": 0.12, "up_to": 44725}, {"rate": 0.22, "up_to": 95375}, {"rate": 0.24, "up_to": null}]}'