---
title: "Books hub overview (today's balances, last completed month)"
method: GET
path: "/companies/{companyId}/books/overview"
tags: ["Books"]
---

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

`GET /companies/{companyId}/books/overview`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/companies/{companyId}/books/overview`
- Auth: HTTP bearer

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).

## Query parameters

- `entityId` string, uuid

## Response `200`

Books overview payload

- object
  - `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.
    - `companyId` string, uuid, required: Authenticated company whose Books data was read.
    - `entityId` string, uuid, required: Authorized concrete legal entity whose Books data was read.
    - `asOf` string, date, required: Today (UTC). Balances include every posting through the current month.
    - `lastFullMonthLabel` string, required: Human-readable label for the last completed calendar month (e.g. "May 2026").
    - `netLastMonthCents` integer, required: Net income for the last completed month in cents (full P&L revenue − expenses).
    - `assets` object, required
      - `totalAssetsCents` integer: Total balance-sheet assets as of today, in cents (the hub's Assets value).
      - `netBookValueCents` integer, required: Fixed-asset net book value (cost − accumulated depreciation) as of today, in cents. Ties out to the Assets page headline and the balance-sheet fixed-asset section, NOT to total balance-sheet assets.
      - `segments` BooksOverviewSegment[], required
        - `label` string, required
        - `amountCents` integer, required
    - `liabilities` object, required
      - `totalCents` integer, required: Total liabilities as of today, in cents.
      - `equityCents` integer: Balance-sheet equity as of today, including earnings not yet closed (#1994). The liabilities segments end with an "Equity" segment when it is positive.
      - `segments` BooksOverviewSegment[], required
        - `label` string, required
        - `amountCents` integer, required
    - `revenue` object, required
      - `recognizedLastMonthCents` integer, required: Operating revenue recognized in the last completed month, in cents (other income and 4999 Uncategorized Income excluded).
      - `deferredCarryingCents` integer, required: Outstanding deferred-revenue liability carrying balance as of today, in cents (unearned revenue still to be recognized).
      - `sparkSeries` BooksOverviewSparkPoint[], required
        - `month` string, required: YYYY-MM-DD (first of month)
        - `revenueCents` integer, required
        - `expensesCents` integer, required
        - `netCents` integer, required
    - `expenses` object, required
      - `recognizedLastMonthCents` integer, required: Total expenses in the last closed month, in cents.
      - `topCategoryCents` integer, required: Largest single expense category recognized in the last completed month, in cents.
      - `largestAccount` object, nullable: The single expense account with the largest amount in the last completed month.
        - `name` string, required
        - `amountCents` integer, required
      - `sparkSeries` BooksOverviewSparkPoint[], required
        - `month` string, required: YYYY-MM-DD (first of month)
        - `revenueCents` integer, required
        - `expensesCents` integer, required
        - `netCents` integer, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `404`: Resource not found

---

[API](https://skmtc.dev/medianfi/apis/median-api.md) · [All operations](https://skmtc.dev/medianfi/apis/median-api/llms.txt) · [OpenAPI document](https://skmtc.dev/medianfi/apis/median-api/revisions/20090ea32b0d?raw)
