> ## Documentation Index
> Fetch the complete documentation index at: https://developer.sandbox.co.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Job

> Poll the Crypto Tax P&L job you created via Submit Job. Pass the job_id you received earlier to retrieve its latest processing status plus any generated download links once the workbook is ready.

<Card title="Run in Postman" icon="https://mintcdn.com/sandboxfinancialtechnologiesprivatelimited/gviqebbpT5NUt_6i/static/svg/Postman.svg?fit=max&auto=format&n=gviqebbpT5NUt_6i&q=85&s=da47f2b7e10d87befec951aed9468de3" horizontal arrow="true" href="https://www.postman.com/in-co-sandbox/sandbox-api/request/4o3n0ta/submit-tax-p-l-job" width="2030" height="2031" data-path="static/svg/Postman.svg" />


## OpenAPI

````yaml api-reference/it/calculator/openapi.json GET /it/calculator/tax-pnl/crypto
openapi: 3.1.0
info:
  title: Sandbox API [Prod]
  version: '1.0'
servers:
  - url: https://test-api.sandbox.co.in
    description: test
  - url: https://api.sandbox.co.in
    description: prod
security:
  - {}
paths:
  /it/calculator/tax-pnl/crypto:
    get:
      tags:
        - tax-pnl
        - crypto
      summary: Get Tax P&L Job Status
      parameters:
        - name: job_id
          in: query
          required: true
          description: >-
            Unique identifier of the job whose processing status you want to
            fetch. Returned in the response when a tax P&L job is created.
          deprecated: false
          schema:
            type: string
            format: uuid
          example: '{{job_id}}'
        - name: x-accept-type
          in: header
          required: true
          description: >-
            Specifies the response format expected from the API. Use
            application/json for JSON responses or application/xlsx for Excel
            file downloads.application/xlsx
          deprecated: false
          schema:
            type: string
            default: application/json
            enum:
              - application/xlsx
              - application/json
          example: application/xlsx
        - name: x-api-key
          in: header
          required: true
          description: Your API key used to authenticate and authorize the request.
          deprecated: false
          schema:
            type: string
          example: '{{api_key}}'
        - name: x-api-version
          in: header
          required: false
          description: >-
            Indicates the version of the API you want to use. Ensures
            backward-compatible behavior.
          deprecated: false
          schema:
            type: string
          example: '{{version}}'
        - name: Authorization
          in: header
          required: true
          description: >-
            Bearer token for user-level authorization. Typically passed as
            Bearer {{access_token}}.
          deprecated: false
          schema:
            type: string
          example: '{{access_token}}'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  timestamp:
                    type: integer
                  transaction_id:
                    type: string
                  data:
                    type: object
                    properties:
                      '@entity':
                        type: string
                      job_id:
                        type: string
                      report:
                        type: string
                      from:
                        type: integer
                      to:
                        type: integer
                      status:
                        type: string
                      tax_pnl_workbook_url:
                        type: string
                        format: uri
              example:
                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
        '521':
          description: Data not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  timestamp:
                    type: integer
                  transaction_id:
                    type: string
                  message:
                    type: string
                    format: style
              example:
                code: 521
                timestamp: 1672226687297
                transaction_id: a4d95225-1802-475b-a990-e57af523ea6e
                message: 'Data not found: 7baed565-4dc2-46a1-89c2-be35a0a38081'

````