Get account details
GET
https://app.speybooks.com/api/v1/accounts/{id}Retrieves a single account by prefixed ID, including all fields: code, name, type, hierarchy position, VAT defaults, system flags, and timestamps.
Path parameters
idstringrequiredPrefixed account ID (e.g. acc_1200).
Response
200Returns the account details including all fields, hierarchy position, VAT defaults, and system flags.
Show response fields
accountTypestringAccount type. Determines balance direction and report section. Immutable on system accounts.
assetliabilityequityrevenueexpensecodestringUnique account code within the organisation (e.g. 1200, 4000). Max 20 characters.
controlTypestringnullableControl account category (e.g. trade_debtors, trade_creditors, vat_control). Only meaningful when isControlAccount is true.
createdAtstringdate-timeISO 8601 creation timestamp.
defaultVatRateintegernullableDefault VAT rate as a whole percentage (e.g. 20 for 20%). Applied as suggestion when creating transaction lines.
descriptionstringnullableOptional description of the account purpose. Max 500 characters.
idstringPrefixed account ID (e.g. acc_1200). Immutable after creation.
isActivebooleanWhether the account is active. Inactive accounts are excluded from selection lists but retained for historical reporting.
isControlAccountbooleanWhether this is a control account used in automated journal creation (e.g. Trade Debtors for invoice finalisation).
isSystembooleanWhether the account was seeded during organisation setup. System accounts cannot be modified (except isActive) or deleted. Read-only.
namestringDisplay name (e.g. Trade Debtors, Sales). Max 200 characters.
parentIdstringnullablePrefixed ID of the parent account (e.g. acc_100), or null for root accounts.
updatedAtstringdate-timeISO 8601 last-updated timestamp.
Error codes
400Invalid ID format.
404Account not found.