Get one record
Fetch one record by collection and id, typically after a search returned it. Invoices and transactions include their lines.
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.
ledgerId*stringLedger (administration) id, from list-ledgers
1 <= lengthcollection*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/ledgers/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"}