---
title: "Get General Ledger"
method: GET
path: "/api/v1/FinancialReports/generalledger"
tags: ["FinancialReports"]
---

# Get General Ledger

`GET /api/v1/FinancialReports/generalledger`

## Request

- Base URL: `https://api.peakaccount.com`
- URL: `https://api.peakaccount.com/api/v1/FinancialReports/generalledger`
- 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/generalledger/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `fromDate` string, required
- `toDate` string, required
- `accountCode` string, required
- `isShowSubAccount` string

## Headers

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

## Response `200`

Success

- PeakAPIsLibraryModelResponseFinancialReportsResponseGeneralLedgerModel
  - `peakGeneralLedger` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPIGeneralLedgerModel
    - `resCode` string
    - `resDesc` string
    - `fromDate` string
    - `toDate` string
    - `generalLedgers` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPIGeneralLedgerItemModel[]
      - `account` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPIGeneralLedgerAccountModel
        - `accountCode` string
        - `accountName` string
        - `subAccountCode` string
        - `subAccountName` string
        - `isSubAccount` boolean
      - `summary` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPIGeneralLedgerSummaryModel
        - `beginningBalance` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceValueModel
          - `debit` number, double
          - `credit` number, double
        - `change` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceValueModel
          - `debit` number, double
          - `credit` number, double
        - `endingBalance` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPITrialBalanceValueModel
          - `debit` number, double
          - `credit` number, double
      - `transactions` PeakAPIsLibraryModelEcoSystemResponseFinancialReportsAPIGeneralLedgerTransactionModel[]
        - `date` string
        - `journalNumber` string
        - `description` string
        - `debit` number, double
        - `credit` number, double
      - `totalTransactions` integer
  - `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/generalledger/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)
