Search the books
searchFind things in the books by text or amount: journal entries (narration, reference, entry number), bank lines (payee, reference), documents (counterparty, number), accounts (code, name) and contacts (customers and suppliers by any part of the name or code). kinds narrows: entries, bank_lines, documents, accounts, contacts. Dates narrow entries, bank lines and documents. amount_min and amount_max (round 650, as Find and match on the web) narrow entries (their total or any one line; matched_by says total or lines, lines_in_range names the lines), bank lines (in or out, by size) and documents (gross) to an amount range; with a range the query may be empty: every entry, line and document in the range and the dates.
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": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | ||
| limit | No | ||
| query | No | ||
| company | No | ||
| date_to | No | ||
| date_from | No | ||
| amount_max | No | ||
| amount_min | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||