Tradebook P&L

21522152

About

  • Calculate Tax P&L for Foreign Equity', Equity,Mutual Funds&Future & Options` from Tradebook P&L.

Usecase

  • For Stock Brokers to visualize Tax P&L and provide report download to investors and traders

Endpoint

HTTP MethodEndpointDescription
POST/calculators/income-tax/securities/tax-pnl/tradebookA Request Body (JSON) of Tradebook P&L is uploaded for calculating the Tax P&L.

API EndpointAPI Endpoint

Request Body

Foreign Equity Trade

The headers are explained below:

ParamTypeRequiredDescription
isinstringNoISIN is the international security identification number
symbolstringYesSymbol or description of equity share
quantitynumberYesTrading quantity
datenumberYesTransaction epoch
timestamp
pricenumberYesTransaction price
transaction_typestringYesTransaction type from possible
values of 'BUY' or 'SELL'
transfer_expensesnumberYesTransfer expense
corporate_actionstringNoCorporate Action. Possible values: BUY_BACK, DIVIDEND

ADR

The headers are explained below:

ParamTypeRequiredDescription
isinstringNoISIN is the international security identification number
symbolstringYesSymbol or description of equity share
quantitynumberYesTrading quantity
datenumberYesTransaction epoch
timestamp
pricenumberYesTransaction price
transaction_typestringYesTransaction type from possible
values of 'BUY' or 'SELL'
transfer_expensesnumberYesTransfer expense
corporate_actionstringNoCorporate Action. Possible values: BUY_BACK, DIVIDEND

Foreign Mutual Fund Trade

The headers are explained below:

ParamTypeRequiredDescription
isinstringNoISIN is the international security identification number
typestringYesScheme type, possible values
Equity, Debt, Other
symbolstringYesSymbol or description of equity share
quantitynumberYesTrading quantity
datenumberYesTransaction epoch
timestamp
pricenumberYesTransaction price
transaction_typestringYesTransaction type from possible
values of 'BUY' or 'SELL'
transfer_expensesnumberYesTransfer expense

Foreign Futures and Options Trade

The headers are explained below:

ParamTypeRequiredDescription
symbolstringYesSymbol or description of equity share
typestringYesType, possible values
Futures, Options
quantitynumberYesTrading quantity
datenumberYesTransaction epoch timestamp
pricenumberYesTransaction price
transaction_typestringYesTransaction type possible values 'BUY' 'SELL'
transfer_expensesnumberYesTransfer expenses

Equity Trade

The headers are explained below:

ParamTypeRequiredDescription
isinstringNoISIN is the international security identification number
symbolstringYesSymbol or description of equity share
quantitynumberYesTrading quantity
datenumberYesTransaction epoch
timestamp
pricenumberYesTransaction price
transaction_typestringYesTransaction type from possible
values of 'BUY' or 'SELL'
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

The headers are explained below:

ParamTypeRequiredDescription
isinstringNoISIN is the international security identification number
typestringYesScheme type, possible values
Equity, Debt, Other
symbolstringYesSymbol or description of equity share
quantitynumberYesTrading quantity
datenumberYesTransaction epoch timestamp
pricenumberYesTransaction price
transaction_typestringYesTransaction type possible
value 'BUY' 'SELL'
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

Futures and Options Trade

The headers are explained below:

ParamTypeRequiredDescription
symbolstringYesSymbol or description of equity share
typestringYesType, possible values
Futures, Options
quantitynumberYesTrading quantity
datenumberYesTransaction epoch timestamp
pricenumberYesTransaction price
transaction_typestringYesTransaction type possible values 'BUY' 'SELL'
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 Actions

The enumeration 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 RITESRITES
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 SharesDELISTING