List ledgers
Ledger accounts (grootboekrekeningen) with ID, code, name and category.
MCP tool e_boekhouden_read → list_ledgers
read
Returns the ledger accounts of the administration. The ledger_id goes into create_invoice lines and into create_mutation as the account the booking is made on. Look up the ID here instead of guessing a code.
Parameters
| Name | Type | Description |
|---|---|---|
| limit integer | integer | Number of items to return. |
| offset integer | integer | Number of items to skip, for the next page. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "e_boekhouden_read",
"arguments": {
"operation": "list_ledgers",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"ledgers": [
{
"ledger_id": 1155,
"code": "1155",
"name": "Payout account",
"category": "Balance"
},
{
"ledger_id": 8000,
"code": "8000",
"name": "Revenue consulting",
"category": "Revenue"
}
],
"total": 2
},
"isError": false
}