Get Entity Balances
Returns one entity’s financial balances in the same category-grouped
shape as the global read —
per-category rollups plus per-account detail, raw signed integer cents
with each account’s role and provenance direction embedded (the
carrying side derives from role × direction). Also the read for an event
scope’s current expected total before setting reserves.
Zero and absent are the same state: zero-amount accounts are dropped, a
category with nothing nonzero is dropped, and an entity with no balances
at all — unknown ids included — reads as empty balances rather than a
404 (this is a pure balance read; it does not check entity existence).
Required permission: company.payment:read
Authorizations
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
Company identifier
The entity dimension to read balances for. Any other value is a 400
event, policy, payee The entity's id
Response
The entity's nonzero balances (empty categories and null cash when the entity has none)
Categories with at least one nonzero account balance
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.
