Skip to main content
POST

Headers

Authorization
string
required

Access token returned by Authenticate, without a Bearer prefix.

x-api-key
string
required

Sandbox API key.

x-api-version
string

API version. Optional for this endpoint.

x-accept-type
string

Output format: application/json or application/xlsx. Defaults to application/json. For FY 2026-27, the current synchronous Excel download link is unusable.

Query Parameters

financial_year
string
required

Financial year for the calculation: FY 2025-26 or FY 2026-27.

input
string
required

Input workbook format. Supported value: tradebook.

output
string
required

Output workbook format. Supported value: tradewise_tax_pnl.

Body

application/json

Crypto tradebook workbook with spot and futures sheets.

name
enum<string>
required
Available options:
crypto_currency_tradebook_workbook
@entity
enum<string>
required
Available options:
workbook
sheets
object[]
required

Response

code
integer
required
timestamp
integer
required
transaction_id
string
required
data
required

Calculated workbook for JSON output, or a signed Excel download link for Excel output.