Ledger Report
This API allows you to fetch the ledger entries of your account.
USE CASE
Check money movements such as funds added, funds withdrawn and trading entries, with the running balance after each.
Details
- Fetches all ledger for a specified date range. If no date range is provided, it defaults to the current financial year.
- Filter with
transaction_type: 0 all, 1 BR (funds added), 2 BP (funds withdrawn), 3 SJ (trading), 4 JV (non trading) and 5 MTF. - The request attributes list no date fields, although the description says the default period is the current financial year.
- Results are paged:
page_sizedefaults to 100 andpage_noto 1. The sample response also returnstotal_countand asummary_datablock with opening and closing balance. segment_typeis 0 all, 1 equity, 2 equity derivatives, 3 mutual funds, 4 currency derivatives and 5 commodity derivatives.exchange_typeis 0 all, 1 NSE, 2 BSE and 3 MCX.- Rate limits differ between the Standard and Prime plans. See Plans & rate limits.
Request Attributes - For fetching ledger history
| Attribute | Data Type | Description |
|---|---|---|
page_size | string | The number of records to be fetched in one page (default is 100) |
page_no | string | The page number to fetch (default is 1) |
segment_type | string |
|
exchange_type | string |
|
transaction_type | string |
|
Response data attributes - For each ledger
| Attribute | Data Type | Description |
|---|---|---|
date | int | Date on which the transaction occurred. |
transaction_type | int | Type of transaction such as fund transfer or charges. |
description | string | Details of the transaction performed on that day. |
credit_amount | string | Amount credited to your account. |
debit_amount | string | Amount debited from your account. |
running_balance | string | Your current account balance. |
Response summary attributes - For the summary of the ledger
| Attribute | Data Type | Description |
|---|---|---|
funds_withdrawn | float | Total amount withdrawn by you from your trading account. |
funds_added | float | Total amount added by you to your trading account. |
opening_balance | float | Account balance at the beginning of the selected period. |
closing_balance | float | Account balance at the end of the selected period. |
Last updated on