PaidPilot Invoice API: Timesheet to invoice JSON
PaidPilot Invoice API: Timesheet to invoice JSON. Time entries (hours x rate, optional per-entry rounding, grouping by description, expenses, tax, terms) become a validated invoice JSON with totals, ready to POST to /v1/invoice.pdf for the PDF.
by api.paidpilot.io · discovered, not yet claimed by its owner · updated 2026-10-11
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
PaidPilot Invoice API: Timesheet to invoice JSON. Time entries (hours x rate, optional per-entry rounding, grouping by description, expenses, tax, terms) become a validated invoice JSON with totals, ready to POST to /v1/invoice.pdf for the PDF.
Tags: invoice · pdf · billing · document-generation · payment-reminder · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-11
{
"buyer": {
"name": "Blue River Bakery"
},
"currency": "USD",
"default_rate": 85,
"entries": [
{
"date": "2026-10-05",
"description": "Website fixes",
"hours": 1.6
},
{
"date": "2026-10-06",
"description": "Website fixes",
"hours": 2.25
},
{
"date": "2026-10-08",
"description": "Menu photo shoot",
"hours": 3,
"rate": 95
}
],
"expenses": [
{
"amount": 29,
"description": "Stock photo license"
}
],
"group_by": "description",
"invoice_number": "INV-1002",
"issue_date": "2026-10-11",
"rounding": {
"increment_minutes": 15,
"mode": "up"
},
"seller": {
"email": "[email protected]",
"name": "Acme Web Studio LLC"
},
"tax_rate": 7,
"terms": "Net 15"
}{
"hours": {
"billed": 7,
"entered": 6.85,
"entries": 3,
"entries_rounded_to_zero": 0
},
"invoice": {
"buyer": {
"name": "Blue River Bakery"
},
"currency": "USD",
"due_date": "2026-10-26",
"invoice_number": "INV-1002",
"issue_date": "2026-10-11",
"line_items": [
{
"description": "Website fixes (2026-10-05 to 2026-10-06)",
"quantity": 4,
"unit_price": 85
},
{
"description": "Menu photo shoot (2026-10-08)",
"quantity": 3,
"unit_price": 95
},
{
"description": "Expense: Stock photo license",
"quantity": 1,
"unit_price": 29
}
],
"payment_instructions": "Terms: Net 15, due 2026-10-26.",
"seller": {
"email": "[email protected]",
"name": "Acme Web Studio LLC"
},
"tax_rate": 7
},
"line_count": 3,
"next": {
"pdf": "POST https://api.paidpilot.io/v1/invoice.pdf with the \"invoice\" object as the JSON body ($0.02 in USDC via x402) to get the PDF.",
"validate_free": "POST https://api.paidpilot.io/v1/invoice/validate"
},
"rounding": "up 15 min per entry",
"totals": {
"currency": "USD",
"discount": "0.00 USD",
"subtotal": "654.00 USD",
"tax": "45.78 USD",
"total": "699.78 USD"
}
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/35481.jsonfor the price and payment options. - Pay. Call
GET https://api.paidpilot.io/v1/invoice-from-timesheet. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.02 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.02 | 0x2dAF658B01e257206375798a15832E9f547D65dD | 120s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2dAF658B01e257206375798a15832E9f547D65dD",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 120
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl "https://api.paidpilot.io/v1/invoice-from-timesheet"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://api.paidpilot.io/v1/invoice-from-timesheet");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://api.paidpilot.io/v1/invoice-from-timesheet")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- api.paidpilot.io
- Endpoint
- https://api.paidpilot.io/v1/invoice-from-timesheet
- Machine-readable
/resources/35481.json