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

# Get credit reversal and reclaim opening balance

> Get declared and amended opening balances for credit reversal and reclaim.

## Response schema

For successful responses, this schema describes the GSTN payload at `data.data`.

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

## Excel field reference

> [card] [View Excel field reference](https://developer.sandbox.co.in/data/gst/schema/workbook/taxpayer/gstr-3b/itc_reclaim_opening_balance-v7.0.xlsx)


## OpenAPI

````yaml api-reference/gst/compliance/openapi.json GET /gst/compliance/tax-payer/gstrs/gstr-3b/itc-reclaim/opening-balance
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-3b/itc-reclaim/opening-balance:
    get:
      tags:
        - Taxpayer/Returns/File GSTR-3B
        - Taxpayer
        - Returns
        - File GSTR-3B
      summary: Get credit reversal and reclaim opening balance
      description: >-
        Get declared and amended opening balances for credit reversal and
        reclaim.
      operationId: getItcReclaimOpeningBalanceHistory
      parameters:
        - name: x-api-version
          in: header
          description: API version
          required: false
          schema:
            type: string
            default: 1.0.0
      responses:
        '200':
          description: >-
            GSTN response. data.status_cd is "1" for success and "0" for a
            business error.
          content:
            application/json:
              schema:
                oneOf:
                  - allOf:
                      - type: object
                        description: Fields included in every taxpayer endpoint response.
                        required:
                          - code
                          - timestamp
                          - transaction_id
                        properties:
                          code:
                            type: integer
                            description: >-
                              The HTTP status code reported in the response
                              body.
                            enum:
                              - 200
                          timestamp:
                            type: integer
                            format: int64
                            description: The response timestamp in Unix epoch milliseconds.
                          transaction_id:
                            type: string
                            description: >-
                              The transaction identifier used to trace the
                              request.
                      - type: object
                        required:
                          - data
                        properties:
                          data:
                            type: object
                            description: The GSTN success wrapper.
                            required:
                              - status_cd
                              - data
                            properties:
                              status_cd:
                                type: string
                                enum:
                                  - '1'
                                description: GSTN success status.
                              data:
                                type: object
                                title: >-
                                  Get Opening Balance for Electronic Credit
                                  Reversal and Reclaimed Statement
                                properties:
                                  gstin:
                                    maxLength: 15
                                    minLength: 15
                                    pattern: >-
                                      [0-9]{2}[a-zA-Z]{5}[0-9]{4}[a-zA-Z]{1}[1-9A-Za-z]{1}[Zz1-9A-Ja-j]{1}[0-9a-zA-Z]{1}
                                    type: string
                                    description: GSTIN of the Taxpayer
                                  tr:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        trandt:
                                          type: string
                                          pattern: >-
                                            ^(0[1-9]|[12][0-9]|3[01])[-](0[1-9]|1[012])[-](19|20)\d\d$
                                          description: >-
                                            Transaction Date  of Opening Balance
                                            Declaration

                                            or Amendment
                                        action:
                                          pattern: ^[AS]$
                                          type: string
                                          description: >-
                                            Action is to differentiate between save
                                            and amend.
                                        refno:
                                          type: string
                                          description: >-
                                            Unique reference number generated for
                                            the transaction
                                        opnbal:
                                          type: object
                                          properties:
                                            igst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: 0
                                              description: IGST section of opening balance
                                            cgst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: 0
                                              description: CGST section of opening balance
                                            sgst:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: 0
                                              description: SGST section of opening balance
                                            cess:
                                              type: number
                                              multipleOf: 0.01
                                              maximum: 9999999999999.99
                                              minimum: 0
                                              description: CESS section of opening balance
                                          required:
                                            - igst
                                            - cgst
                                            - sgst
                                            - cess
                                          additionalProperties: false
                                          description: Stores opening bal for each tax head
                                      required:
                                        - trandt
                                        - refno
                                        - opnbal
                                    additionalProperties: false
                                    description: >-
                                      Array of Opening Balance  and Transaction
                                      Date
                                required:
                                  - gstin
                                  - tr
                                additionalProperties: false
                  - title: GSTN business error
                    type: object
                    description: HTTP 200 response containing a GSTN business failure.
                    required:
                      - code
                      - timestamp
                      - transaction_id
                      - data
                    properties:
                      code:
                        type: integer
                        description: The HTTP status code reported in the response body.
                        enum:
                          - 200
                      timestamp:
                        type: integer
                        format: int64
                        description: The response timestamp in Unix epoch milliseconds.
                      transaction_id:
                        type: string
                        description: The transaction identifier used to trace the request.
                      data:
                        type: object
                        description: The GSTN business-failure wrapper.
                        required:
                          - status_cd
                          - error
                        properties:
                          status_cd:
                            type: string
                            enum:
                              - '0'
                            description: GSTN business-failure status.
                          error:
                            type: object
                            description: A business error returned by GSTN.
                            required:
                              - error_cd
                              - message
                            properties:
                              error_cd:
                                type: string
                                description: The GSTN business error code.
                              message:
                                type: string
                                description: >-
                                  A human-readable description of the GSTN
                                  business error.
                description: >-
                  A GSTN success or GSTN business-failure response. Both
                  variants use HTTP 200.
              examples:
                ITC opening balance history:
                  summary: ITC opening balance history
                  value:
                    code: 200
                    timestamp: 1795478400000
                    transaction_id: 00000000-0000-4000-8000-000046983944
                    data:
                      status_cd: '1'
                      data:
                        gstin: 24MAYAS0100E9Z9
                        tr:
                          - trandt: 03-05-2023
                            refno: '1324'
                            action: S
                            opnbal:
                              igst: 100
                              cgst: 100
                              sgst: 100
                              cess: 100
                          - trandt: 03-06-2023
                            refno: '1424'
                            action: A
                            opnbal:
                              igst: 100
                              cgst: 100
                              sgst: 100
                              cess: 100
          headers: {}
          x-apidog-name: OK
          x-apidog-ordering: 0
      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.