LedgerLou Docs is optimized for desktop.

Please open this page on a device with a wider screen.

Journal · Postings

Get account balance

Returns the current balance of an account (debit movements, credit movements, net balance).

get_account_balance
Authorization
Authorization string header required API key in the format ll_.... Pass as a Bearer token in the OAuth flow.
Scopes
journal:read
Parameters
account_number string required Account number, e.g. '1200'
start_date string optional Start date (YYYY-MM-DD)
end_date string optional End date (YYYY-MM-DD)
Response
200
Success
MCP get_account_balance
JSON
{
  "tool": "get_account_balance",
  "params": {
    "account_number": "<string>"
  }
}
200 Response
JSON
{
  "account_number": "<string>",
  "account_name": "<string>",
  "debit_total": 1,
  "credit_total": 1,
  "balance": 1
}