> ## 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.

# GSTR-9 - Create 8A data API

> Generate updated 8A data for GSTR-9.

## Response schema

Pass `data.data.token` to [Get Table 8A details](https://developer.sandbox.co.in/api-reference/gst/compliance/endpoints/taxpayer/gstr-9/section_8a_details.md) as `token`, using the same `financial_year`.

> [card] [View response JSON schema](https://developer.sandbox.co.in/data/gst/schema/response/taxpayer/gstr-9/generate_table_8a_data.json)


## OpenAPI

````yaml api-reference/gst/compliance/openapi.json POST /gst/compliance/tax-payer/gstrs/gstr-9/table-8a
openapi: 3.0.1
info:
  title: compliance
  description: >-
    **GST Compliance API** enables businesses to automate compliance
    requirements like [Taxpayer
    verification](https://developer.sandbox.co.in/reference/search-gstin-api),
    [GSTR
    Filing](https://developer.sandbox.co.in/reference/gst-taxpayer-authentication),
    [Generating
    E-Invoices](https://developer.sandbox.co.in/reference/e-invoice-authentication-api),
    and [E-Way
    Bills](https://developer.sandbox.co.in/reference/e-way-bill-authentication-api).We
    provide these APIs from GSTN-authorised GST Suvidha Providers, handling the
    encryption-decryption and signing so you don't have to handle the
    complexities.
  version: 1.0.0
servers:
  - url: https://api.sandbox.co.in
    description: prod
  - url: https://test-api.sandbox.co.in
    description: test
security: []
tags:
  - name: Public
  - name: Taxpayer
  - name: Taxpayer Auth
  - name: Returns
  - name: GSTR-1 Documents
  - name: File GSTR-1
  - name: GSTR-2A Documents
  - name: GSTR-2B Document
  - name: File GSTR-3B
  - name: GSTR-4
  - name: File GSTR-9
  - name: Invoice Management System
  - name: GSTR-1A Documents
  - name: File GSTR-1A
  - name: Ledgers
  - name: e-Invoice
  - name: Sales e-Invoices for return period
  - name: Purchase e-Invoices for return period
  - name: Front Office Notices
  - name: Front Office
  - name: AATO
  - name: e-Invoice1
  - name: Authentication
  - name: e-Invoice12
  - name: E-Way Bill
  - name: E-Way Bill1
  - name: Authentication1
  - name: Consignor
  - name: Consolidated E-Way Bill
  - name: Multi-Vehicle Movement
  - name: Consignee
  - name: Transporter
  - name: Consolidated E-Way Bill1
  - name: Multi-vehicle Movement
  - name: Common
paths:
  /gst/compliance/tax-payer/gstrs/gstr-9/table-8a:
    post:
      tags:
        - Taxpayer/Returns/File GSTR-9
        - Taxpayer
        - Returns
        - File GSTR-9
      summary: GSTR-9 - Create 8A data API
      description: Generate updated 8A data for GSTR-9.
      parameters:
        - name: financial_year
          in: query
          description: Financial year, for example FY 2025-26.
          required: true
          example: FY 2025-26
          schema:
            type: string
            example: FY 2025-26
        - name: x-api-version
          in: header
          description: API version
          required: false
          example: ''
          schema:
            type: string
            default: 1.0.0
      responses:
        '200':
          description: >-
            GSTN response in the Sandbox envelope. Check the GSTN status if
            present.
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    enum:
                      - 200
                  data:
                    anyOf:
                      - type: object
                        properties:
                          status_cd:
                            type: string
                            enum:
                              - '1'
                          data:
                            type: object
                            properties:
                              token:
                                type: string
                                description: Token
                              est:
                                type: string
                                description: Estimated time for data generation
                            required:
                              - token
                              - est
                        required:
                          - status_cd
                          - data
                      - type: object
                        properties:
                          status_cd:
                            type: string
                            enum:
                              - '0'
                          error:
                            type: object
                            properties:
                              error_cd:
                                type: string
                              message:
                                type: string
                            required:
                              - error_cd
                              - message
                        required:
                          - status_cd
                          - error
                  timestamp:
                    type: integer
                    format: int64
                  transaction_id:
                    type: string
                required:
                  - code
                  - data
                  - timestamp
                  - transaction_id
              examples:
                Table 8A generation token:
                  summary: Table 8A generation token
                  value:
                    code: 200
                    timestamp: 1795478400000
                    data:
                      data:
                        est: '10'
                        token: 01324a649ec1405da3b4cc465d97e6e5
                      status_cd: '1'
                    transaction_id: 00000000-0000-4000-8000-000047435197
          headers: {}
      deprecated: false
      security:
        - GstTaxpayerAccessToken: []
          SandboxApiKey1: []
components:
  securitySchemes:
    GstTaxpayerAccessToken:
      type: apiKey
      in: header
      name: authorization
      description: >-
        GST taxpayer access token returned by [Verify
        OTP](/api-reference/gst/compliance/endpoints/taxpayer/authentication/verify_otp).
    SandboxApiKey1:
      type: apiKey
      in: header
      name: x-api-key
      description: Sandbox API key from your Sandbox account.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.