receipt_pdf
Receipt PDF (PAID stamp, tx hash) ($0.01 per call, paid via MPP on Tempo). Generate a receipt PDF with a PAID stamp, totals, amount paid and balance, plus an on-chain payment record (tx hash, date, explorer link) and the crypto payment details. Same JSON as /invoice/pdf. Returns application/pdf (format=json for base64). HTTP POST https://mpp-biz.fmf-x402.workers.dev/receipt/pdf. This MCP wrapper does not settle payment by itself; call with an MPP Payment Authorization header, or use mppx against the HTTP route.
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": "receipt_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| paid | No | {tx_hash, date, explorer_url} | |
| buyer | No | ||
| items | Yes | [{description, quantity, unit_price, tax_rate?}] up to 200 | |
| notes | No | ||
| terms | No | ||
| accent | No | hex colour | |
| crypto | No | {network: base|ethereum|arbitrum|optimism|polygon|solana|bitcoin, token: USDC|USDT|ETH|BTC, address, amount?, chain_id?, token_address?, decimals?, memo?} adds a pay-with-crypto block + QR (EIP-681 / solana: / bitcoin: URI) | |
| footer | No | ||
| format | No | json returns base64 + totals | |
| number | No | ||
| seller | No | {name, address, email, phone, tax_id, wallet} | |
| currency | No | USD, CAD, EUR, USDC, ETH... | |
| discount | No | amount or "10%" | |
| due_date | No | ||
| shipping | No | ||
| tax_rate | No | percent, applied to items without their own tax_rate | |
| page_size | No | ||
| tax_label | No | ||
| amount_paid | No |