Skip to main content
GET
/
it
/
calculator
/
tax-pnl
/
crypto
Get Tax P&L Job Status
curl --request GET \
  --url https://api.sandbox.co.in/it/calculator/tax-pnl/crypto \
  --header 'Authorization: <authorization>' \
  --header 'x-accept-type: <x-accept-type>' \
  --header 'x-api-key: <x-api-key>'
{
  "code": 200,
  "timestamp": 1676979940157,
  "transaction_id": "c01f847c-c42e-4577-9d01-a7208401a922",
  "data": {
    "@entity": "in.co.sandbox.it.calculator.cryto.tax_pnl.job",
    "job_id": "c01f847c-c42e-4577-9d01-a7208401a922",
    "report": "tradewise",
    "from": 1682945614000,
    "to": 1683291214000,
    "status": "succeeded",
    "tax_pnl_workbook_url": "https://in-co-sandbox-it-calculator-crypto-tax-pnl-dev.s3.ap-south-1.amazonaws.com/tax_pnl_workbook.json"
  }
}
https://mintcdn.com/sandboxfinancialtechnologiesprivatelimited/9R19aQQ6ZD9_5iIN/static/svg/Postman.svg?fit=max&auto=format&n=9R19aQQ6ZD9_5iIN&q=85&s=3f44f5c9e4d8b761c9447be03a2f5f96

Run in Postman

Headers

x-accept-type
enum<string>
default:application/json
required

Specifies the response format expected from the API. Use application/json for JSON responses or application/xlsx for Excel file downloads.application/xlsx

Available options:
application/xlsx,
application/json
x-api-key
string
required

Your API key used to authenticate and authorize the request.

x-api-version
string

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

Authorization
string
required

Bearer token for user-level authorization. Typically passed as Bearer {{access_token}}.

Query Parameters

job_id
string<uuid>
required

Unique identifier of the job whose processing status you want to fetch. Returned in the response when a tax P&L job is created.

Response

Success

code
integer
timestamp
integer
transaction_id
string
data
object