Get invoice PDF link
get_invoice_pdf_urlGet a fresh download link for an invoice's PDF. Use it when the user wants to open, view, or download an invoice, or when an earlier link has expired. Find the invoice ID with list_invoices first. pdfUrl is a private, signed download link that expires at pdfUrlExpiresAt (1 hour). Give it to the user to open or download the PDF; don't put it in emails, notes, or anything that has to keep working.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "get_invoice_pdf_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Invoice ID (from list_invoices) |