merit_get_gl_batch
Retrieve a General Ledger batch with its entries using the batch GUID, and optionally include the attachment file as base64.
Instructions
Get one Merit Aktiva GL batch with entries (POST /api/v1/getglbatch). id is the batch GUID (GLBId). Set addAttachment to include a file as base64.
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": {
"id": "<id>"
},
"name": "merit_get_gl_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | GL batch GUID / GLBId (required) | |
| addAttachment | No | Include attachment file content as base64 |