Skip to main content
POST
/
it
/
calculator
/
tax-pnl
/
other
/it/calculator/other/tax-pnl
curl --request POST \
  --url https://api.sandbox.co.in/it/calculator/tax-pnl/other \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --header 'x-api-version: <x-api-version>' \
  --data '
{
  "name": "other_tradewise_settlement_workbook",
  "@entity": "workbook",
  "sheets": [
    {
      "name": "tradewise_settlement_sheet",
      "@entity": "sheet",
      "blocks": [
        {
          "name": "tradewise_settlement_table",
          "@entity": "table",
          "header": [
            "serial_number",
            "asset_type",
            "asset_name",
            "country",
            "currency",
            "buy_date",
            "buy_price",
            "cost_of_acquisition",
            "sell_date",
            "sell_price",
            "transfer_expenses"
          ],
          "rows": [
            [
              "6abba3b3-d061-45f5-a947-c6a944663605",
              "jewelry",
              "jew",
              "india",
              "INR",
              1696185000000,
              25000000,
              25000000,
              1712255400000,
              17500100,
              10000
            ],
            [
              "592994fb-3b14-4ec7-9203-502cd8927bec",
              "art",
              "art",
              "india",
              "INR",
              1286649000000,
              9590000,
              9590000,
              1712169000000,
              24520000,
              17000
            ],
            [
              "991d604c-989f-4530-948b-fa2e609c2d56",
              "car",
              "car",
              "india",
              "INR",
              1286649000000,
              8590010,
              8590010,
              1712169000000,
              24582000,
              17000
            ],
            [
              "cfb66c3b-ae78-4559-9755-ee83ba1f5540",
              "other",
              "other",
              "india",
              "INR",
              1697740200000,
              2301010,
              2301010,
              1712169000000,
              1309000,
              12400
            ]
          ]
        },
        {
          "name": "cost_of_improvement_table",
          "@entity": "table",
          "header": [
            "settlement_serial_number",
            "financial_year",
            "cost",
            "indexed_cost"
          ],
          "rows": [
            [
              "592994fb-3b14-4ec7-9203-502cd8927bec",
              "FY 2011-12",
              250000,
              null
            ],
            [
              "991d604c-989f-4530-948b-fa2e609c2d56",
              "FY 2012-13",
              250000,
              null
            ],
            [
              "cfb66c3b-ae78-4559-9755-ee83ba1f5540",
              "FY 2023-24",
              1330,
              null
            ]
          ]
        }
      ]
    }
  ]
}
'

Headers

x-api-key
string
required

Your API key used to authenticate and authorize the request.

x-api-version
string
required

Indicates the version of the API you want to use. Ensures backward-compatible behavior.

Authorization
string
required

Token for user-level authorization.

Query Parameters

Body

application/json
name
string
@entity
string
sheets
object[]