get_invoice_pdf
Download a QuickBooks Online invoice as a PDF, returned inline as base64 or written to an allowlisted disk path when output_path is supplied.
Instructions
Download a QuickBooks Online invoice as a PDF. Returns the bytes inline (base64) by default. If output_path is supplied, the PDF is written to disk instead — but only when the QBO_PDF_OUTPUT_DIR environment variable is set to an allowlist directory that the resolved path must live inside.
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": {
"params": "<params>"
},
"name": "get_invoice_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |