Books

Books hub overview (today's balances, last completed month)

Demo-parity customer route for an explicitly allowlisted active or test company. /qa callers additionally require the QA application marker and persisted test lifecycle. Returns a single-screen summary of the company's financial position. Balances are as of today (read at the current UTC month end, so they tie to the Assets and Liabilities sub-ledgers); revenue and expenses cover the last completed calendar month (UTC). Revenue is operating revenue (other income and 4999 Uncategorized Income excluded). Includes headline asset / liability / revenue / expense figures plus composition segments and P&L spark series for the trailing months. All monetary amounts are in cents (integer). Every amount comes from the selected entity's posted books. A liability balance is never mirrored into a synthetic asset segment. A company that has never closed a GL period still gets its real balances (#2411).

get/companies/{companyId}/books/overview

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

companyId, string uuid required

Query parameters

entityId, string uuid

Concrete legal entity to read. Mutually exclusive with reportingScopeId/scopeAsOf. Omission is accepted only when the actor is authorized to exactly one concrete entity.

Headers

X-Median-App-Surface, 'qa'

Optional customer-app bundle marker for production-promoted demo-parity routes. Production customer calls omit this header. When present, qa selects the QA bundle and the server additionally requires an allowlisted test company with persisted client_status=test.

Response

Books overview payload

object required
success, boolean
data, BooksOverview

Headline financial overview for the Books hub: balances as of today, revenue and expenses for the last completed calendar month. All monetary amounts are integers in cents. Asset segments are total assets by class (cash, what clients owe you, prepaid costs, inventory, equipment after depreciation, other), from posted entity-scoped report values; the service never derives an asset from a payable balance.

Changes

No recorded changes to this operation across all 110 revisions of this API.