ToolAssay

Generate a multi-page invoice PDF from JSON

Generate a multi-page invoice PDF from JSON: seller and buyer blocks, line items with per-line tax, discount, shipping, totals and amount due, with an optional payment QR block. Returns application/pdf, or format=json for base64 plus totals. Nothing is stored.

Answeringour last check, 2026-12-01
5 of 5checks answered this week
93 msmedian answer time
$0.01listed price per call
$0.01price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://mpp-biz.fmf-x402.workers.dev/invoice/pdf

CategoryEverything else
Provider hostmpp-biz.fmf-x402.workers.dev
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-12-01 valid payment request 402$0.01 93 ms
2026-11-30 valid payment request 402$0.01 29 ms
2026-11-29 valid payment request 402$0.01 94 ms
2026-11-28 valid payment request 402$0.01 38 ms
2026-11-27 valid payment request 402$0.01 107 ms

Example input (from the provider)

{
  "body": {
    "buyer": {
      "name": "Client Co"
    },
    "crypto": {
      "address": "0xB2070a4A874E7141E551890a3642bF7B24a1a148",
      "network": "base",
      "token": "USDC"
    },
    "currency": "USDC",
    "date": "2026-11-24",
    "due_date": "2026-12-08",
    "items": [
      {
        "description": "Smart contract audit",
        "quantity": 1,
        "unit_price": 2500
      },
      {
        "description": "Gas reimbursement",
        "quantity": 3,
        "unit_price": 12.5
      }
    ],
    "number": "INV-1042",
    "seller": {
      "email": "billing@acme.example",
      "name": "Acme Labs"
    },
    "tax_label": "HST 13%",
    "tax_rate": 13
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "accent": {
              "description": "hex colour",
              "type": "string"
            },
            "amount_paid": {
              "description": "amount_paid",
              "type": "number"
            },
            "buyer": {
              "description": "buyer (default: {\"name\":\"Client Co\"})",
              "type": "object"
            },
            "crypto": {
              "description": "{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) (default: {\"network\":\"base\",\"token\":\"USDC\",\"address\":\"0xB2070a4A874E7141E551",
              "type": "object"
            },
            "currency": {
              "default": "USDC",
              "description": "USD, CAD, EUR, USDC, ETH... (default: USDC)",
              "type": "string"
            },
            "date": {
              "default": "2026-11-24",
              "description": "date (default: 2026-11-24)",
              "type": "string"
            },
            "discount": {
              "description": "amount or \"10%\"",
              "type": "string"
            },
            "due_date": {
              "default": "2026-12-08",
              "description": "due_date (default: 2026-12-08)",
              "type": "string"
            },
            "footer": {
              "description": "footer",
              "type": "string"
            },
            "format": {
              "description": "json returns base64 + totals",
              "enum": [
                "pdf",
                "json"
              ],
              "type": "string"
            },
            "items": {
              "description": "[{description, quantity, unit_price, tax_rate?}] up to 200 (default: [{\"description\":\"Smart contract audit\",\"quantity\":1,\"unit_price\":2500},{\"description\":\"Gas reimbursement\",\"quantity\":3,\"unit_price\":12.5}])",
              "items": {
                "type": "object"
              },
              "type": "array"
            },
            "notes": {
              "description": "notes",
              "type": "string"
            },
            "number": {
              "default": "INV-1042",
              "description": "number (default: INV-1042)",
              "type": "string"
            },
            "page_size": {
              "description": "page_size",
              "enum": [
                "letter",
                "a4"
              ],
              "type": "string"
            },
            "paid": {
              "description": "{tx_hash, date, explorer_url}",
              "type": "object"
            },
            "seller": {
              "description": "{name, address, email, phone, tax_id, wallet} (default: {\"name\":\"Acme Labs\",\"email\":\"billing@acme.example\"})",
              "type": "object"
            },
            "shipping": {
              "description": "shipping",
              "type": "number"
            },
            "tax_label": {
              "default": "HST 13%",
              "description": "tax_label (default: HST 13%)",
              "type": "string"
            },
            "tax_rate": {
              "default": 13,
              "description": "percent, applied to items without their own tax_rate (default: 13)",
              "type": "number"
            },
            "terms": {
              "description": "terms",
              "type": "string"
            }
          },
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON