---
title: "The Accounts by month reconciliation grid (#2587 p9)"
method: GET
path: "/accountant/companies/{customerId}/reconciliation-grid"
tags: ["Accountant Portal"]
---

# The Accounts by month reconciliation grid (#2587 p9)

`GET /accountant/companies/{customerId}/reconciliation-grid`

## Request

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

One cell per bank or card account (personal accounts aside) and month, for `months` months (1 to 12, default 4) ending at `month` (YYYY-MM, default the current UTC month). A cell reads the newest non-abandoned reconciliation whose period ends in that month: `tied` when completed at a 0.00 difference, `in_progress` when open at 0.00 so far (`tiedThrough` is its statement end), `not_tied` when it has a difference that the account's unbooked rows explain (or a completion at a difference without a reason), `difference` when an open reconciliation has a difference and no unbooked rows (`openCents` is its size), `forced` when the newest completion was forced with a reason (`forcedReason`, and `openCents` the running difference it left open; not counted as tied), `reopened`. With none: `not_tracked` before the account's first data, `statement_missing` once the month has ended (or in the current month while the account's feed is not active), else `not_started`. `unbookedCents`/`unbookedCount` are the account's needs-review rows in the month; `lastDataOn` its latest row. `summary.monthsTied` of `monthsTotal` counts tracked cells; `readyCount`/`readyMatches` count the last month's open reconciliations with unconfirmed matches. `tiedThroughBy` names who wrote the newest match or complete event: `penny` for the bookkeeping service identities, `person` for any other user, null with no actor. `reopenedBy`/`reopenedAt` are set on a `reopened` cell. `summary.ledger` is `quickbooks` when the company's QuickBooks ledger connection is connected or needs reauthorizing (the QuickBooks snapshot rule), else `median`. A client with no accounts reads an empty grid. `reviewedBy`/`reviewedAt` name the reviewer or firm admin who signed off a `tied` cell's reconciliation (`POST …/reconciliations/{id}/review`, migration 652) and when; null until then, and again after a reopen. A reconciliation with no difference yet (no balances entered) is never tied. 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
- `months` integer

## Response `200`

The grid and its summary

- object
  - `success` true, required
  - `data` object, required
    - `companyId` string, uuid, required
    - `month` string, required
    - `months` string[], required
    - `summary` object, required
      - `ledger` 'median' | 'quickbooks', required
      - `accounts` integer, required
      - `monthsTied` integer, required
      - `monthsTotal` integer, required
      - `readyCount` integer, required
      - `readyMatches` integer, required
    - `accounts` object[], required
      - `bankAccountId` string, uuid, required
      - `name` string, nullable, required
      - `institution` string, required
      - `mask` string, nullable, required
      - `accountType` string, nullable, required
      - `glAccountCode` string, nullable, required
      - `glAccountName` string, nullable, required
      - `cells` object[], required
        - `month` string, required
        - `state` 'tied' | 'in_progress' | 'not_tied' | 'difference' | 'forced' | 'statement_missing' | 'reopened' | 'not_started' | 'not_tracked', required
        - `reconciliationId` string, uuid, nullable, required
        - `tiedThrough` string, date, nullable, required
        - `differenceCents` integer, nullable, required
        - `unbookedCents` integer, required
        - `unbookedCount` integer, required
        - `unconfirmedMatches` integer, required
        - `lastDataOn` string, date, nullable, required
        - `completedBy` object, nullable, required
          - `userId` string, uuid, required
          - `name` string, nullable, required
        - `completedAt` string, date-time, nullable, required
        - `tiedThroughBy` 'penny' | 'person' | 'null', nullable, required
        - `reopenedBy` object, nullable, required
          - `userId` string, uuid, required
          - `name` string, nullable, required
        - `reopenedAt` string, date-time, nullable, required
        - `reviewedBy` object, nullable, required
          - `userId` string, uuid, required
          - `name` string, nullable, required
        - `reviewedAt` string, date-time, nullable, required
        - `openCents` integer, nullable, required: The amount left open on difference and forced cells; null elsewhere.
        - `forcedReason` string, nullable, required: Why a forced cell was completed; null elsewhere.

## 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/reconciliation-grid/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)
