upload_voucher_file
Upload a receipt image or PDF to attach to a voucher.
Instructions
Upload a file (receipt image/PDF) for a voucher
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": {
"voucherId": "<voucherId>",
"fileName": "<fileName>",
"base64Content": "<base64Content>"
},
"name": "upload_voucher_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | Name of the file | |
| voucherId | Yes | The ID of the voucher | |
| creditDebit | No | ||
| base64Content | Yes | Base64 encoded file content |