curl --request POST \
--url https://test-api.sandbox.co.in/it/calculator/tax-pnl/crypto/sync \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"name": "crypto_currency_tradebook_workbook",
"@entity": "workbook",
"sheets": [
{
"name": "spot_sheet",
"@entity": "sheet",
"blocks": [
{
"name": "spot_tradebook_table",
"@entity": "table",
"header": [
"id",
"date",
"transaction_type",
"label",
"received_currency",
"received_quantity",
"price",
"price_currency",
"price_inr",
"sent_currency",
"sent_quantity",
"fee_currency",
"fee_amount",
"fee_amount_inr"
],
"rows": [
[
"acdcwefew3e1113vcd",
1756721330000,
"buy",
null,
"USDT",
50,
75,
"USDT",
6600,
null,
null,
"INR",
50,
50
],
[
"nknee38ni9cd3defeve",
1757930930000,
"sell",
null,
null,
null,
90,
"USDT",
8055,
"USDT",
45,
"INR",
25,
25
],
[
"hjdj0plsejw3n227890c",
1760522930000,
"buy",
null,
"USDT",
10,
88,
"USDT",
7832,
null,
null,
"INR",
50,
50
],
[
"nrezxcetgf2334jk0333d",
1763201330000,
"sell",
null,
null,
null,
125,
"USDT",
11312.5,
"USDT",
8,
"INR",
25,
25
],
[
"fwhjceco2trsc344f322e",
1763815154000,
"buy",
null,
"USDT",
40,
121,
"USDT",
10708.5,
null,
null,
"INR",
50,
50
],
[
"zxc1rtvmk3456hkkve3w",
1764410930000,
"sell",
null,
null,
null,
131,
"USDT",
11790,
"USDT",
30,
"INR",
25,
25
]
]
},
{
"name": "spot_last_traded_price_table",
"@entity": "table",
"header": [
"symbol",
"currency",
"last_traded_price",
"last_traded_price_inr"
],
"rows": [
[
"USDT",
"INR",
135,
135
]
]
}
]
},
{
"name": "future_sheet",
"@entity": "sheet",
"blocks": [
{
"name": "future_tradebook_table",
"@entity": "table",
"header": [
"id",
"contract_name",
"transaction_type",
"date",
"quantity",
"price",
"price_currency",
"price_inr",
"fee_amount",
"fee_currency",
"fee_amount_inr"
],
"rows": [
[
"addf3434mkvefv456h",
"BTC-USDT",
"buy",
1756721330000,
7,
115,
"USDT",
10120,
500,
"INR",
500
],
[
"fege4343gbgee344tg",
"BTC-USDT",
"sell",
1757930930000,
4,
155,
"USDT",
13795,
750,
"INR",
750
],
[
"fhtyjrg35n788985gff3",
"ETH-USDT",
"buy",
1760522930000,
5,
125,
"USDT",
11250,
1000,
"INR",
1000
],
[
"fhtyjrg35n788985gff4",
"XRP-USDT",
"buy",
1763201330000,
3,
105,
"USDT",
9555,
1250,
"INR",
1250
],
[
"fhtyjrg35n788985gff5",
"ETH-USDT",
"sell",
1764410930000,
4,
100,
"USDT",
9200,
1500,
"INR",
1500
]
]
},
{
"name": "future_last_traded_price_table",
"@entity": "table",
"header": [
"contract_name",
"currency",
"last_traded_price",
"last_traded_price_inr"
],
"rows": [
[
"BTC-USDT",
"INR",
175,
175
],
[
"ETH-USDT",
"INR",
130,
130
],
[
"XRP-USDT",
"INR",
110,
110
]
]
}
]
}
]
}
'{
"code": 200,
"timestamp": 1796214593046,
"data": {
"metadata": null,
"@entity": "workbook",
"sheets": [
{
"metadata": null,
"@entity": "sheet",
"blocks": [
{
"metadata": null,
"@entity": "table",
"header": [
"symbol",
"quantity",
"buy_trade_id",
"buy_date",
"buy_price",
"sell_trade_id",
"sell_date",
"sell_price",
"holding_period",
"realized_pnl",
"transfer_expenses",
"net_realized_pnl",
"nature_of_settlement",
"taxable_pnl",
"turnover",
"income_head",
"income_sub_head",
"tax_rate",
"section"
],
"rows": [
[
"USDT",
45,
"acdcwefew3e1113vcd",
1756721330000,
6600,
"nknee38ni9cd3defeve",
1757930930000,
8055,
"short_term",
65475,
70,
65405,
"trade",
65475,
362475,
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH"
],
[
"USDT",
5,
"acdcwefew3e1113vcd",
1756721330000,
6600,
"nrezxcetgf2334jk0333d",
1763201330000,
11312.5,
"short_term",
23562.5,
20.625,
23541.875,
"trade",
23562.5,
56562.5,
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH"
],
[
"USDT",
3,
"hjdj0plsejw3n227890c",
1760522930000,
7832,
"nrezxcetgf2334jk0333d",
1763201330000,
11312.5,
"short_term",
10441.5,
24.375,
10417.125,
"trade",
10441.5,
33937.5,
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH"
],
[
"USDT",
7,
"hjdj0plsejw3n227890c",
1760522930000,
7832,
"zxc1rtvmk3456hkkve3w",
1764410930000,
11790,
"short_term",
27706,
40.8333,
27665.1667,
"trade",
27706,
82530,
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH"
],
[
"USDT",
23,
"fwhjceco2trsc344f322e",
1763815154000,
10708.5,
"zxc1rtvmk3456hkkve3w",
1764410930000,
11790,
"short_term",
24874.5,
47.9167,
24826.5833,
"trade",
24874.5,
271170,
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH"
]
],
"name": "spot_tradewise_tax_pnl_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"symbol",
"quantity",
"buy_date",
"buy_price",
"last_traded_price",
"unrealized_pnl"
],
"rows": [
[
"USDT",
17,
1763815154000,
10708.5,
135,
-179749.5
]
],
"name": "spot_tradewise_holding_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"symbol",
"quantity",
"sell_date",
"sell_price",
"last_traded_price",
"unrealized_pnl"
],
"rows": null,
"name": "spot_tradewise_open_sell_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"vda",
"quantity",
"id",
"date_of_receipt",
"price_per_unit",
"total_receipts",
"expenses",
"net_income",
"nature_of_receipt",
"taxable_income",
"income_head",
"income_sub_head",
"tax_rate"
],
"rows": [],
"name": "spot_tradewise_receipts_tax_pnl_table"
}
],
"name": "spot_tradewise_tax_pnl_sheet"
},
{
"metadata": null,
"@entity": "sheet",
"blocks": [
{
"metadata": null,
"@entity": "table",
"header": [
"contract_name",
"quantity",
"buy_trade_id",
"buy_date",
"buy_price",
"sell_trade_id",
"sell_date",
"sell_price",
"realized_pnl",
"transfer_expenses",
"net_realized_pnl",
"taxable_pnl",
"turnover",
"income_head",
"income_sub_head",
"tax_rate"
],
"rows": [
[
"BTC-USDT",
4,
"addf3434mkvefv456h",
1756721330000,
10120,
"fege4343gbgee344tg",
1757930930000,
13795,
14700,
1035.7143,
13664.2857,
13664.2857,
13664.2857,
"business_and_profession",
"non_speculative",
"slab_rate"
],
[
"ETH-USDT",
4,
"fhtyjrg35n788985gff3",
1760522930000,
11250,
"fhtyjrg35n788985gff5",
1764410930000,
9200,
-8200,
2300,
-10500,
-10500,
10500,
"business_and_profession",
"non_speculative",
"slab_rate"
]
],
"name": "future_tradewise_tax_pnl_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"contract_name",
"quantity",
"trade_date",
"trade_price",
"last_traded_price",
"transaction_type",
"unrealized_pnl"
],
"rows": [
[
"BTC-USDT",
3,
1756721330000,
10120,
175,
"buy",
-29835
],
[
"XRP-USDT",
3,
1763201330000,
9555,
110,
"buy",
-28335
],
[
"ETH-USDT",
1,
1760522930000,
11250,
130,
"buy",
-11120
]
],
"name": "future_tradewise_open_position_table"
}
],
"name": "future_tradewise_tax_pnl_sheet"
},
{
"metadata": null,
"@entity": "sheet",
"blocks": [
{
"metadata": null,
"@entity": "table",
"header": [
"nature_of_receipt",
"income_head",
"income_sub_head",
"holding_period",
"realised_pnl",
"transfer_expense",
"net_realized_pnl",
"taxable_pnl"
],
"rows": null,
"name": "receipt_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"nature_of_settlement",
"income_head",
"income_sub_head",
"holding_period",
"realised_pnl",
"transfer_expense",
"net_realized_pnl",
"taxable_pnl"
],
"rows": [
[
"trade",
"capital_gains",
"virtual_digital_asset",
"short_term",
152059.5,
203.75,
151855.75,
152059.5
],
[
"trade",
"business_and_profession",
"non_speculative",
null,
6500,
3335.7143,
3164.2857,
3164.2857
]
],
"name": "settlement_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"partition",
"asset_class",
"asset_type",
"income_head",
"income_sub_head",
"tax_rate",
"section",
"holding_period",
"turnover",
"buy_value",
"sell_value",
"cost_of_acquisition",
"realized_pnl",
"transfer_expenses",
"net_realized_pnl",
"taxable_pnl"
],
"rows": [
[
1,
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
13664.2857,
40480,
55180,
40480,
14700,
1035.7143,
13664.2857,
13664.2857
],
[
3,
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
10500,
45000,
36800,
45000,
-8200,
2300,
-10500,
-10500
],
[
4,
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"crypto",
"cryptocurrency",
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH",
"short_term",
362475,
297000,
362475,
297000,
65475,
70,
65405,
65475
],
[
3,
"crypto",
"cryptocurrency",
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH",
"short_term",
444200,
357615.5,
444200,
357615.5,
86584.5,
133.75,
86450.75,
86584.5
]
],
"name": "partition_wise_asset_wise_tax_pnl_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"partition",
"income_head",
"income_sub_head",
"holding_period",
"tax_rate",
"section",
"turnover",
"buy_value",
"cost_of_acquisition",
"sell_value",
"realized_pnl",
"transfer_expenses",
"net_realized_pnl",
"taxable_pnl"
],
"rows": [
[
1,
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
13664.2857,
40480,
40480,
55180,
14700,
1035.7143,
13664.2857,
13664.2857
],
[
3,
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
10500,
45000,
45000,
36800,
-8200,
2300,
-10500,
-10500
],
[
4,
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"capital_gains",
"virtual_digital_asset",
"short_term",
"30",
"115BBH",
362475,
297000,
297000,
362475,
65475,
70,
65405,
65475
],
[
3,
"capital_gains",
"virtual_digital_asset",
"short_term",
"30",
"115BBH",
444200,
357615.5,
357615.5,
444200,
86584.5,
133.75,
86450.75,
86584.5
]
],
"name": "accrued_tax_pnl_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"income_head",
"income_sub_head",
"holding_period",
"tax_rate",
"section",
"turnover",
"buy_value",
"cost_of_acquisition",
"sell_value",
"realized_pnl",
"transfer_expense",
"net_realized_pnl",
"taxable_pnl"
],
"rows": [
[
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
24164.2857,
85480,
85480,
91980,
6500,
3335.7143,
3164.2857,
3164.2857
],
[
"capital_gains",
"virtual_digital_asset",
"short_term",
"30",
"115BBH",
806675,
654615.5,
654615.5,
806675,
152059.5,
203.75,
151855.75,
152059.5
]
],
"name": "tax_pnl_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"asset_class",
"asset_type",
"income_head",
"income_sub_head",
"tax_rate",
"section",
"holding_period",
"turnover",
"buy_value",
"cost_of_acquisition",
"sell_value",
"realized_pnl",
"transfer_expenses",
"net_realized_pnl",
"taxable_pnl"
],
"rows": [
[
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
24164.2857,
85480,
85480,
91980,
6500,
3335.7143,
3164.2857,
3164.2857
],
[
"crypto",
"cryptocurrency",
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH",
"short_term",
806675,
654615.5,
654615.5,
806675,
152059.5,
203.75,
151855.75,
152059.5
]
],
"name": "asset_wise_tax_pnl_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"holding_period",
"section",
"tax_rate",
"taxable_income",
"income_setoff_against_stcl_30_percent",
"income_setoff_against_ltcl_30_percent",
"income_setoff",
"net_taxable_income"
],
"rows": [
[
"short_term",
null,
"slab_rate",
0,
0,
null,
null,
0
],
[
"short_term",
"115BBH",
"30",
152060,
null,
0,
null,
152060
],
[
"long_term",
"115BBH",
"30",
0,
0,
null,
null,
0
]
],
"name": "current_year_capital_gains_adjustment_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"holding_period",
"section",
"tax_rate",
"loss",
"loss_setoff_against_stcg_30_percent",
"loss_setoff_against_ltcg_30_percent",
"losses_setoff",
"losses_remaining"
],
"rows": [
[
"short_term",
null,
"slab_rate",
0,
null,
0,
0,
0
],
[
"long_term",
"115BBH",
"30",
0,
null,
null,
null,
null
],
[
"short_term",
"115BBH",
"30",
0,
0,
0,
0,
null
]
],
"name": "current_year_capital_loss_adjustment_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"income_head",
"income_sub_head",
"tax_rate",
"holding_period",
"section",
"taxable_income",
"income_setoff_against_non_speculative_business_loss",
"income_setoff_against_loss_from_other_sources",
"income_setoff_against_stcl_30_percent",
"income_setoff_against_ltcl_30_percent",
"net_taxable_income"
],
"rows": [
[
"business_and_profession",
"non_speculative",
null,
null,
null,
3164,
0,
0,
null,
null,
3164
],
[
"other",
null,
"slab_rate",
null,
null,
0,
0,
0,
null,
null,
0
],
[
"capital_gains",
"securities",
"slab_rate",
"short_term",
null,
0,
0,
0,
0,
null,
0
],
[
"capital_gains",
"virtual_digital_asset",
"30",
"short_term",
"115BBH",
152060,
0,
0,
0,
null,
152060
],
[
"capital_gains",
"virtual_digital_asset",
"30",
"long_term",
"115BBH",
0,
0,
0,
0,
null,
0
]
],
"name": "current_year_income_adjustment_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"income_head",
"income_sub_head",
"tax_rate",
"holding_period",
"section",
"taxable_loss",
"loss_setoff_against_non_speculative_business_income",
"loss_setoff_against_stcg_30_percent",
"loss_setoff_against_ltcg_30_percent",
"loss_setoff_against_other_income",
"total_losses_setoff",
"losses_remaining"
],
"rows": [
[
"business_and_profession",
"non_speculative",
null,
null,
null,
0,
0,
0,
null,
0,
0,
0
],
[
"capital_gains",
"virtual_digital_asset",
"30",
"short_term",
"115BBH",
0,
null,
0,
null,
null,
0,
null
],
[
"capital_gains",
"virtual_digital_asset",
"slab_rate",
"short_term",
null,
0,
null,
0,
null,
null,
0,
0
],
[
"capital_gains",
"virtual_digital_asset",
"30",
"long_term",
"115BBH",
0,
null,
null,
null,
null,
0,
null
]
],
"name": "current_year_loss_adjustment_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"partition",
"net_taxable_stcg",
"net_taxable_ltcg",
"net_taxable_stcg_30",
"net_taxable_ltcg_30"
],
"rows": [
[
1,
0,
0,
0,
0
],
[
2,
65475,
0,
65475,
0
],
[
3,
86585,
0,
86585,
0
],
[
4,
0,
0,
0,
0
],
[
5,
0,
0,
0,
0
]
],
"name": "accrued_capital_gains_table"
}
],
"name": "tax_pnl_summary_sheet"
}
],
"name": "crypto_currency_tradewise_tax_pnl_workbook"
},
"transaction_id": "daf45832-e5e5-498e-9f34-fca64ac33aa3"
}Calculate Crypto Tax P&L synchronously
Calculate Crypto Tax P&L from a JSON tradebook.
POST
/
it
/
calculator
/
tax-pnl
/
crypto
/
sync
curl --request POST \
--url https://test-api.sandbox.co.in/it/calculator/tax-pnl/crypto/sync \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <x-api-key>' \
--data '
{
"name": "crypto_currency_tradebook_workbook",
"@entity": "workbook",
"sheets": [
{
"name": "spot_sheet",
"@entity": "sheet",
"blocks": [
{
"name": "spot_tradebook_table",
"@entity": "table",
"header": [
"id",
"date",
"transaction_type",
"label",
"received_currency",
"received_quantity",
"price",
"price_currency",
"price_inr",
"sent_currency",
"sent_quantity",
"fee_currency",
"fee_amount",
"fee_amount_inr"
],
"rows": [
[
"acdcwefew3e1113vcd",
1756721330000,
"buy",
null,
"USDT",
50,
75,
"USDT",
6600,
null,
null,
"INR",
50,
50
],
[
"nknee38ni9cd3defeve",
1757930930000,
"sell",
null,
null,
null,
90,
"USDT",
8055,
"USDT",
45,
"INR",
25,
25
],
[
"hjdj0plsejw3n227890c",
1760522930000,
"buy",
null,
"USDT",
10,
88,
"USDT",
7832,
null,
null,
"INR",
50,
50
],
[
"nrezxcetgf2334jk0333d",
1763201330000,
"sell",
null,
null,
null,
125,
"USDT",
11312.5,
"USDT",
8,
"INR",
25,
25
],
[
"fwhjceco2trsc344f322e",
1763815154000,
"buy",
null,
"USDT",
40,
121,
"USDT",
10708.5,
null,
null,
"INR",
50,
50
],
[
"zxc1rtvmk3456hkkve3w",
1764410930000,
"sell",
null,
null,
null,
131,
"USDT",
11790,
"USDT",
30,
"INR",
25,
25
]
]
},
{
"name": "spot_last_traded_price_table",
"@entity": "table",
"header": [
"symbol",
"currency",
"last_traded_price",
"last_traded_price_inr"
],
"rows": [
[
"USDT",
"INR",
135,
135
]
]
}
]
},
{
"name": "future_sheet",
"@entity": "sheet",
"blocks": [
{
"name": "future_tradebook_table",
"@entity": "table",
"header": [
"id",
"contract_name",
"transaction_type",
"date",
"quantity",
"price",
"price_currency",
"price_inr",
"fee_amount",
"fee_currency",
"fee_amount_inr"
],
"rows": [
[
"addf3434mkvefv456h",
"BTC-USDT",
"buy",
1756721330000,
7,
115,
"USDT",
10120,
500,
"INR",
500
],
[
"fege4343gbgee344tg",
"BTC-USDT",
"sell",
1757930930000,
4,
155,
"USDT",
13795,
750,
"INR",
750
],
[
"fhtyjrg35n788985gff3",
"ETH-USDT",
"buy",
1760522930000,
5,
125,
"USDT",
11250,
1000,
"INR",
1000
],
[
"fhtyjrg35n788985gff4",
"XRP-USDT",
"buy",
1763201330000,
3,
105,
"USDT",
9555,
1250,
"INR",
1250
],
[
"fhtyjrg35n788985gff5",
"ETH-USDT",
"sell",
1764410930000,
4,
100,
"USDT",
9200,
1500,
"INR",
1500
]
]
},
{
"name": "future_last_traded_price_table",
"@entity": "table",
"header": [
"contract_name",
"currency",
"last_traded_price",
"last_traded_price_inr"
],
"rows": [
[
"BTC-USDT",
"INR",
175,
175
],
[
"ETH-USDT",
"INR",
130,
130
],
[
"XRP-USDT",
"INR",
110,
110
]
]
}
]
}
]
}
'{
"code": 200,
"timestamp": 1796214593046,
"data": {
"metadata": null,
"@entity": "workbook",
"sheets": [
{
"metadata": null,
"@entity": "sheet",
"blocks": [
{
"metadata": null,
"@entity": "table",
"header": [
"symbol",
"quantity",
"buy_trade_id",
"buy_date",
"buy_price",
"sell_trade_id",
"sell_date",
"sell_price",
"holding_period",
"realized_pnl",
"transfer_expenses",
"net_realized_pnl",
"nature_of_settlement",
"taxable_pnl",
"turnover",
"income_head",
"income_sub_head",
"tax_rate",
"section"
],
"rows": [
[
"USDT",
45,
"acdcwefew3e1113vcd",
1756721330000,
6600,
"nknee38ni9cd3defeve",
1757930930000,
8055,
"short_term",
65475,
70,
65405,
"trade",
65475,
362475,
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH"
],
[
"USDT",
5,
"acdcwefew3e1113vcd",
1756721330000,
6600,
"nrezxcetgf2334jk0333d",
1763201330000,
11312.5,
"short_term",
23562.5,
20.625,
23541.875,
"trade",
23562.5,
56562.5,
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH"
],
[
"USDT",
3,
"hjdj0plsejw3n227890c",
1760522930000,
7832,
"nrezxcetgf2334jk0333d",
1763201330000,
11312.5,
"short_term",
10441.5,
24.375,
10417.125,
"trade",
10441.5,
33937.5,
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH"
],
[
"USDT",
7,
"hjdj0plsejw3n227890c",
1760522930000,
7832,
"zxc1rtvmk3456hkkve3w",
1764410930000,
11790,
"short_term",
27706,
40.8333,
27665.1667,
"trade",
27706,
82530,
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH"
],
[
"USDT",
23,
"fwhjceco2trsc344f322e",
1763815154000,
10708.5,
"zxc1rtvmk3456hkkve3w",
1764410930000,
11790,
"short_term",
24874.5,
47.9167,
24826.5833,
"trade",
24874.5,
271170,
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH"
]
],
"name": "spot_tradewise_tax_pnl_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"symbol",
"quantity",
"buy_date",
"buy_price",
"last_traded_price",
"unrealized_pnl"
],
"rows": [
[
"USDT",
17,
1763815154000,
10708.5,
135,
-179749.5
]
],
"name": "spot_tradewise_holding_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"symbol",
"quantity",
"sell_date",
"sell_price",
"last_traded_price",
"unrealized_pnl"
],
"rows": null,
"name": "spot_tradewise_open_sell_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"vda",
"quantity",
"id",
"date_of_receipt",
"price_per_unit",
"total_receipts",
"expenses",
"net_income",
"nature_of_receipt",
"taxable_income",
"income_head",
"income_sub_head",
"tax_rate"
],
"rows": [],
"name": "spot_tradewise_receipts_tax_pnl_table"
}
],
"name": "spot_tradewise_tax_pnl_sheet"
},
{
"metadata": null,
"@entity": "sheet",
"blocks": [
{
"metadata": null,
"@entity": "table",
"header": [
"contract_name",
"quantity",
"buy_trade_id",
"buy_date",
"buy_price",
"sell_trade_id",
"sell_date",
"sell_price",
"realized_pnl",
"transfer_expenses",
"net_realized_pnl",
"taxable_pnl",
"turnover",
"income_head",
"income_sub_head",
"tax_rate"
],
"rows": [
[
"BTC-USDT",
4,
"addf3434mkvefv456h",
1756721330000,
10120,
"fege4343gbgee344tg",
1757930930000,
13795,
14700,
1035.7143,
13664.2857,
13664.2857,
13664.2857,
"business_and_profession",
"non_speculative",
"slab_rate"
],
[
"ETH-USDT",
4,
"fhtyjrg35n788985gff3",
1760522930000,
11250,
"fhtyjrg35n788985gff5",
1764410930000,
9200,
-8200,
2300,
-10500,
-10500,
10500,
"business_and_profession",
"non_speculative",
"slab_rate"
]
],
"name": "future_tradewise_tax_pnl_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"contract_name",
"quantity",
"trade_date",
"trade_price",
"last_traded_price",
"transaction_type",
"unrealized_pnl"
],
"rows": [
[
"BTC-USDT",
3,
1756721330000,
10120,
175,
"buy",
-29835
],
[
"XRP-USDT",
3,
1763201330000,
9555,
110,
"buy",
-28335
],
[
"ETH-USDT",
1,
1760522930000,
11250,
130,
"buy",
-11120
]
],
"name": "future_tradewise_open_position_table"
}
],
"name": "future_tradewise_tax_pnl_sheet"
},
{
"metadata": null,
"@entity": "sheet",
"blocks": [
{
"metadata": null,
"@entity": "table",
"header": [
"nature_of_receipt",
"income_head",
"income_sub_head",
"holding_period",
"realised_pnl",
"transfer_expense",
"net_realized_pnl",
"taxable_pnl"
],
"rows": null,
"name": "receipt_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"nature_of_settlement",
"income_head",
"income_sub_head",
"holding_period",
"realised_pnl",
"transfer_expense",
"net_realized_pnl",
"taxable_pnl"
],
"rows": [
[
"trade",
"capital_gains",
"virtual_digital_asset",
"short_term",
152059.5,
203.75,
151855.75,
152059.5
],
[
"trade",
"business_and_profession",
"non_speculative",
null,
6500,
3335.7143,
3164.2857,
3164.2857
]
],
"name": "settlement_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"partition",
"asset_class",
"asset_type",
"income_head",
"income_sub_head",
"tax_rate",
"section",
"holding_period",
"turnover",
"buy_value",
"sell_value",
"cost_of_acquisition",
"realized_pnl",
"transfer_expenses",
"net_realized_pnl",
"taxable_pnl"
],
"rows": [
[
1,
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
13664.2857,
40480,
55180,
40480,
14700,
1035.7143,
13664.2857,
13664.2857
],
[
3,
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
10500,
45000,
36800,
45000,
-8200,
2300,
-10500,
-10500
],
[
4,
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"crypto",
"cryptocurrency",
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH",
"short_term",
362475,
297000,
362475,
297000,
65475,
70,
65405,
65475
],
[
3,
"crypto",
"cryptocurrency",
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH",
"short_term",
444200,
357615.5,
444200,
357615.5,
86584.5,
133.75,
86450.75,
86584.5
]
],
"name": "partition_wise_asset_wise_tax_pnl_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"partition",
"income_head",
"income_sub_head",
"holding_period",
"tax_rate",
"section",
"turnover",
"buy_value",
"cost_of_acquisition",
"sell_value",
"realized_pnl",
"transfer_expenses",
"net_realized_pnl",
"taxable_pnl"
],
"rows": [
[
1,
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
3,
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
4,
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
1,
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
13664.2857,
40480,
40480,
55180,
14700,
1035.7143,
13664.2857,
13664.2857
],
[
3,
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
10500,
45000,
45000,
36800,
-8200,
2300,
-10500,
-10500
],
[
4,
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
5,
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
2,
"capital_gains",
"virtual_digital_asset",
"short_term",
"30",
"115BBH",
362475,
297000,
297000,
362475,
65475,
70,
65405,
65475
],
[
3,
"capital_gains",
"virtual_digital_asset",
"short_term",
"30",
"115BBH",
444200,
357615.5,
357615.5,
444200,
86584.5,
133.75,
86450.75,
86584.5
]
],
"name": "accrued_tax_pnl_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"income_head",
"income_sub_head",
"holding_period",
"tax_rate",
"section",
"turnover",
"buy_value",
"cost_of_acquisition",
"sell_value",
"realized_pnl",
"transfer_expense",
"net_realized_pnl",
"taxable_pnl"
],
"rows": [
[
"business_and_profession",
"virtual_digital_asset",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"other",
"monetary_gift",
null,
"slab_rate",
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"business_and_profession",
"non_speculative",
null,
"slab_rate",
null,
24164.2857,
85480,
85480,
91980,
6500,
3335.7143,
3164.2857,
3164.2857
],
[
"capital_gains",
"virtual_digital_asset",
"short_term",
"30",
"115BBH",
806675,
654615.5,
654615.5,
806675,
152059.5,
203.75,
151855.75,
152059.5
]
],
"name": "tax_pnl_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"asset_class",
"asset_type",
"income_head",
"income_sub_head",
"tax_rate",
"section",
"holding_period",
"turnover",
"buy_value",
"cost_of_acquisition",
"sell_value",
"realized_pnl",
"transfer_expenses",
"net_realized_pnl",
"taxable_pnl"
],
"rows": [
[
"crypto",
"cryptocurrency",
"business_and_profession",
"virtual_digital_asset",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"crypto",
"cryptocurrency",
"other",
"monetary_gift",
"slab_rate",
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"crypto",
"cryptocurrency",
"other",
null,
null,
null,
null,
0,
0,
0,
0,
0,
0,
0,
0
],
[
"crypto",
"future",
"business_and_profession",
"non_speculative",
"slab_rate",
null,
null,
24164.2857,
85480,
85480,
91980,
6500,
3335.7143,
3164.2857,
3164.2857
],
[
"crypto",
"cryptocurrency",
"capital_gains",
"virtual_digital_asset",
"30",
"115BBH",
"short_term",
806675,
654615.5,
654615.5,
806675,
152059.5,
203.75,
151855.75,
152059.5
]
],
"name": "asset_wise_tax_pnl_summary_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"holding_period",
"section",
"tax_rate",
"taxable_income",
"income_setoff_against_stcl_30_percent",
"income_setoff_against_ltcl_30_percent",
"income_setoff",
"net_taxable_income"
],
"rows": [
[
"short_term",
null,
"slab_rate",
0,
0,
null,
null,
0
],
[
"short_term",
"115BBH",
"30",
152060,
null,
0,
null,
152060
],
[
"long_term",
"115BBH",
"30",
0,
0,
null,
null,
0
]
],
"name": "current_year_capital_gains_adjustment_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"holding_period",
"section",
"tax_rate",
"loss",
"loss_setoff_against_stcg_30_percent",
"loss_setoff_against_ltcg_30_percent",
"losses_setoff",
"losses_remaining"
],
"rows": [
[
"short_term",
null,
"slab_rate",
0,
null,
0,
0,
0
],
[
"long_term",
"115BBH",
"30",
0,
null,
null,
null,
null
],
[
"short_term",
"115BBH",
"30",
0,
0,
0,
0,
null
]
],
"name": "current_year_capital_loss_adjustment_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"income_head",
"income_sub_head",
"tax_rate",
"holding_period",
"section",
"taxable_income",
"income_setoff_against_non_speculative_business_loss",
"income_setoff_against_loss_from_other_sources",
"income_setoff_against_stcl_30_percent",
"income_setoff_against_ltcl_30_percent",
"net_taxable_income"
],
"rows": [
[
"business_and_profession",
"non_speculative",
null,
null,
null,
3164,
0,
0,
null,
null,
3164
],
[
"other",
null,
"slab_rate",
null,
null,
0,
0,
0,
null,
null,
0
],
[
"capital_gains",
"securities",
"slab_rate",
"short_term",
null,
0,
0,
0,
0,
null,
0
],
[
"capital_gains",
"virtual_digital_asset",
"30",
"short_term",
"115BBH",
152060,
0,
0,
0,
null,
152060
],
[
"capital_gains",
"virtual_digital_asset",
"30",
"long_term",
"115BBH",
0,
0,
0,
0,
null,
0
]
],
"name": "current_year_income_adjustment_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"income_head",
"income_sub_head",
"tax_rate",
"holding_period",
"section",
"taxable_loss",
"loss_setoff_against_non_speculative_business_income",
"loss_setoff_against_stcg_30_percent",
"loss_setoff_against_ltcg_30_percent",
"loss_setoff_against_other_income",
"total_losses_setoff",
"losses_remaining"
],
"rows": [
[
"business_and_profession",
"non_speculative",
null,
null,
null,
0,
0,
0,
null,
0,
0,
0
],
[
"capital_gains",
"virtual_digital_asset",
"30",
"short_term",
"115BBH",
0,
null,
0,
null,
null,
0,
null
],
[
"capital_gains",
"virtual_digital_asset",
"slab_rate",
"short_term",
null,
0,
null,
0,
null,
null,
0,
0
],
[
"capital_gains",
"virtual_digital_asset",
"30",
"long_term",
"115BBH",
0,
null,
null,
null,
null,
0,
null
]
],
"name": "current_year_loss_adjustment_table"
},
{
"metadata": null,
"@entity": "table",
"header": [
"partition",
"net_taxable_stcg",
"net_taxable_ltcg",
"net_taxable_stcg_30",
"net_taxable_ltcg_30"
],
"rows": [
[
1,
0,
0,
0,
0
],
[
2,
65475,
0,
65475,
0
],
[
3,
86585,
0,
86585,
0
],
[
4,
0,
0,
0,
0
],
[
5,
0,
0,
0,
0
]
],
"name": "accrued_capital_gains_table"
}
],
"name": "tax_pnl_summary_sheet"
}
],
"name": "crypto_currency_tradewise_tax_pnl_workbook"
},
"transaction_id": "daf45832-e5e5-498e-9f34-fca64ac33aa3"
}Headers
Query Parameters
Body
application/json