LedgerBee Public API
string · requiredstring · requirednumber · requirednumber · requiredstring · enum · requiredstring | null · enumstring | null · enum
Accounts
Account management endpoints
List accounts
GET
https://api.ledgerbee.com/api
/v1/accounts
x-api-key (header)
or
OAuth 2.0
Retrieves your company's chart of accounts, sorted by publicAccountId
and then by accountNumber. Pass an account's id as accountId when
creating journal entries or draft journal entries, or to filter the
journal-entry list.
Results are cached for 5 seconds.
Required Scope
accounts-read
List accounts › Responses
List of accounts for the company
idThe unique identifier of the account
Example: 550e8400-e29b-41d4-a716-446655440000
nameName of the account
Example: Skyldig AM-bidrag
accountNumberAccount type number
Example: 1000
publicAccountIdPublic account id that the account maps to
Example: 1000
ledgerTypeType of ledger account. Only BALANCE_SHEET and PROFIT_AND_LOSS accounts can be used in journal entries.
Enum values:
BALANCE_SHEET
HEADING_BREAK
HEADING
PROFIT_AND_LOSS
TOTAL_FROM
TOTAL_INTERVALS
Example: BALANCE_SHEET
accountClassificationAccount classification (ASSET, LIABILITY, EQUITY, REVENUE, EXPENSE)
Enum values:
ASSET
LIABILITY
EQUITY
REVENUE
EXPENSE
Example: ASSET
controlAccountTypeControl account type. ACCOUNTS_RECEIVABLE requires customerId on journal entries, ACCOUNTS_PAYABLE requires vendorId. Null for regular accounts.
Enum values:
ACCOUNTS_RECEIVABLE
ACCOUNTS_PAYABLE
Example: null