Get general ledger
The General ledger report for a period, by account.
MCP tool procountor_read → get_general_ledger
read
Returns the same account rows as Reports > General ledger for the dates you give: each account with its entries and balance. Entries carry the receipt they come from. Use it to hand the books to an accountant without opening the report by hand.
Parameters
| Name | Type | Description |
|---|---|---|
| date_from string required | string | First day of the period, YYYY-MM-DD. |
| date_to string required | string | Last day of the period, YYYY-MM-DD. |
| account string | string | Limit to one account number. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "procountor_read",
"arguments": {
"operation": "get_general_ledger",
"arguments": {
"date_from": "date from",
"date_to": "date to"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"period": {
"from": "2026-09-01",
"to": "2026-09-30"
},
"accounts": [
{
"account": "3000",
"name": "Sales",
"entries": 12,
"balance": -9400
},
{
"account": "1700",
"name": "Accounts receivable",
"entries": 12,
"balance": 9400
}
]
},
"isError": false
}