Calculate Tax P&L from Tradewise P&L

Tradewise trading activity provides you with an absolute value of profits made. Brokers can use tradewise trading activity to calculate Tax P&L for investors and traders.

API Pricing

Overview

This API calculates Tax P&L by taking in the tradewise trading activity

Problem

  • Brokers have to provide accurate Realized & Unrealized P&L.
  • Brokers must apply tax rules to accurately calculate Pre-Tax & Post-Tax returns on investments.
  • The tax landscape is ever-changing with announcements from regulators, tax departments & finance ministry.
  • Investors & Traders have to furnish accurate P&L, Holdings, and Turnover in their tax returns as per the tax law.
  • Brokers are unable to provide accurate tax computations.

Solution

  • API to calculate Tax P&L in real-time.
  • API covers tax calculation for corporate actions such as dividends, buybacks, etc.
  • Allows Brokers to visualize Tax P&L for their users.
  • Tax P&L report can be generated using tradewise or scripwise method.

Endpoint

HTTP MethodEndpoint
POST/calculators/income-tax/tax-pnl/tradewise

API Endpoint  Contact Us  Free Trial

Request

Follow the below guidelines to pass tradewise trading activty to calculate Tradewise Tax P&L.

Query Parameters

ParamTypeDescriptionExample
reportstringPossible values: tradewise, scripwisetradewise

Body

Equity Trade

ParamTypeRequiredDescription
isinstringNoISIN is the international security identification number
symbolstringYesSymbol or description of equity share
quantitynumberYesTrading quantity
buy_datestringYesDate of purchase
buy_averagenumberYesAverage buy price across all trades
sell_datestringYesDate of Sell
sell_averagenumberYesAverage sell price across all trades
fmvnumberNoHigh stock price on 31/01/2018
brokeragenumberNoBrokerage expense
clearing_chargesnumberNoCharges charged by clearing house
exchange_transaction_chargesnumberNoTransaction charges by exchange
sebi_turnover_feesnumberNoTurnover fees by SEBI
sttnumberNoSecurity Transaction Tax
stamp_dutynumberNoStamp duty paid on transfer of shares
sgstnumberNoState GST
cgstnumberNoCentral GST
igstnumberNoIntegrated GST
other_transfer_expensesnumberNoAny other expense relating to the transfer of shares
corporate_actionstringNoCorporate Action. Possible values: BUY_BACK, DIVIDEND

Mutual Fund Trade

ParamTypeRequiredDescription
isinstringNoISIN is the international security identification number
scheme_typestringYesScheme type, possible values
Equity, Debt, Other
symbolstringYesSymbol or description of equity share
quantitynumberYesTrading quantity
buy_datestringYesDate of purchase
buy_averagenumberYesAverage buy price across all trades
sell_datestringYesDate of Sell
sell_averagenumberYesAverage sell price across all trades
fmvnumberNoHigh stock price on 31/01/2018
brokeragenumberNoBrokerage expense
clearing_chargesnumberNoCharges charged by clearing house
exchange_transaction_chargesnumberNoTransaction charges by exchange
sebi_turnover_feesnumberNoTurnover fees by SEBI
sttnumberNoSecurity Transaction Tax
stamp_dutynumberNoStamp duty paid on transfer of shares
sgstnumberNoState GST
cgstnumberNoCentral GST
igstnumberNoIntegrated GST
other_transfer_expensesnumberNoAny other expense relating to the transfer of shares
corporate_actionstringNoCorporate Action. Possible values: BUY_BACK, DIVIDEND

Futures and Options Trade

ParamTypeRequiredDescription
symbolstringYesSymbol or description of equity share
typestringYesType, possible values
Futures, Options
quantitynumberYesTrading quantity
buy_averagenumberYesAverage buy price across all trades
sell_averagenumberYesAverage sell price across all trades
brokeragenumberNoBrokerage expense
clearing_chargesnumberNoCharges charged by clearing house
exchange_transaction_chargesnumberNoTransaction charges by exchange
sebi_turnover_feesnumberNoTurnover fees by SEBI
sttnumberNoSecurity Transaction Tax
stamp_dutynumberNoStamp duty paid on transfer of shares
sgstnumberNoState GST
cgstnumberNoCentral GST
igstnumberNoIntegrated GST
other_transfer_expensesnumberNoAny other expense relating to the transfer of shares

Sample CURL Request

curl --request POST \
     --url https://api.sandbox.co.in/calculators/income-tax/securities/tax-pnl/tradewise?report=tradewise \
     --header 'Authorization: xxxxxxxxxxxxxxxxxxxxxxx' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: xxxxxxxxxxxxxxxxxxxxx' \
     --header 'x-api-version: 1.0' \
     --data '
{
     "sheets": [
          {
               "name": "Equity",
               "blocks": [
                    {
                         "name": "Tradewise P&L",
                         "header": [
                              "isin",
                              "symbol",
                              "quantity",
                              "buy_date",
                              "buy_average",
                              "sell_date",
                              "sell_average",
                              "fmv",
                              "brokerage",
                              "clearing_charges",
                              "exchange_transaction_charges",
                              "sebi_turnover_fees",
                              "stt",
                              "stamp_duty",
                              "sgst",
                              "cgst",
                              "igst",
                              "other_transfer_expenses",
                              "corporate_action"
                         ],
                         "rows": [
                              [
                                   "INE079A01024",
                                   "AMBUJACEM",
                                   5,
                                   1651326845000,
                                   372.2,
                                   1653918845000,
                                   369.4,
                                   null,
                                   0,
                                   0,
                                   0.78,
                                   0.53,
                                   3.72,
                                   0,
                                   0,
                                   0,
                                   0,
                                   0,
                                   null
                              ]
                         ]
                    }
               ]
          },
          {
               "name": "Mutual Funds",
               "blocks": [
                    {
                         "name": "Tradewise P&L",
                         "header": [
                              "isin",
                              "scheme_type",
                              "symbol",
                              "quantity",
                              "buy_date",
                              "buy_average",
                              "sell_date",
                              "sell_average",
                              "fmv",
                              "brokerage",
                              "clearing_charges",
                              "exchange_transaction_charges",
                              "sebi_turnover_charges",
                              "stt",
                              "stamp_duty",
                              "sgst",
                              "cgst",
                              "igst",
                              "other_transfer_expenses",
                              "corporate_actions"
                         ],
                         "rows": []
                    }
               ]
          },
          {
               "name": "Futures & Options",
               "blocks": [
                    {
                         "name": "Tradewise P&L",
                         "header": [
                              "symbol",
                              "type",
                              "quantity",
                              "buy_average",
                              "sell_average",
                              "brokerage",
                              "clearing_charges",
                              "exchange_transaction_charges",
                              "sebi_turnover_fees",
                              "stt",
                              "stamp_duty",
                              "sgst",
                              "cgst",
                              "igst",
                              "other_transfer_expenses"
                         ],
                         "rows": []
                    }
               ]
          }
     ]
}
'

❗️

Test Environment Not Available

Response

Body

Equity Intraday Tradewise Tax P/L

ParamTypeDescription
isinstringISIN is the international security identification number
symbolstringSymbol or description of equity share
quantitynumberTrading quantity
buy_trade_idstringTransaction ID of the buy transaction
buy_datenumberThe date on which the equity share was bought
buy_pricenumberPrice at which a unit was bought
sell_trade_idstringTransaction ID of the sell transaction
sell_datenumberThe date on which the equity share was sold
sell_pricenumberPrice at which a unit was sold
brokeragenumberBrokerage expense
clearing_chargesnumberCharges charged by clearing house
exchange_transaction_chargesnumberTransaction charges by exchange
sebi_turnover_feesnumberTurnover fees by SEBI
sttnumberSecurity Transaction Tax
stamp_dutynumberStamp duty paid on transfer of shares
sgstnumberState GST
cgstnumberCentral GST
igstnumberIntegrated GST
other_transfer_expensesnumberAny other expense relating to the transfer of shares
realized_pnlnumberThe realized profit or loss on the trade without considering transfer expenses
transfer_expensesnumberAny expense relating to the transfer of shares.
net_realized_pnlnumberThe realized profit or loss on the trade after considering transfer expenses
taxable_pnlstringThe taxable amount of the trade
holding_periodstringThe holding period of the equity utual fund could be either long_term or short_term
turnovernumberTurnover of the transaction
income_headstringThe income head of ITR under which the income of a specific trade is to be reported
income_sub_headstringThe income subhead of ITR under which the income of a specific trade is to be reported
tax_ratestringThe applicable tax rate for the trade.

Equity Delivery Tradewise Tax P/L

ParamTypeDescription
isinstringISIN is the international security identification number
symbolstringSymbol or description of equity share
quantitynumberTrading quantity
buy_trade_idstringTransaction ID of the buy transaction
buy_datenumberThe date on which the equity share was bought
buy_pricenumberPrice at which a unit was bought
sell_trade_idstringTransaction ID of the sell transaction
sell_datenumberThe date on which the equity share was sold
sell_pricenumberPrice at which a unit was sold
fmvnumberFare market value as on 31.01.2018
cost_of_acquisitionnumbercost of acquisition considered for calculating taxable pnl.
brokeragenumberBrokerage expense
clearing_chargesnumberCharges charged by clearing house
exchange_transaction_chargesnumberTransaction charges by exchange
sebi_turnover_feesnumberTurnover fees by SEBI
sttnumberSecurity Transaction Tax
stamp_dutynumberStamp duty paid on transfer of shares
sgstnumberState GST
cgstnumberCentral GST
igstnumberIntegrated GST
other_transfer_expensesnumberAny other expense relating to the transfer of shares
nature_of_transactionstringThe nature of the transaction of the equity share
realized_pnlnumberThe realized profit or loss on the trade without considering transfer expenses
transfer_expensesnumberAny expense relating to the transfer of shares.
net_realized_pnlnumberThe realized profit or loss on the trade after considering transfer expenses
taxable_pnlstringThe taxable amount of the trade
holding_periodstringThe holding period of the equity utual fund could be either long_term or short_term
turnovernumberTurnover of the transaction
income_headstringThe income head of ITR under which the income of a specific trade is to be reported
income_sub_headstringThe income subhead of ITR under which the income of a specific trade is to be reported
tax_ratestringThe applicable tax rate for the trade.

Mutual Fund Tradewise Tax P/L

ParamTypeDescription
isinstringISIN is the international security identification number
scheme_namestringSymbol or description of equity share
scheme_typestring
quantitynumberTrading quantity
buy_trade_idstringTransaction ID of the buy transaction
buy_datenumberThe date on which the equity share was bought
buy_pricenumberPrice at which a unit was bought
sell_trade_idstringTransaction ID of the sell transaction
sell_datenumberThe date on which the equity share was sold
sell_pricenumberPrice at which a unit was sold
fmvnumberFare market value as on 31.01.2018
cost_of_acquisitionnumbercost of acquisition considered for calculating taxable pnl.
brokeragenumberBrokerage expense
clearing_chargesnumberCharges charged by clearing house
exchange_transaction_chargesnumberTransaction charges by exchange
sebi_turnover_feesnumberTurnover fees by SEBI
sttnumberSecurity Transaction Tax
stamp_dutynumberStamp duty paid on transfer of shares
sgstnumberState GST
cgstnumberCentral GST
igstnumberIntegrated GST
other_transfer_expensesnumberAny other expense relating to the transfer of shares
nature_of_transactionstringThe nature of the transaction of the equity share
realized_pnlnumberThe realized profit or loss on the trade without considering transfer expenses
transfer_expensesnumberAny expense relating to the transfer of shares.
net_realized_pnlnumberThe realized profit or loss on the trade after considering transfer expenses
taxable_pnlstringThe taxable amount of the trade
holding_periodstringThe holding period of the mutual fund could be either long_term or short_term
turnovernumberTurnover of the transaction
income_headstringThe income head of ITR under which the income of a specific trade is to be reported
income_sub_headstringThe income subhead of ITR under which the income of a specific trade is to be reported
tax_ratestringThe applicable tax rate for the trade.

Futures And Options Tradewise Tax P/L

ParamTypeDescription
contract_namestringName of contract
asset_typestringThe asset type of the contract. Possible values
option & future.
asset_classstringThe asset class of the contract. Possible values
equity, currency & commodity
quantitynumberTrading quantity
buy_trade_idstringTransaction ID of the buy transaction
buy_datenumberThe date on which the equity share was bought
buy_pricenumberPrice at which a unit was bought
sell_trade_idstringTransaction ID of the sell transaction
sell_datenumberThe date on which the equity share was sold
sell_pricenumberPrice at which a unit was sold
brokeragenumberBrokerage expense
clearing_chargesnumberCharges charged by clearing house
exchange_transaction_chargesnumberTransaction charges by exchange
sebi_turnover_feesnumberTurnover fees by SEBI
sttnumberSecurity Transaction Tax
stamp_dutynumberStamp duty paid on transfer of shares
sgstnumberState GST
cgstnumberCentral GST
igstnumberIntegrated GST
other_transfer_expensesnumberAny other expense relating to the transfer of shares
nature_of_transactionstringThe nature of the transaction of the equity share
realized_pnlnumberThe realized profit or loss on the trade without considering transfer expenses
transfer_expensesnumberAny expense relating to the transfer of shares.
net_realized_pnlnumberThe realized profit or loss on the trade after considering transfer expenses
taxable_pnlstringThe taxable amount of the trade
holding_periodstringThe holding period of the mutual fund could be either long_term or short_term
turnovernumberTurnover of the transaction
income_headstringThe income head of ITR under which the income of a specific trade is to be reported
income_sub_headstringThe income subhead of ITR under which the income of a specific trade is to be reported
tax_ratestringThe applicable tax rate for the trade.

Asset Wise Summary

ParamTypeDescription
asset_classstringAsset class
asset_typestringAsset category
income_headstringThe income head of ITR under which the income of a specific income is to be reported
income_sub_headstringThe income subhead of ITR under which the income of a specific income is to be reported
holding_periodstringThe holding period of the asset could be either long_term or short_term
turnovernumberTurnover of the transactions
realized_pnlnumberThe realized profit or loss on trades without considering transfer expenses
transfer_expensesnumberAny expense relating to the transfer of assets
net_realized_pnlnumberThe realized profit or loss on trades after considering transfer expenses
taxable_pnlnumberThe taxable amount

Tax P/L Summary

This table gives a summary of your crypto trades grouped by income_head, income_sub_head, and holding_period.

ParamTypeDescription
income_headstringThe income head of ITR under which the income is to be reported
income_sub_headstringThe income subhead of ITR under which the income is to be reported
holding_periodstringThe holding period of the crypto.
tax_ratestringThe applicable tax rate for all trades.
realized_pnlnumberTotal realized profit or loss on the trades without considering expenses
transfer_expensesnumberTotal expenses that occurred during the transafer of crypto, could be network fees, brokerage, or any other transaction fee.
net_realized_pnlnumberTotal realized profit or loss on the trades after considering expenses
taxable_pnlstringThe total taxable amount of all trades

Sample Response

You can refer to the sample response in workbook format

View Workbook

The API responds back in a sheet structure. An example response is shown below.

