Download an invoice file
download_invoiceSave an invoice as a PDF or XML e-invoice to your computer and get the file path. Choose a target folder or use Downloads by default.
Instructions
Saves the PDF or the XML e-invoice of an invoice on this computer and returns the file path. Defaults to the Downloads folder.
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": "download_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| format | No | ||
| directory | No | Target folder, defaults to ~/Downloads |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||