Get one record (by administration)
Fetch one record by collection and id, typically after a search returned it. Invoices and transactions include their lines.
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-record.
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
collection*stringCollection the record belongs to
"contacts""invoices""ledger-accounts""items""tax-rates""payment-terms""journals""transactions"id*stringAskLedger record id
1 <= lengthOK
application/json- response
Customer and/or supplier
id*stringAskLedger contact id (con_…)
remoteId*stringcode*string|nullname*string|nullemail*string|nullkvk*|Auditfile (XAF): partially supported.
vatNumber*|Exact Online: not available.
isCustomer*booleanisSupplier*booleanblocked*booleanAuditfile (XAF): not available.
ibans*array<string>Bank account numbers (IBANs) of the contact, upper case without spaces. Auditfile (XAF): not available.
remoteStatus*|Raw status in the package. Auditfile (XAF): not available.
remoteUpdatedAt*|ISO 8601 timestamp. Auditfile (XAF): not available.
updatedAt*stringWhen AskLedger last saw this record change (ISO 8601)
deletedAt*|When the record was deleted in the accounting package; null = not deleted
curl -X GET "https://example.com/administrations/string/contacts/string"{ "id": "string", "remoteId": "string", "code": "string", "name": "string", "email": "string", "kvk": "string", "vatNumber": "string", "isCustomer": true, "isSupplier": true, "blocked": true, "ibans": [ "string" ], "remoteStatus": "string", "remoteUpdatedAt": "string", "updatedAt": "string", "deletedAt": "string"}