{
    "code": 200,
    "timestamp": "1681481686000",
    "data": {
        "name": "tradewise_tax_pnl_workbook",
        "@entity": "workbook",
        "sheets": [
            {
                "name": "equity_tradewise_tax_pnl_sheet",
                "@entity": "sheet",
                "blocks": [
                    {
                        "name": "equity_intraday_tradewise_tax_pnl_table",
                        "@entity": "table",
                        "header": [
                            "isin",
                            "symbol",
                            "quantity",
                            "buy_trade_id",
                            "buy_date",
                            "buy_price",
                            "sell_trade_id",
                            "sell_date",
                            "sell_price",
                            "brokerage",
                            "clearing_charges",
                            "exchange_transaction_charges",
                            "sebi_turnover_fees",
                            "stt",
                            "stamp_duty",
                            "sgst",
                            "cgst",
                            "igst",
                            "other_transfer_expenses",
                            "realized_pnl",
                            "total_transfer_expenses",
                            "net_realized_pnl",
                            "taxable_pnl",
                            "turnover",
                            "income_head",
                            "income_sub_head",
                            "tax_rate"
                        ],
                        "rows": [
                            [
                                "INE190B01019",
                                "INFY",
                                40,
                                "1",
                                1617135200000,
                                80,
                                "7",
                                1617135209000,
                                100,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                800,
                                0,
                                800,
                                800,
                                800,
                                "business_and_profession",
                                "speculative",
                                "slab_rate"
                            ]
                        ]
                    },
                    {
                        "name": "equity_delivery_tradewise_tax_pnl_table",
                        "@entity": "table",
                        "header": [
                            "isin",
                            "symbol",
                            "is_listed",
                            "is_stt_paid",
                            "quantity",
                            "buy_trade_id",
                            "buy_date",
                            "buy_price",
                            "sell_trade_id",
                            "sell_date",
                            "sell_price",
                            "fmv",
                            "cost_of_aquisition",
                            "brokerage",
                            "clearing_charges",
                            "exchange_transaction_charges",
                            "sebi_turnover_fees",
                            "stt",
                            "stamp_duty",
                            "sgst",
                            "cgst",
                            "igst",
                            "other_transfer_expenses",
                            "nature_of_transaction",
                            "realized_pnl",
                            "total_transfer_expenses",
                            "net_realized_pnl",
                            "taxable_pnl",
                            "holding_period",
                            "turnover",
                            "income_head",
                            "income_sub_head",
                            "tax_rate"
                        ],
                        "rows": [
                            [
                                "INE423A01024",
                                "ADANIENT",
                                true,
                                true,
                                0.2,
                                "4",
                                1617321600000,
                                1000,
                                "17",
                                1637366400000,
                                1200,
                                1200,
                                1000,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                "trading",
                                40.0,
                                0,
                                40.0,
                                40.0,
                                "short_term",
                                240.0,
                                "capital_gains",
                                "securities",
                                "15"
                            ],
                            [
                                "INE190B01019",
                                "INFY",
                                true,
                                true,
                                10,
                                "1",
                                1617135200000,
                                80,
                                "18",
                                1638567500000,
                                250,
                                250,
                                80,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                "trading",
                                1700,
                                0,
                                1700,
                                1700,
                                "short_term",
                                2500,
                                "capital_gains",
                                "securities",
                                "15"
                            ],
                            [
                                "INE190B01019",
                                "INFY",
                                true,
                                true,
                                5,
                                "2",
                                1617195200000,
                                70,
                                "18",
                                1638567500000,
                                250,
                                250,
                                70,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                "trading",
                                900,
                                0,
                                900,
                                900,
                                "short_term",
                                1250,
                                "capital_gains",
                                "securities",
                                "15"
                            ],
                            [
                                "INE245A01021",
                                "TATAPOWER",
                                true,
                                true,
                                24.7349,
                                "3",
                                1617235200000,
                                75,
                                "5",
                                1620604800000,
                                20,
                                20,
                                75,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                "trading",
                                -1360.4195,
                                0,
                                -1360.4195,
                                0,
                                "short_term",
                                494.6980,
                                "capital_gains",
                                "securities",
                                "15"
                            ],
                            [
                                "INE245A01021",
                                "TATAPOWER",
                                true,
                                true,
                                24.7349,
                                "3",
                                1617235200000,
                                75,
                                "8",
                                1623369600000,
                                80,
                                80,
                                75,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                "trading",
                                123.6745,
                                0,
                                123.6745,
                                123.6745,
                                "short_term",
                                1978.7920,
                                "capital_gains",
                                "securities",
                                "15"
                            ]
                        ]
                    }
                ]
            },
            {
                "name": "mutual_fund_tradewise_tax_pnl_sheet",
                "@entity": "sheet",
                "blocks": [
                    {
                        "name": "mutual_fund_tradewise_tax_pnl_table",
                        "@entity": "table",
                        "header": [
                            "isin",
                            "scheme_name",
                            "scheme_type",
                            "is_listed",
                            "is_stt_paid",
                            "quantity",
                            "buy_trade_id",
                            "buy_date",
                            "buy_price",
                            "sell_trade_id",
                            "sell_date",
                            "sell_price",
                            "fmv",
                            "cost_of_acquisation",
                            "brokerage",
                            "clearing_charges",
                            "exchange_transaction_charges",
                            "sebi_turnover_fees",
                            "stt",
                            "stamp_duty",
                            "sgst",
                            "cgst",
                            "igst",
                            "other_transfer_expenses",
                            "nature_of_transaction",
                            "realized_pnl",
                            "total_transfer_expenses",
                            "net_realized_pnl",
                            "taxable_pnl",
                            "holding_period",
                            "turnover",
                            "income_head",
                            "income_sub_head",
                            "tax_rate"
                        ],
                        "rows": [
                            [
                                "INF179KB1HP9",
                                "HDFC LIQUID FUND - DIRECT PLAN",
                                "debt",
                                true,
                                true,
                                0.246,
                                "89741a",
                                1619740800,
                                1001.7183,
                                "24896a",
                                1622505600,
                                1000.4106,
                                0,
                                1001.7183,
                                0,
                                0,
                                0,
                                0,
                                189.6437,
                                0,
                                0,
                                0,
                                0,
                                0,
                                null,
                                -0.3217,
                                189.6437,
                                -189.9654,
                                0.0000,
                                "short_term",
                                246.1010,
                                "capital_gains",
                                "other_capital_gains",
                                "slab_rate"
                            ],
                            [
                                "INF277K01YE6",
                                "TATA LIQUID FUND - DIRECT PLAN",
                                "equity",
                                true,
                                true,
                                30.603,
                                "14712a",
                                1618876800,
                                99996.0019,
                                "41564a",
                                1623196800,
                                99994.1059,
                                0,
                                99996.0019,
                                0,
                                0,
                                0,
                                0,
                                211.5664,
                                0,
                                0,
                                0,
                                0,
                                0,
                                null,
                                -58.0233,
                                211.5664,
                                -269.5897,
                                0.0000,
                                "short_term",
                                3060119.6229,
                                "capital_gains",
                                "securities",
                                "15"
                            ],
                            [
                                "INE397D01024",
                                "HDFC CREDIT RISK DEBT FUND - DIRECT PLAN",
                                "debt",
                                true,
                                true,
                                150,
                                "15648a",
                                1622937600,
                                520,
                                "15648a",
                                1628208000,
                                400,
                                0,
                                520,
                                0,
                                0,
                                0,
                                0,
                                87,
                                0,
                                0,
                                0,
                                0,
                                0,
                                null,
                                -18000.0000,
                                87.0000,
                                -18087.0000,
                                0.0000,
                                "short_term",
                                60000.0000,
                                "capital_gains",
                                "other_capital_gains",
                                "slab_rate"
                            ]
                        ]
                    }
                ]
            },
            {
                "name": "futures_and_options_tradewise_tax_pnl_sheet",
                "@entity": "sheet",
                "blocks": [
                    {
                        "name": "futures_and_options_tradewise_tax_pnl_table",
                        "@entity": "table",
                        "header": [
                            "contract_name",
                            "asset_type",
                            "asset_class",
                            "quantity",
                            "buy_trade_id",
                            "buy_date",
                            "buy_price",
                            "sell_trade_id",
                            "sell_date",
                            "sell_price",
                            "brokerage",
                            "clearing_charges",
                            "exchange_transaction_charges",
                            "sebi_turnover_fees",
                            "stt",
                            "stamp_duty",
                            "sgst",
                            "cgst",
                            "igst",
                            "other_transfer_expenses",
                            "nature_of_transaction",
                            "realized_pnl",
                            "total_transfer_expenses",
                            "net_realized_pnl",
                            "taxable_pnl",
                            "turnover",
                            "income_head",
                            "income_sub_head",
                            "tax_rate"
                        ],
                        "rows": [
                            [
                                "NIFTY21JUN15800CE",
                                "option",
                                "Equity",
                                150,
                                "456789a",
                                1649548800,
                                171.775,
                                "333444a",
                                1653436800,
                                171.45,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                null,
                                -48.7500,
                                0.0000,
                                -48.7500,
                                0.0000,
                                48.7500,
                                "business_and_profession",
                                "non_speculative",
                                "slab_rate"
                            ],
                            [
                                "FINNIFTY21MAYFUT",
                                "future",
                                "Equity",
                                40,
                                "54612a",
                                1649548800,
                                15700,
                                "123098a",
                                1653436800,
                                15685.9,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                null,
                                -564.0000,
                                0.0000,
                                -564.0000,
                                0.0000,
                                564.0000,
                                "business_and_profession",
                                "non_speculative",
                                "slab_rate"
                            ],
                            [
                                "USD21APR14700CE",
                                "option",
                                "Currency",
                                75,
                                "54321a",
                                1649548800,
                                363.15,
                                "890123a",
                                1653436800,
                                194.9,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                null,
                                -12618.7500,
                                0.0000,
                                -12618.7500,
                                0.0000,
                                12618.7500,
                                "business_and_profession",
                                "non_speculative",
                                "slab_rate"
                            ],
                            [
                                "CRUDE21APR14700CE",
                                "option",
                                "Commodity",
                                75,
                                "12345a",
                                1648771200,
                                363.1,
                                "789012a",
                                1653436800,
                                194.9,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                null,
                                -12615.0000,
                                0.0000,
                                -12615.0000,
                                0.0000,
                                12615.0000,
                                "business_and_profession",
                                "non_speculative",
                                "slab_rate"
                            ],
                            [
                                "NIFTY21JUN17500CE",
                                "option",
                                "Equity",
                                75,
                                "15484a",
                                1649548800,
                                4.55,
                                "345876a",
                                1653436800,
                                4.7,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                0,
                                null,
                                11.2500,
                                0.0000,
                                11.2500,
                                11.2500,
                                11.2500,
                                "business_and_profession",
                                "non_speculative",
                                "slab_rate"
                            ]
                        ]
                    }
                ]
            },
            {
                "name": "tradewise_tax_pnl_summary_sheet",
                "@entity": "sheet",
                "blocks": [
                    {
                        "name": "asset_wise_summary_table",
                        "@entity": "table",
                        "header": [
                            "asset_class",
                            "asset_type",
                            "income_head",
                            "income_sub_head",
                            "holding_period",
                            "turnover",
                            "realized_pnl",
                            "transfer_expenses",
                            "net_realized_pnl",
                            "taxable_pnl"
                        ],
                        "rows": [
                            [
                                "equity",
                                "share",
                                "capital_gains",
                                "securities",
                                "short_term",
                                6463.490,
                                1403.2550,
                                0,
                                1403.2550,
                                1403.2550
                            ],
                            [
                                "equity",
                                "share",
                                "capital_gains",
                                "securities",
                                "long_term",
                                0,
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "equity",
                                "share",
                                "business_and_profession",
                                "speculative",
                                "intraday",
                                800,
                                800,
                                0,
                                800,
                                800
                            ],
                            [
                                "equity",
                                "mutual_fund",
                                "capital_gains",
                                "securities",
                                "short_term",
                                3060119.6229,
                                -58.0233,
                                211.5664,
                                -269.5897,
                                0
                            ],
                            [
                                "equity",
                                "mutual_fund",
                                "capital_gains",
                                "securities",
                                "long_term",
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "debt",
                                "mutual_fund",
                                "capital_gains",
                                "other_capital_gains",
                                "short_term",
                                60246.101,
                                -18000.3217,
                                276.6437,
                                -18276.9654,
                                0
                            ],
                            [
                                "debt",
                                "mutual_fund",
                                "capital_gains",
                                "other_capital_gains",
                                "long_term",
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "other",
                                "mutual_fund",
                                "capital_gains",
                                "other_capital_gains",
                                "short_term",
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "other",
                                "mutual_fund",
                                "capital_gains",
                                "other_capital_gains",
                                "long_term",
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "equity",
                                "future",
                                "business_and_profession",
                                "non_speculative",
                                null,
                                564,
                                -564,
                                0,
                                -564,
                                0
                            ],
                            [
                                "commodity",
                                "future",
                                "business_and_profession",
                                "non_speculative",
                                null,
                                0,
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "currency",
                                "future",
                                "business_and_profession",
                                "non_speculative",
                                null,
                                0,
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "equity",
                                "option",
                                "business_and_profession",
                                "non_speculative",
                                null,
                                60.00,
                                -37.50,
                                0,
                                -37.50,
                                0
                            ],
                            [
                                "commodity",
                                "option",
                                "business_and_profession",
                                "non_speculative",
                                null,
                                12615,
                                -12615,
                                0,
                                -12615,
                                0
                            ],
                            [
                                "currency",
                                "option",
                                "business_and_profession",
                                "non_speculative",
                                null,
                                12618.75,
                                -12618.75,
                                0,
                                -12618.75,
                                0
                            ]
                        ]
                    },
                    {
                        "name": "tradewise_tax_pnl_summary_table",
                        "@entity": "table",
                        "header": [
                            "income_head",
                            "income_sub_head",
                            "holding_period",
                            "tax_rate",
                            "turnover",
                            "realized_pnl",
                            "transfer_expenses",
                            "net_realized_pnl",
                            "taxable_pnl"
                        ],
                        "rows": [
                            [
                                "capital_gains",
                                "securities",
                                "short_term",
                                "slab_rate",
                                0,
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "capital_gains",
                                "securities",
                                "short_term",
                                "15",
                                3066583.1129,
                                1345.2317,
                                211.5664,
                                1133.6653,
                                1133.6653
                            ],
                            [
                                "capital_gains",
                                "securities",
                                "long_term",
                                "10",
                                0,
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "capital_gains",
                                "securities",
                                "long_term",
                                "20",
                                0,
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "business_and_profession",
                                "speculative",
                                "intraday",
                                "slab_rate",
                                800,
                                800,
                                0,
                                800,
                                800
                            ],
                            [
                                "capital_gains",
                                "other_capital_gains",
                                "short_term",
                                "slab_rate",
                                60246.101,
                                -18000.3217,
                                276.6437,
                                -18276.9654,
                                0
                            ],
                            [
                                "capital_gains",
                                "other_capital_gains",
                                "long_term",
                                "20",
                                0,
                                0,
                                0,
                                0,
                                0
                            ],
                            [
                                "business_and_profession",
                                "non_speculative",
                                null,
                                "slab_rate",
                                25857.75,
                                -25835.25,
                                0,
                                -25835.25,
                                0
                            ]
                        ]
                    }
                ]
            }
        ]
    }
}

Response Caching

Response caching is not available for this API. Learn more about our response caching mechanism here

Annexure

Annexure-1 Corporate Actions

The enumeration is explained below:

Corporate ActionENUM
Amalgamationamalgamation
Bonus Issuebonus_issue
Buy Back of Sharesbuy_back
Consolidation of Sharesconsolidation
Dividenddividend
Dividend on Preference Sharesdividend
Income Distribution (InvIT)income_distribution_invit
Income Distribution RITESincome_distribution_rites
InvIT - Return of Capitalreturn_of_capital_invit
Preferential Issue of sharespreferential_issue
Reduction of Capitalreduction_of_capital
Right Issue of Equity Sharesright_issue
Scheme of Arrangementscheme_of_arrangement
Spin Offspin_off
Stock Splitstock_split
Voluntary Delisting of Sharesvoluntary_delisting_of_share

Wallet Charge

Since the Tax P&L Calculator from Tradebook API is not a Paid API, no wallet charge will take place.

Versioning

This API is currently in major version 1.0. Refer to our versioning policies here