Get general ledger events
get_general_ledger_eventsRetrieve paginated general ledger postings, optionally filtered by date, account, or category, to review individual credits and debits and build accurate accounting reports or reconciliations.
Instructions
Returns a page of general ledger events (individual postings), optionally filtered. When summing postings for a total, use (credit ?? debet ?? 0) per posting — NEVER credit - debet or debet - credit. credit and debet are mutually exclusive per posting and already correctly signed (credit negative, debet positive); subtracting one from the other double-applies the sign. This matters most when an account has both kinds of posting in the period (e.g. a sale immediately reversed same-day) — an account with only one kind can look reconciled even with a wrong formula.
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": {
"organizationNumber": "<organizationNumber>",
"pageIndex": "<pageIndex>",
"pageSize": "<pageSize>"
},
"name": "get_general_ledger_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toDate | No | ||
| category | No | ||
| fromDate | No | ||
| pageSize | Yes | ||
| pageIndex | Yes | ||
| externalAudit | No | Value for the x-External-Audit header | |
| accountNumbers | No | Comma-separated account numbers | |
| organizationNumber | Yes |