---
title: "Read a client's opening-balances line for the Ledger"
method: GET
path: "/accountant/companies/{customerId}/opening-balances"
tags: ["Accountant Portal"]
---

# Read a client's opening-balances line for the Ledger

`GET /accountant/companies/{customerId}/opening-balances`

## Request

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

#2587 p10 Ledger (PG-p10-015, #4862): the client's opening balances as one line, or `data: null` when the books hold none. The opening entries are the existing opening-balance definition (also read by the close checks): the QuickBooks opening and its true-up and the COA opening-balance proposal by `adjustment_reason`, and an entry posting a business event of type `opening_balances`. `eachSideCents` nets every account across those entries (a true-up adjusts rather than adds), then sums the debit nets. Read only; human accountants only.

## Path parameters

- `customerId` string, uuid, required

## Response `200`

The opening-balances line, or null

- object
  - `success` boolean, required
  - `data` object, nullable, required
    - `date` string, date, required: The earliest date an opening entry carries.
    - `eachSideCents` integer, required
    - `currency` string, nullable, required: Null when the opening entries mix currencies.
    - `sources` string[], required
    - `entries` object[], required
      - `jeId` string, uuid, required
      - `entryDate` string, date, required
      - `kind` 'qbo_opening_balance' | 'qbo_opening_balance_true_up' | 'coa_opening_balance_proposal' | 'business_event_opening_balances', required
      - `description` string, required
      - `debitCents` integer, 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/companies/:customerId/opening-balances/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)
