Pressmark
REST API & MCP Automation

PDF Invoice API, Stripe QR Payment Links & MCP Automation

Compile print-ready vector PDFs in milliseconds from a single JSON request or connect AI coding assistants to Pressmark over Streamable HTTP MCP with zero API keys required for guest calls.

Generate an Invoice PDF with a Stripe Payment QR Code

Pass payment_link and payment_qr_code: true in the request body to render a scannable vector QR block directly on the invoice PDF.

xh POST https://pressmark.dev/api/v1/generate?format=pdf \
  doc_type=invoice \
  doc_number=INV-2026-104 \
  from:='{"name":"Northstar Electrical LLC"}' \
  to:='{"name":"Summit Property Group"}' \
  payment_link="https://buy.stripe.com/example" \
  payment_qr_code:=true \
  items:='[{"description":"Panel upgrade","quantity":1,"unit_price":1450}]' \
  > invoice.pdf

Convert Estimates to Invoices and Paid Receipts

Use POST /api/v1/lifecycle/convert and POST /api/v1/lifecycle/pay—or the matching MCP tools convert_document and record_payment—to advance an estimate into an invoice, apply partial payments, or issue a paid receipt.