PaidPilot Invoice API

active

Invoice tools for agents, paid per call in USDC over x402: invoice PDF, payment reminder drafts, late-fee and payment-terms math, timesheet to invoice. No accounts, no API keys. Also an MCP server at /mcp.

MediaBasex402 v2exactpaidpilot.io ↗︎
Transactions · 30d
0
Volume · 30d
$0.00
Unique buyers · 30d
0
Uptime · 30d
100.0%
Latency p50
326ms
Reported calls · 30d
19

Endpoints (12 live)

  • POST /v1/late-fee — Calculate a late fee on an overdue invoice. $0.01 USDC on Base per call. Flat, monthly % or annual %, simple or compounding, with grace days. Returns days late, fee, new total and a paste-ready invoice line. Don't use this for legal advice; state caps are not looked up. (0.01 USDC on Base)
  • POST /v1/reminder-draft — Write a payment reminder email for an unpaid invoice (friendly, firm or final notice). $0.01 USDC on Base per call. Returns subject and plain-text body, days overdue, the recommended tone and the next step. Template-based and deterministic. Don't use this for sending email; it only drafts. (0.01 USDC on Base)
  • POST /v1/receivables-report — Analyze accounts receivable aging from an invoice CSV or JSON export. $1 USDC on Base per call. Takes up to 1000 open invoices (QuickBooks, Xero, FreshBooks, Wave, Stripe or custom). Returns an A-F health grade, 0-100 score, aging buckets, overdue %, DSO and a collection priority list. Don't use this for a single invoice; use /v1/reminder-draft or /v1/late-fee. (1 USDC on Base)
  • POST /v1/invoice-from-timesheet — Turn timesheet entries into invoice JSON. $0.02 USDC on Base per call. Hours x rate, optional rounding, grouping, expenses, tax and terms become a validated invoice JSON with totals, ready for /v1/invoice.pdf. Don't use this for the PDF itself; send the result to /v1/invoice.pdf. (0.02 USDC on Base)
  • POST /v1/payment-terms — Work out an invoice due date and early-pay discount from terms like Net 30 or 2/10 Net 30. $0.01 USDC on Base per call. Parses Net N, D/N Net M, Due on receipt, EOM and Net N EOM. Returns due date, days until due or overdue, discount and deadline, the annualized cost of skipping it and reminder dates. Don't use this for late fees; use /v1/late-fee. (0.01 USDC on Base)
  • POST /v1/invoice.pdf — Generate an invoice PDF from JSON. $0.02 USDC on Base per call. Computes line items, tax, discount and totals server-side; 12 currencies; multi-page. Validate free first at POST /v1/invoice/validate. Don't use this for sending the invoice; it only returns the PDF. (0.02 USDC on Base)
  • GET /v1/receivables-report (1 USDC on Base)
  • GET /v1/invoice-from-timesheet (0.02 USDC on Base)
  • GET /v1/invoice.pdf (0.02 USDC on Base)
  • GET /v1/reminder-draft (0.01 USDC on Base)
  • GET /v1/late-fee (0.01 USDC on Base)
  • GET /v1/payment-terms (0.01 USDC on Base)

MCP tools (7)

paidpilot-invoice-tools https://api.paidpilot.io/mcp

  • invoice_from_timesheet — Turn time entries (hours x rate, with optional rounding, grouping by task and expenses) into a validated invoice JSON with totals, ready for POST /v1/invoice.pdf. Use validate_invoice (free) instead if you already have an invoice. Pure calculation: no network request, nothing is sent or stored. Costs $0.02 USDC per call via x402 (payment goes in _meta["x402/payment"]); invalid input returns an error and is not charged.
  • late_fee_calc — Calculate the late fee on one overdue invoice: flat fee, monthly % or annual %, simple or compounding, with optional grace days. Returns days late, the fee, the new total and a line to paste on the invoice. Use payment_terms_check instead to work out when an invoice is due. Not legal advice; it does not look up state caps. Pure calculation: no network request, nothing is sent or stored. Costs $0.01 USDC per call via x402 (payment goes in _meta["x402/payment"]); invalid input returns an error and is not charged.
  • payment_reminder_draft — Draft a payment reminder email for one unpaid invoice in a friendly, firm or final-notice tone. Returns a subject, plain-text body, days overdue and a suggested next step. Use late_fee_calc first if you want the fee amount quoted in the email. Draft only: nothing is sent. Pure calculation: no network request, nothing is sent or stored. Costs $0.01 USDC per call via x402 (payment goes in _meta["x402/payment"]); invalid input returns an error and is not charged.
  • payment_terms_check — Work out the due date and status for payment terms such as Net 30, 2/10 Net 30, Due on receipt, EOM or Net 30 EOM. Returns the early-payment discount amount and deadline, the annualized cost of skipping the discount, and suggested reminder dates. Use late_fee_calc once the invoice is overdue. Pure calculation: no network request, nothing is sent or stored. Costs $0.01 USDC per call via x402 (payment goes in _meta["x402/payment"]); invalid input returns an error and is not charged.
  • pricing — Free. Return the price of every paid tool and of the HTTP invoice PDF route, the payment network (Base) and the receiving address. No input, no network request, no payment.
  • receivables_health_report — Grade the health of a business's accounts receivable from its invoice list. Send a CSV export (QuickBooks, Xero, FreshBooks, Wave, Stripe or any CSV with customer and amount columns; columns are auto-detected) or JSON rows, up to 1000 invoices. Returns an A-F grade and 0-100 score with reasons, aging buckets (current, 1-30, 31-60, 61-90, 90+ days), overdue %, weighted days outstanding, DSO, average days to pay, customer concentration, a collection priority list with the next action per overdue invoice (pointing to payment_reminder_draft and late_fee_calc), and recommendations. Use it for a monthly AR review or before chasing payments. Not accounting or legal advice. Pure calculation: no network request, nothing is sent or stored. Costs $1 USDC per call via x402 (payment goes in _meta["x402/payment"]); invalid input returns an error and is not charged.
  • validate_invoice — Free. Validate an invoice JSON (the body for POST /v1/invoice.pdf, or the output of invoice_from_timesheet) and return computed subtotal, discount, tax and total, or a list of field errors. Same checks as the paid PDF route. Offline, no payment.

First seen · last seen