get_invoice_pdf
Retrieve the PDF of any invoice as a base64 encoded string by providing its invoice ID.
Instructions
Get the PDF of an invoice as base64 encoded string
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": {
"invoiceId": "<invoiceId>"
},
"name": "get_invoice_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| download | No | ||
| invoiceId | Yes | The ID of the invoice | |
| preventSendBy | No |