REST-APILedgers
DocumentatieList ledgers
GET
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.
Requires the ledger:read scope (Lezen). Same operation as the MCP tool list-ledgers.
bearerheader
AuthorizationBearer <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.
OK
application/json- response
plan*stringSubscription plan of the company group
Value in
"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/ledgers"{ "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" } ] } ]}