Create invoice spreadsheet
create_invoice_spreadsheetUse this when the user wants invoices, bills or receipts put into an Excel spreadsheet. Builds an .xlsx workbook with one row per invoice, one row per line item, a sheet of arithmetic, missing-field and duplicate checks, and totals per currency, and returns a download link that works for 24 hours.
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": {
"invoices": "<invoices>"
},
"name": "create_invoice_spreadsheet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional name for the file, e.g. "October supplier invoices". | |
| invoices | Yes | Every invoice, one entry each, with values exactly as printed on the document. Use null for anything not printed or not legible; never estimate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | Yes | ||
| totals | Yes | ||
| filename | Yes | ||
| expires_at | Yes | When the link stops working and the file is deleted. | |
| check_count | Yes | All findings; every one is on the Checks sheet. | |
| download_url | Yes | Link to the .xlsx file. Give it to the user unchanged. | |
| invoice_count | Yes | ||
| line_item_count | Yes |