Get the balance sheet per month end (by administration)
The balance sheet (balans) at the end of every month (default the last 12 months): every balance sheet account's closing balance, grouped by RGS rubriek (e.g. BMva materiële vaste activa, BVor vorderingen, BLim liquide middelen, BEiv eigen vermogen, BSch kortlopende schulden) in the order of the Dutch balance sheet. Assets are debit positive, liabilities and equity credit positive. Equity includes the cumulative result of the P&L accounts as 'Resultaat, nog niet verdeeld' (ledgerAccountId null), so difference (assets − liabilities) is 0 when the books balance. Accounts without an RGS code are in unmapped-assets / unmapped-liabilities. Amounts are in the ledger's base currency, debit positive and credit negative. Balances add up every synced line; when the package was synced from a certain date on (see firstTransactionDate) and that year has no opening balance entry, absolute balances miss what came before.
Same as the ledger endpoint, addressed by LedgerSuite administration id instead of ledgerId. Other LedgerSuite products call this with their own client_credentials token (audience urn:ledgersuite:askledger, scope askledger:read) for administrations that include them; company group API keys and OAuth tokens work too.
Requires the ledger:read scope (Lezen). Same operation as the MCP tool get-balance-sheet.
bearerAuthorizationBearer <token>A company group API key (al_live_…, created at /dashboard/api), an OAuth access token from the same authorization flow MCP clients use, or (other LedgerSuite products, /administrations routes only) a LedgerSuite client_credentials token.
administrationId*stringLedgerSuite administration id; its linked ledger is used
fromMonth?stringFirst month; default 11 months before toMonth (YYYY-MM, inclusive)
^\d{4}-(0[1-9]|1[0-2])$toMonth?stringLast month; default the current month (YYYY-MM, inclusive)
^\d{4}-(0[1-9]|1[0-2])$OK
application/json- response
currency*|Base currency of the ledger
months*array<string>The months covered (YYYY-MM)
firstTransactionDate*|Date of the oldest synced line (YYYY-MM-DD)
assets*array<>Asset rubrieken with at least one account
liabilities*array<>Equity and liability rubrieken with at least one account
totals*result*Cumulative result of the P&L accounts, included in equity
difference*Assets − liabilities: 0 when the books balance
curl -X GET "https://example.com/administrations/string/balance-sheet"{ "currency": "string", "months": [ "string" ], "firstTransactionDate": "string", "assets": [ { "code": "string", "name": "string", "side": "assets", "accounts": [ { "ledgerAccountId": "string", "code": "string", "name": "string", "rgsCode": "string", "opening": 0, "amounts": [ 0 ] } ], "totals": { "opening": 0, "amounts": [ 0 ] } } ], "liabilities": [ { "code": "string", "name": "string", "side": "assets", "accounts": [ { "ledgerAccountId": "string", "code": "string", "name": "string", "rgsCode": "string", "opening": 0, "amounts": [ 0 ] } ], "totals": { "opening": 0, "amounts": [ 0 ] } } ], "totals": { "assets": { "opening": 0, "amounts": [ 0 ] }, "liabilities": { "opening": 0, "amounts": [ 0 ] } }, "result": { "opening": 0, "amounts": [ 0 ] }, "difference": { "opening": 0, "amounts": [ 0 ] }}