PaidPilot Invoice API
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.
- Category
- Developer tools
- Starting price
- $0.01
- Paid calls · 30 days
- 0
- Unique payers · 30 days
- —
Paid endpoints
6 endpoints, sorted by usage. Prices are per request.
- 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.02Base0calls / 30d - 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.00Base0calls / 30d - 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.01Base0calls / 30d - 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.01Base0calls / 30d - 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.01Base0calls / 30d - 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.02Base0calls / 30d