ALL AI Forms / API tools

Make an invoice or quote PDF from line items

Send line items, tax and buyer/seller details. Math is done server-side in integer cents and returned as JSON next to a PDF and a Word file. An optional expected_total fails the call (free) if it does not match.

Who it is for: freelancers, small shops and agents that bill customers.

Price

$0.02 per successful call (20 credits; 1 credit = $0.001). Failed or empty calls are free. Credits come in one-time packs, no subscription: Starter $0.99 = 1,200 credits.

Buy the $0.99 Starter packAll 10 tools and samples

Try it free (no key)

3 free trial calls a day per network, shared across paid tools. Trial documents are marked PREVIEW.

curl -s -X POST https://allai-api.allaihq.workers.dev/v1/tools/invoice_quote_pdf \
  -H 'content-type: application/json' \
  -d '{"kind":"invoice","number":"SAMPLE-0001","seller":{"name":"Example Co"},"buyer":{"name":"Fictional Customer LLC"},"items":[{"description":"Website design","quantity":10,"unit_price":85}],"tax_rate":8,"format":"pdf"}'

Call it from an MCP client

claude mcp add --transport http allai-api https://allai-api.allaihq.workers.dev/mcp
# then ask your agent to call invoice_quote_pdf (listed on the default endpoint)

After you buy

Add -H "Authorization: Bearer ak_live_YOUR_KEY" to the request, or the same header in your MCP client config. Agents can also pay per call in USDC with x402.

Example output

A real output of this tool is the sample invoice PDF (fictional data, free-trial PREVIEW copy). The paid copy has no PREVIEW banner.

Live schema: https://allai-api.allaihq.workers.dev/v1/tools. Docs: https://allai-api.allaihq.workers.dev.

Operated by All AI LLC. Documents are drafts built from the data you supply, not legal, tax, medical or financial advice. Contact ops@allaiforms.com. Terms ยท Privacy