---
title: "Get Trial Balance"
method: GET
path: "/api/v1/FinancialReports/trialbalance"
tags: ["FinancialReports"]
---

# Get Trial Balance

`GET /api/v1/FinancialReports/trialbalance`

## Request

- Base URL: `https://api.peakaccount.com`
- URL: `https://api.peakaccount.com/api/v1/FinancialReports/trialbalance`
- Auth: none declared. Required headers: `Time-Stamp`, `Time-Signature`, `User-Token`, `Client-Token`
- TypeScript: <https://skmtc.dev/peakaccount/apis/peakapis-core/docs/api/v1/FinancialReports/trialbalance/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `fromMonth` string, required: The start month of the reporting period, in yyyyMM format (e.g. 202602). Expanded to the first day of that month: account movements are accumulated from that day onward, and the beginning balance is the accumulated balance up to the day before it
- `toMonth` string, required: The end month of the reporting period, in yyyyMM format (e.g. 202602). Expanded to the last day of that month: account movements are accumulated up to and including that day, and the ending balance is the accumulated balance as of that day. Must not be earlier than fromMonth
- `isShowSubAccount` boolean: Send true to break each account code down into its sub accounts, returning one entry per sub account. Defaults to false, which returns one entry per account code only

## Headers

- `Time-Stamp` string, required
- `Time-Signature` string, required
- `User-Token` string, required
- `Client-Token` string, required

## Response `200`

Success

- PeakAPIsLibraryModelResponseFinancialReportsResponseTrialBalanceModel
  - `peakTrialBalance` PeakAPIsLibraryModelResponseFinancialReportsAPIBodyTrialBalance
    - `trialBalanceAccount` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceAccountModel[]
      - `account` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceAccountDetailModel
        - `accountCode` string
        - `accountName` string
        - `subAccountCode` string
        - `subAccountName` string
        - `isSubAccount` boolean
      - `beginningBalance` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceValueModel
        - `debit` number, double
        - `credit` number, double
      - `change` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceValueModel
        - `debit` number, double
        - `credit` number, double
      - `endingBalance` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceValueModel
        - `debit` number, double
        - `credit` number, double
    - `summary` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceSummaryModel
      - `beginningBalance` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceValueModel
        - `debit` number, double
        - `credit` number, double
      - `change` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceValueModel
        - `debit` number, double
        - `credit` number, double
      - `endingBalance` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceValueModel
        - `debit` number, double
        - `credit` number, double
    - `resDesc` string
    - `resCode` string
  - `eventType` string
  - `apiType` string

## Changes

- **2026-11-03** `433c913c750f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/peakaccount/apis/peakapis-core/changes/api/v1/FinancialReports/trialbalance/get.md)

---

[API](https://skmtc.dev/peakaccount/apis/peakapis-core.md) - [All operations](https://skmtc.dev/peakaccount/apis/peakapis-core/llms.txt) - [OpenAPI document](https://skmtc.dev/peakaccount/apis/peakapis-core/revisions/433c913c750f?raw)
