Get an upload link for a receipt file
create_upload_linkA one-time HTTPS link to send a receipt or invoice file to with a plain POST, instead of writing it out as base64: curl -F "file=@invoice.pdf" <url> (multipart file field), or the raw bytes with an X-File-Name header. No other auth: the link is it. One file per link, 15 minutes, 10 MB; a used or expired link answers 410, so ask for a new one per file. Give the line's ID (line, like #1042), or month and number, to put the file straight on that line; only month to sort it among that month's lines; neither for the Inbox (a line that matches by amount and date gets it at once). The POST answers 201 with the document, what the reader found, where it went and the line's status. The file is added as from you.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_upload_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line | No | The line's ID, like #1042 (list_lines and read_line show it): names the line alone, instead of month and number. | |
| month | No | The month as YYYY-MM, like 2026-09; with number, or give line instead. | |
| number | No | The line's number in the month, like 12; with month, or give line instead. |