Merit List Gl Batches
merit_list_gl_batchesList general ledger entries for a date period, one row per entry, with optional batch-type filtering and debit/credit line details.
Instructions
General ledger entries (pearaamatu kanded) in a period, one row per entry.
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": {
"period_start": "<period_start>",
"period_end": "<period_end>"
},
"name": "merit_list_gl_batches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (totals still cover all) | |
| batch_code | No | Only this batch type, e.g. MA sales invoices, OA purchase invoices, PA payments | |
| period_end | Yes | Last day, YYYY-MM-DD (periods over 3 months are fetched in pieces; max 36 months) | |
| with_lines | No | Also each entry's debit and credit lines per account (period max 12 months) | |
| period_start | Yes | First day, YYYY-MM-DD |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||