Download File
lexware_download_fileDownload a Lexware file as base64-encoded content, choosing PDF by default or XML for an available e-invoice original.
Instructions
Download a file from Lexware as base64-encoded content. Choose pdf (default) or xml for an available e-invoice XML original.
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": "lexware_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | File UUID | |
| format | No | Representation to request: "pdf" (default) or "xml" for an available e-invoice XML file; XML embedded in a PDF cannot be retrieved separately. |