List Invoices
list_invoicesList the account's invoices (one per order), newest first, with each one's date, state (PAID, PARTIALLY_REFUNDED, REFUNDED or UNPAID), net total in cents and the domains on it. total_cents is what the customer was left paying: refunds are netted out. Each invoice has url, its page on porkbun.com, which is the easiest thing to hand a user who wants to see or print one. Use get_invoice for the lines and get_invoice_pdf for the file.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Only invoices from this year, e.g. 2026. | |
| limit | No | Invoices per page, max 100. Default 50. | |
| start | No | Paging offset. Default 0. |