Get an invoice PDF
get_invoice_pdfAn invoice's PDF: a download link valid for 15 minutes and, with includeContent, the PDF itself. For a draft it is a preview (not stored, no link) — show it to the user before issuing. Requires the invoicing feature.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The invoice ID | |
| includeContent | No | Also return the PDF (up to 5 MB) |