Skip to content
Fourohtwo

Turn timesheet entries into invoice JSON

api.paidpilot.io/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.

BaseAnswering
POSThttps://api.paidpilot.io/v1/invoice-from-timesheet

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.paidpilot.io/v1/invoice-from-timesheet", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"buyer":{"name":"Blue River Bakery"},"terms":"Net 15","seller":{"name":"Acme Web Studio LLC","email":"billing@acme.example"},"entries":[{"date":"2026-10-05","hours":1.6,"description":"Website fixes"},{"date":"2026-10-06","hours":2.25,"description":"Website fixes"},{"date":"2026-10-08","rate":95,"hours":3,"description":"Menu photo shoot"}],"currency":"USD","expenses":[{"amount":29,"description":"S),
});
console.log(await res.json());

Example input

{"buyer":{"name":"Blue River Bakery"},"terms":"Net 15","seller":{"name":"Acme Web Studio LLC","email":"billing@acme.example"},"entries":[{"date":"2026-10-05","hours":1.6,"description":"Website fixes"},{"date":"2026-10-06","hours":2.25,"description":"Website fixes"},{"date":"2026-10-08","rate":95,"hours":3,"description":"Menu photo shoot"}],"currency":"USD","expenses":[{"amount":29,"description":"S

More from PaidPilot Invoice APIProvider status