list_gl_journal_entries
List journal entries.
period_ids narrows to specific fiscal periods, and is how a caller asks for
one fiscal year: the year's period ids (ZET-285). Without it the route lists every
fiscal year. total is the filtered total.
untagged_subledger_control=true narrows to the entries that posted to an
AR/AP control account without touching the subledger, under
allow_untagged_control (ZET-150) — the postings a subledger-vs-control
divergence traces back to.
origin: one entry origin (ZEN-42). account_id: entries with a line on it;
date_from/date_to: posting date; amount_min/amount_max: the entry total.
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_id": "<company_id>"
},
"name": "list_gl_journal_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | ||
| sort | No | posting_date | |
| limit | No | ||
| order | No | desc | |
| offset | No | ||
| origin | No | ||
| status | No | ||
| date_to | No | ||
| date_from | No | ||
| account_id | No | ||
| amount_max | No | ||
| amount_min | No | ||
| company_id | Yes | ||
| period_ids | No | ||
| coding_guessed | No | ||
| untagged_subledger_control | No |