---
title: "The p10 Ledger header, sub-tab counts and Sources line (#2587)"
method: GET
path: "/accountant/companies/{customerId}/ledger-summary"
tags: ["Accountant Portal"]
---

# The p10 Ledger header, sub-tab counts and Sources line (#2587)

`GET /accountant/companies/{customerId}/ledger-summary`

## Request

- Base URL: `https://api.medianfi.com/api/v1`
- URL: `https://api.medianfi.com/api/v1/accountant/companies/{customerId}/ledger-summary`
- Auth: HTTP bearer

For `month` (YYYY-MM; default the current UTC month; any month). `preliminary` is true unless the GL period covering the month is closed. `period` is that period (with who closed it and whether it is filing-locked), or null. `counts.entries` are all posted entries of the client, `entriesInMonth` and `voidedEntries` those dated in the month; `accounts`/`inactiveAccounts` the active and inactive GL accounts; `schedules` the active event schedules; `periodsOpen` the open GL periods. `sources.lastEntry` is the newest posted entry of the month (`number` is null: entries carry no display number), `postedBy` `penny` for the bookkeeping service identities, `person` otherwise, null without a creator. `sources.waitingInInbox` counts the month's rows that need a person (needs_review, no category, or a category on a review-hold account) and their absolute amount. `balanced` says posted debits equal credits through the month's last day, and `imbalanceCents` is posted debits minus credits through that day in integer cents (0 when balanced, negative when credits are ahead; the screen shows its absolute value); `booksStartDate` is the earliest GL period start. `packageRecipient` is who the month's package goes to (PG-p10-009): the recipient of the newest package sent up to the month that names one (the month's own, else the latest earlier month's; `fromMonth` says which), or null if none was ever sent. Reopen uses `GET …/gl-periods/{periodId}/reopen-preview`. Read-only. A signed-in person only: every API key is refused, the service token included (404).

## Path parameters

- `customerId` string, uuid, required

## Query parameters

- `month` string

## Response `200`

The month's Ledger summary

- object
  - `success` true, required
  - `data` object, required
    - `companyId` string, uuid, required
    - `month` string, required
    - `dateFrom` string, date, required
    - `dateTo` string, date, required
    - `preliminary` boolean, required
    - `balanced` boolean, required
    - `imbalanceCents` integer, required: Posted debits minus credits through dateTo, integer cents; 0 when balanced.
    - `booksStartDate` string, date, nullable, required
    - `packageRecipient` object, nullable, required
      - `sentTo` string, required
      - `fromMonth` string, required
      - `version` integer, required
      - `sentAt` string, date-time, required
    - `period` object, nullable, required
      - `id` string, uuid, required
      - `status` 'open' | 'closed', required
      - `closedAt` string, date-time, nullable, required
      - `closedBy` object, nullable, required
        - `userId` string, uuid, required
        - `name` string, nullable, required
      - `signedBy` object: Verified signer of this month's exact close package version when available.
        - `name` string, required
        - `signedAt` string, date-time, required
      - `filingLocked` boolean, required
    - `counts` object, required
      - `entries` integer, required
      - `entriesInMonth` integer, required
      - `voidedEntries` integer, required
      - `accounts` integer, required
      - `inactiveAccounts` integer, required
      - `schedules` integer, required
      - `periodsOpen` integer, required
    - `sources` object, required
      - `postedInMonth` integer, required
      - `lastEntry` object, nullable, required
        - `id` string, uuid, required
        - `number` unknown, required
        - `memo` string, required
        - `entryDate` string, date, required
        - `postedAt` string, date-time, required
        - `postedBy` 'penny' | 'person' | 'null', nullable, required
        - `postedByName` string, nullable, required
      - `waitingInInbox` object, required
        - `rows` integer, required
        - `amountCents` integer, required
      - `tieOut` object[], required: #2587 p10: each business bank or card account, with the statement end of its latest completed reconciliation at 0.00 ending on or before the month's last day (null when none).
        - `bankAccountId` string, uuid, required
        - `institution` string, nullable, required
        - `accountName` string, nullable, required
        - `mask` string, nullable, required
        - `tiedThrough` string, date, nullable, required
      - `closePackage` object, nullable, required: #2587 p10: the month's newest close package as sent (version, preliminary or final, to whom, when); null when none was sent.
        - `version` integer, required
        - `kind` 'preliminary' | 'final', required
        - `sentTo` string, nullable, required
        - `sentAt` string, date-time, required
      - `waitingForBankLine` object, required: #2587 p10 (OpenBot Lead c6971948334): bill payments recorded in the books through the month on a bank or card account (a posted entry that debits Accounts Payable and credits that account) with no feed line on that same account, money out, matched to them for exactly the same cents. A voided payment is not listed. Display only. Oldest first, at most 50 items; count and amountCents cover all. basis is the client's accounting method: a cash client's list is labelled display only.
        - `basis` 'accrual' | 'cash' | 'null', nullable, required
        - `count` integer, required
        - `amountCents` integer, required
        - `items` object[], required
          - `journalEntryId` string, uuid, required
          - `bankAccountId` string, uuid, required
          - `amountCents` integer, required
          - `waitingSince` string, date, required: The payment's entry date; the age counts from it.
          - `description` string, required

## Other responses

- `401`: Authentication required
- `403`: Insufficient permissions or not a company member
- `422`: Request failed validation

## Changes

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

[Operation history](https://skmtc.dev/medianfi/apis/median-api/changes/accountant/companies/:customerId/ledger-summary/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)
