Get a download link
get_download_linkCreates a download link (valid 15 minutes, no sign-in needed to open it) for a finished conversion in one of these formats: xlsx, csv, xero, qbo, qbcsv, tally, report. xlsx is an Excel workbook with transactions, summary and categories; csv is Date, Description, Money Out, Money In, Amount, Balance, Category; xero and qbcsv are import files for Xero and QuickBooks; qbo is QuickBooks Web Connect; tally is Tally XML (bank_ledger and offset_ledger name the ledgers); report is the reconciliation report as PDF. When the file held several accounts, account picks one (0-based); without it xlsx carries every account and the other formats carry account 0.
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": {
"conversion_id": "<conversion_id>",
"format": "<format>"
},
"name": "get_download_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | xlsx (Excel), csv (generic), xero (Xero bank statement CSV), qbo (QuickBooks Web Connect), qbcsv (QuickBooks 3-column CSV), tally (Tally XML), report (reconciliation PDF). | |
| account | No | 0-based account index when the file held several accounts (see get_conversion.accounts). Without it, xlsx gets every account as its own sheet and the other formats get account 0. | |
| bank_ledger | No | tally only: the bank ledger name in Tally. | |
| conversion_id | Yes | The conversion id returned by convert_statement or list_conversions. | |
| offset_ledger | No | tally only: the offset (clearing) ledger name in Tally. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| format | Yes | ||
| file_name | Yes | ||
| expires_at | Yes |