txn_list
List or count company transactions with filters for date, account, amount, direction, and metadata, using pagination. Optionally include reversed or recategorized entries in results.
Instructions
List or count transactions using filters and pagination. By default, lists hide both sides of reversed pairs and links to them. Pass include_reversed: true to include them. Entry filters (account, tax_category, direction, amounts) skip lines a recategorization moved away and list the correction, which names the original in recategorizes; pass include_recategorized: true to match every stored line.
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": {
"company": "<company>"
},
"name": "txn_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| meta | No | ||
| count | No | ||
| limit | No | Page size: 0 to 4294967295 transactions, or -1 for every match. Defaults to 50. | |
| offset | No | Rows to skip before returning a page. | |
| account | No | ||
| company | Yes | ||
| currency | No | Currency code. Required with an amount filter if the company uses multiple currencies. | |
| metadata | No | ||
| amount_eq | No | Exact entry amount in major units. | |
| amount_gt | No | Exclusive minimum entry amount in major units. | |
| amount_lt | No | Exclusive maximum entry amount in major units. | |
| direction | No | ||
| reference | No | ||
| description | No | ||
| tax_category | No | ||
| include_reversed | No | Include both the original and reversal in results and counts. | |
| include_recategorized | No | Match entry filters against lines a recategorization moved away and their offsets. |