Skip to main content
Crypto Tax P&L accepts a crypto_currency_tradebook_workbook with spot and futures sheets. Send this workbook in the sync request body or upload it after submitting a job. Download the JSON schema and sample tradebook. The sample uses dates in FY 2025-26.

Workbook structure

Each sheet has @entity: sheet and a blocks array of tables. Each table has @entity: table, a header array, and a rows array. Keep the column order shown below; each row contains one cell per header. Use epoch milliseconds for dates. Currency codes are strings; quantities and prices are JSON numbers. Keep absent values as null where the transaction has no received or sent side.

Spot tradebook

The spot_tradebook_table columns appear in this order. For send and receive, choose the label that describes the transaction. Rows without a label are omitted from these calculations.

Spot prices

The spot_last_traded_price_table columns are symbol, currency, last_traded_price, and last_traded_price_inr, in that order. Match symbol to the traded cryptocurrency. The last two columns are numeric prices per unit, in the stated currency and INR respectively.

Futures tradebook

The future_tradebook_table columns appear in this order.

Futures prices

The future_last_traded_price_table columns are contract_name, currency, last_traded_price, and last_traded_price_inr, in that order. Match contract_name to the traded contract. The last two columns are numeric prices per unit.

Read the calculation

Use input=tradebook and output=tradewise_tax_pnl when requesting Crypto Tax P&L. The output reference describes the resulting tax summaries and trade-level tables.