List ledgers (by administration)
List the administrations (ledgers) this company group (bedrijvengroep) has active, with the sync status of each data feed and the plan's data window. Call this first to get ledgerId values.
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 list-ledgers.
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
OK
application/json- response
plan*stringSubscription plan of the company group
"free""pro""enterprise"dataAvailableFrom*|Invoices and transactions dated before this date (YYYY-MM-DD) are not available on this plan; null = all history
ledgers*array<>curl -X GET "https://example.com/administrations/string"{ "plan": "free", "dataAvailableFrom": "string", "ledgers": [ { "id": "string", "provider": "exact", "remoteId": "string", "name": "string", "kvk": "string", "vatNumber": "string", "baseCurrency": "string", "country": "string", "current": true, "sync": [ { "name": "string", "status": "string", "rowsIngested": 0, "lastSyncedAt": "string", "lastError": "string" } ] } ]}