---
title: "The p4 Clients row facts beyond the roster summary (#2587)"
method: GET
path: "/accountant/customers/roster-details"
tags: ["Accountant Portal"]
---

# The p4 Clients row facts beyond the roster summary (#2587)

`GET /accountant/customers/roster-details`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/customers/roster-details`
- Auth: HTTP bearer

For every client the caller can see (the same scope as `roster-summary`), current state, read only. `penny.mode` follows roster-summary's order: `stopped` by the client's kill switch, else `off` (Penny not enabled for the client, not on the deployment's Penny allowlist, or a company Penny refuses), else `stopped` by the firm-wide or client stop (`stoppedBy` says which), else `rules_only` (a patient-data client: no model calls), else `on`; `live` of `total` counts the capabilities in state live (a capability with no row is shadow). `waitingOn.us` counts open Inbox items (a snoozed item whose time has passed reads open), aged by `waiting_since`; `waitingOn.client` counts open asks to the client (open onboarding questions, and open threads whose newest visible message, not undone and past its send hold, is ours), `clientOverdue` those asked more than 2 business days ago; `reviewer` is the client's assigned close reviewer. `functions` lists bank_feeds, categorize, reconcile, revenue, bills and documents: `blocked` when an open Inbox item of that function is in the blocked group, `watch` when any is open, else `ok`; bank_feeds is also `blocked` while a bank-account source needs reconnecting or is disconnected and `watch` while one is late, with a note. A function is `off` (not a problem) when the client has no source of its kind and nothing open for it: bank_feeds, categorize and reconcile need a bank or card source, revenue a Stripe source; bills and documents are never off. `lastGoodSyncAt` (bank_feeds) is the newest good sync of the client's bank and card sources; `tiedThrough` (reconcile) is the latest statement end of a completed reconciliation at 0.00, with the note "Ties to bank through <day>". `months` are the 4 months ending at the close board's month, oldest first: `due` is the board's due day (the 7th business day after month end); `on_time` when the GL period closed by it, `late` after it, `in_progress` for the client's close target (with the board's steps before close day, of 6, only when the target is the board's month), else `open`. `action` is the row's button: the top open Inbox item (blocked, review, ready, then the oldest) mapped to send_reconnect_link, approve_matches, approve_entry, review_rows (with the open count of that kind), review_change, ask_client or review_item; with no open item, nudge_client while an ask is overdue; else null. `isSend` marks sends, which go through the Inbox send model. Close prep comes from `GET /month-end-close/board`. A signed-in person only: every API key is refused, the service token included (404).

## Response `200`

One entry per client

- object
  - `success` true, required
  - `data` object, required
    - `clients` object[], required
      - `customerId` string, uuid, required
      - `penny` object, required
        - `mode` 'stopped' | 'off' | 'rules_only' | 'on', required
        - `live` integer, required
        - `total` integer, required
        - `stoppedBy` 'firm' | 'client' | 'kill_switch' | 'null', nullable, required
      - `waitingOn` object, required
        - `us` integer, required
        - `usOldestSince` string, date-time, nullable, required
        - `client` integer, required
        - `clientOverdue` integer, required
        - `clientOldestAskedAt` string, date-time, nullable, required
        - `reviewer` object, nullable, required
          - `userId` string, uuid, required
          - `name` string, nullable, required
      - `functions` object[], required
        - `key` 'bank_feeds' | 'categorize' | 'reconcile' | 'revenue' | 'bills' | 'documents', required
        - `status` 'ok' | 'watch' | 'blocked' | 'off', required
        - `openItems` integer, required
        - `note` string, nullable, required
        - `lastGoodSyncAt` string, date-time, nullable, required
        - `tiedThrough` string, date, nullable, required
      - `months` object[], required
        - `month` string, required
        - `state` 'on_time' | 'late' | 'open' | 'in_progress', required
        - `due` string, date, required
        - `closedAt` string, date-time, nullable, required
        - `stepsDone` integer, nullable, required
        - `stepsTotal` integer, nullable, required
      - `action` object, nullable, required
        - `kind` 'send_reconnect_link' | 'review_rows' | 'approve_matches' | 'approve_entry' | 'review_change' | 'ask_client' | 'nudge_client' | 'review_item', required
        - `label` string, required
        - `count` integer, nullable, required
        - `inboxItemId` string, uuid, nullable, required
        - `isSend` boolean, required

## Other responses

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

## Changes

- **2026-11-26** `4a2098becaf9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/customers/roster-details/get.md)

---

[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/4f4c2d34276b?raw)
