Upload a receipt file (inline)
sevdesk_upload_voucher_file_contentUpload base64-encoded receipt files to sevDesk temporary voucher storage and return a fileName token for creating a voucher; supports PDF, PNG, JPG, XML up to 10 MB.
Instructions
Upload a receipt sent inline as base64 (e.g. an e-mail attachment) to sevDesk's temporary voucher storage — for hosted clients that cannot use sevdesk_upload_voucher_file's local path. Returns fileName, the token sevdesk_create_voucher attaches to a new voucher. PDF, PNG, JPG and XML (XRechnung / ZUGFeRD e-invoice) only, checked by content and not only the name, at most 10 MB. Accepts standard and URL-safe base64 and data: URLs. Creates no voucher by itself. ⚠️ This tool can change data in sevDesk.
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": {
"fileName": "<fileName>",
"base64Content": "<base64Content>"
},
"name": "sevdesk_upload_voucher_file_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Check the file without uploading it. | |
| fileName | Yes | Original file name with extension .pdf, .png, .jpg, .jpeg or .xml. | |
| base64Content | Yes | The file content, base64 encoded. |