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

Parameters: list_ledgers
NameTypeDescription
limit integer integer Number of items to return.
offset integer integer Number of items to skip, for the next page.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "e_boekhouden_read",
    "arguments": {
      "operation": "list_ledgers",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.