Skip to main content
GET
Get Entity Balances

Authorizations

Authorization
string
header
required

API key authentication. Send your raw API key as the Authorization header value with NO scheme prefix — Authorization: YOUR-API-KEY. Do NOT prefix it with Bearer or ApiKey, and do not use an X-API-Key header; those are not accepted.

Path Parameters

companyId
string<uuid>
required

Company identifier

entityType
enum<string>
required

The entity dimension to read balances for. Any other value is a 400

Available options:
event,
policy,
payee
entityId
string<uuid>
required

The entity's id

Response

The entity's nonzero balances (empty categories and null cash when the entity has none)

categories
object[]
required

Categories with at least one nonzero account balance

cash
object | null
required

The one category-less cash account's balance with its metadata embedded, or null when there is nothing to show (no cash account on the global read; a zero cash balance on the entity read). amountCents is the raw signed balance in the ledger convention; cash sits in Assets (carries debit) and is the one account whose direction is null.