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

# Validate GSTR-3B

> Compare GSTR-3B values with GSTN's auto-calculated data for the authenticated taxpayer.

## Request body schema

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

## Response schema

For successful responses, this schema describes the GSTN payload at `data.data`. Check `isValid` to determine whether the values match.

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

## Excel field reference

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


## OpenAPI

````yaml api-reference/gst/compliance/openapi.json POST /gst/compliance/tax-payer/gstrs/gstr-3b/{year}/{month}/validate
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/{year}/{month}/validate:
    post:
      tags:
        - Taxpayer/Returns/File GSTR-3B
        - Taxpayer
        - Returns
        - File GSTR-3B
      summary: Validate GSTR-3B
      description: >-
        Compare GSTR-3B values with GSTN system-computed values for the
        specified return period. A processed comparison can report significant
        differences with isValid set to "N". Check data.status_cd separately for
        GSTN business errors.
      operationId: validateGstr3b
      parameters:
        - name: year
          in: path
          description: Year of the return period.
          required: true
          example: 2020
          schema:
            type: integer
            format: int32
            minimum: 1001
            maximum: 9998
        - name: month
          in: path
          description: Month of the return period.
          required: true
          example: 1
          schema:
            type: integer
            format: int32
            minimum: 1
            maximum: 12
        - name: x-api-version
          in: header
          description: API version
          required: false
          example: ''
          schema:
            type: string
            default: 1.0.0
      requestBody:
        content:
          application/json:
            schema:
              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
                ret_period:
                  pattern: ^((0[1-9]|1[012])((19|20)\d\d))$
                  type: string
                  description: Return Period
                sup_details:
                  type: object
                  properties:
                    osup_det:
                      type: object
                      properties:
                        txval:
                          description: Total Taxable value
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        iamt:
                          description: Integrated Tax
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        camt:
                          description: Central Tax
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        samt:
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                          description: State/UT Tax
                        csamt:
                          description: Cess
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                      required:
                        - txval
                        - iamt
                        - camt
                        - samt
                        - csamt
                      description: >-
                        Outward taxable supplies (other than zero rated, nil
                        rated and exempted)
                    osup_zero:
                      type: object
                      properties:
                        txval:
                          description: Total Taxable value
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        iamt:
                          description: Integrated Tax
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        csamt:
                          description: Cess
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                      required:
                        - txval
                        - iamt
                        - csamt
                      description: Outward taxable supplies (zero rated )
                    osup_nil_exmp:
                      type: object
                      properties:
                        txval:
                          description: Total Taxable value
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                      required:
                        - txval
                      description: Other outward supplies (Nil rated, exempted)
                    isup_rev:
                      type: object
                      properties:
                        txval:
                          description: Total Taxable value
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        iamt:
                          description: Integrated Tax
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        camt:
                          description: Central Tax
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        samt:
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                          description: State/UT Tax
                        csamt:
                          description: Cess
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                      required:
                        - txval
                        - iamt
                        - camt
                        - samt
                        - csamt
                      description: Inward supplies (liable to reverse charge)
                    osup_nongst:
                      type: object
                      properties:
                        txval:
                          description: Total Taxable value
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                      required:
                        - txval
                      description: Non-GST outward supplies
                  description: >-
                    Details of Outward supplies and inward supplies liable to
                    reverse charge
                itc_elg:
                  type: object
                  properties:
                    itc_avl:
                      type: array
                      items:
                        type: object
                        properties:
                          camt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: CGST payable
                          samt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: SGST payable
                          csamt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: CESS payable
                          iamt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: IGST payable
                          ty:
                            description: Identifer if Goods or Services
                            type: string
                            pattern: (^IMPG$)|(^IMPS$)|(^ISRC$)|(^ISD$)|(^OTH$)
                        required:
                          - camt
                          - samt
                          - csamt
                          - iamt
                          - ty
                      description: ITC Available
                    itc_rev:
                      type: array
                      items:
                        type: object
                        properties:
                          camt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: 0
                            description: CGST payable
                          csamt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: 0
                            description: CESS payable
                          iamt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: 0
                            description: IGST payable
                          samt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: 0
                            description: SGST payable
                          ty:
                            description: Identifer if Goods or Services
                            type: string
                            pattern: (^RUL$)|(^OTH$)
                        required:
                          - camt
                          - samt
                          - csamt
                          - iamt
                          - ty
                      description: ITC liable to reverse charge
                    itc_net:
                      type: object
                      additionalProperties: false
                      properties:
                        camt:
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                          description: CGST payable
                        csamt:
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                          description: CESS payable
                        iamt:
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                          description: IGST payable
                        samt:
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                          description: SGST payable
                      required:
                        - camt
                        - samt
                        - csamt
                        - iamt
                      description: ITC Net Availability
                    itc_inelg:
                      type: array
                      items:
                        type: object
                        properties:
                          camt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: CGST payable
                          csamt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: CESS payable
                          iamt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: IGST payable
                          samt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: SGST payable
                          ty:
                            description: Identifer if Goods or Services
                            type: string
                            pattern: (^RUL$)|(^OTH$)
                        required:
                          - camt
                          - samt
                          - csamt
                          - iamt
                          - ty
                      description: ITC Ineligble
                  description: Eligible ITC
                inward_sup:
                  type: object
                  properties:
                    isup_details:
                      type: array
                      items:
                        type: object
                        properties:
                          inter:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: 0
                            description: Inter - State supplies
                          intra:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: 0
                            description: Intra - State supplies
                          ty:
                            description: type
                            type: string
                            pattern: (^GST$)|(^NONGST$)
                        required:
                          - inter
                          - intra
                          - ty
                      description: Inward Supply Details
                  required:
                    - isup_details
                  description: Values of exempt, nil-rated and non-GST inward supplies
                intr_ltfee:
                  type: object
                  properties:
                    intr_details:
                      type: object
                      properties:
                        camt:
                          description: Central Tax
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: 0
                        csamt:
                          description: Cess
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: 0
                        iamt:
                          description: Integrated Tax
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: 0
                        samt:
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: 0
                          description: State/UT Tax
                      required:
                        - csamt
                        - iamt
                        - samt
                        - camt
                      description: Interest
                  required:
                    - intr_details
                  description: Interest & late fee payable
                tx_pmt:
                  type: object
                  properties:
                    pdcash:
                      items:
                        properties:
                          c_intrpd:
                            description: Interest Paid against CGST
                            type: number
                          c_lfeepd:
                            description: Late Fee Paid against CGST
                            type: number
                          cpd:
                            description: Cgst paid
                            type: number
                          cs_intrpd:
                            description: Interest Paid against CESS
                            type: number
                          cspd:
                            description: Cess paid
                            type: number
                          i_intrpd:
                            description: Interest Paid against IGST
                            type: number
                          ipd:
                            description: Igst paid
                            type: number
                          liab_ldg_id:
                            description: Liability ledger Id
                            type: number
                          s_intrpd:
                            description: Interest Paid against SGST
                            type: number
                          s_lfeepd:
                            description: Late Fee Paid against SGST
                            type: number
                          spd:
                            description: Sgst paid
                            type: number
                          trans_typ:
                            description: Transaction type
                            type: number
                            pattern: ^(30002|30003)$
                        type: object
                        required:
                          - c_intrpd
                          - c_lfeepd
                          - cpd
                          - cs_intrpd
                          - cspd
                          - i_intrpd
                          - ipd
                          - s_intrpd
                          - s_lfeepd
                          - spd
                          - trans_typ
                      type: array
                      description: List of Paid Through Cash
                  description: >-
                    payment of tax in cash for other than reverse charge to
                    validate against eco_dtls
                inter_sup:
                  type: object
                  additionalProperties: false
                  properties:
                    comp_details:
                      type: array
                      items:
                        type: object
                        properties:
                          iamt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: Amount of Integrated Tax
                          pos:
                            type: string
                            pattern: ^(3[0-8]|[12][0-9]|0[1-9]|97)$
                            maxLength: 2
                            minLength: 2
                            description: Place of Supply (State/UT)
                          txval:
                            description: Total Taxable value
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                        required:
                          - iamt
                          - txval
                          - pos
                      description: Supplies made to Composition Taxable Persons
                    uin_details:
                      type: array
                      items:
                        type: object
                        properties:
                          iamt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: Amount of Integrated Tax
                          pos:
                            type: string
                            pattern: ^(3[0-8]|[12][0-9]|0[1-9]|97)$
                            maxLength: 2
                            minLength: 2
                            description: Place of Supply (State/UT)
                          txval:
                            description: Total Taxable value
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                        required:
                          - iamt
                          - txval
                          - pos
                      description: Supplies made to UIN holders
                    unreg_details:
                      type: array
                      items:
                        type: object
                        properties:
                          iamt:
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                            description: Amount of Integrated Tax
                          pos:
                            type: string
                            pattern: ^(3[0-8]|[12][0-9]|0[1-9]|97)$
                            maxLength: 2
                            minLength: 2
                            description: Place of Supply (State/UT)
                          txval:
                            description: Total Taxable value
                            type: number
                            multipleOf: 0.01
                            maximum: 9999999999999.99
                            minimum: -9999999999999.99
                        required:
                          - iamt
                          - txval
                          - pos
                      description: Supplies made to Unregistered Persons
                  description: >-
                    Details of inter-state supplies made to unregistered
                    persons, composition taxable persons and UIN holders
                eco_dtls:
                  properties:
                    eco_sup:
                      properties:
                        txval:
                          description: Total Taxable value
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        iamt:
                          description: Integrated Tax
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        camt:
                          description: Central Tax
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                        samt:
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                          description: State/UT Tax
                        csamt:
                          description: Cess
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                      required:
                        - txval
                        - iamt
                        - camt
                        - samt
                        - csamt
                      description: >-
                        Taxable supplies on which electronics commerce operator
                        pays taxes u/s 52
                    eco_reg_sup:
                      properties:
                        txval:
                          description: Total Taxable value
                          type: number
                          multipleOf: 0.01
                          maximum: 9999999999999.99
                          minimum: -9999999999999.99
                      required:
                        - txval
                      description: >-
                        Taxable supplies on which electronics commerce operator
                        pays taxes u/s 9(5)
                  description: Supplies notified under section 9(5)
              required:
                - gstin
                - ret_period
            examples:
              GSTR-3B validation result:
                value:
                  gstin: 29HJKPS9689A8Z4
                  ret_period: '012020'
                  sup_details:
                    osup_det:
                      txval: 250
                      iamt: 100
                      camt: 200
                      samt: 300
                      csamt: 400
                    osup_zero:
                      txval: 250
                      iamt: 100
                      csamt: 400
                    osup_nil_exmp:
                      txval: 250
                    isup_rev:
                      txval: 250
                      iamt: 100
                      camt: 200
                      samt: 300
                      csamt: 400
                    osup_nongst:
                      txval: 250
                  inter_sup:
                    unreg_details:
                      - pos: '07'
                        txval: 250
                        iamt: 200
                      - pos: '07'
                        txval: 250
                        iamt: 200
                      - pos: '07'
                        txval: 250
                        iamt: 200
                    comp_details:
                      - pos: '07'
                        txval: 250
                        iamt: 200
                      - pos: '07'
                        txval: 250
                        iamt: 200
                      - pos: '07'
                        txval: 250
                        iamt: 200
                    uin_details:
                      - pos: '07'
                        txval: 250
                        iamt: 200
                      - pos: '07'
                        txval: 250
                        iamt: 200
                      - pos: '07'
                        txval: 250
                        iamt: 200
                  eco_dtls:
                    eco_sup:
                      txval: 250
                      iamt: 100
                      camt: 200
                      samt: 300
                      csamt: 400
                    eco_reg_sup:
                      txval: 1000
                  itc_elg:
                    itc_avl:
                      - ty: IMPG
                        iamt: 136.53
                        camt: 274
                        samt: 162.99
                        csamt: 103
                      - ty: IMPS
                        iamt: 136.53
                        camt: 274
                        samt: 162.99
                        csamt: 103
                      - ty: ISRC
                        iamt: 136.53
                        camt: 274
                        samt: 162.99
                        csamt: 103
                      - ty: ISD
                        iamt: 136.53
                        camt: 274
                        samt: 162.99
                        csamt: 103
                      - ty: OTH
                        iamt: 136.53
                        camt: 274
                        samt: 162.99
                        csamt: 103
                    itc_rev:
                      - ty: RUL
                        iamt: 136.53
                        camt: 274
                        samt: 162.99
                        csamt: 103
                      - ty: OTH
                        iamt: 136.53
                        camt: 274
                        samt: 162.99
                        csamt: 103
                    itc_net:
                      iamt: 136.53
                      camt: 274
                      samt: 162.99
                      csamt: 103
                    itc_inelg:
                      - ty: RUL
                        iamt: 136.53
                        camt: 274
                        samt: 162.99
                        csamt: 103
                      - ty: OTH
                        iamt: 136.53
                        camt: 274
                        samt: 162.99
                        csamt: 103
                  inward_sup:
                    isup_details:
                      - ty: GST
                        inter: 100
                        intra: 200
                      - ty: NONGST
                        inter: 300
                        intra: 400
                  intr_ltfee:
                    intr_details:
                      iamt: 10
                      camt: 20
                      samt: 30
                      csamt: 40
                  tx_pmt:
                    pdcash:
                      - trans_typ: 30002
                        ipd: 3517817
                        cpd: 3517817
                        spd: 3517817
                        cspd: 3517817
                        i_intrpd: 20
                        c_intrpd: 30
                        s_intrpd: 10
                        cs_intrpd: 15
                        c_lfeepd: 13
                        s_lfeepd: 13
                      - trans_typ: 30003
                        ipd: 3517818
                        cpd: 3517819
                        spd: 3517567
                        cspd: 3517827
                        i_intrpd: 20
                        c_intrpd: 30
                        s_intrpd: 10
                        cs_intrpd: 15
                        c_lfeepd: 13
                        s_lfeepd: 13
                summary: GSTR-3B validation result
                description: Use year 2020 and month 1.
              November 2024 validation result:
                value:
                  ret_period: '112024'
                  gstin: 24AAACQ3770E1ZP
                  sup_details:
                    osup_zero:
                      samt: 0
                      csamt: 0
                      txval: 0
                      camt: 0
                      iamt: 0
                    osup_nil_exmp:
                      samt: 0
                      csamt: 0
                      txval: 0
                      camt: 0
                      iamt: 0
                    osup_nongst:
                      samt: 0
                      csamt: 0
                      txval: 0
                      camt: 0
                      iamt: 0
                    osup_det:
                      samt: 7477.04
                      csamt: 0
                      txval: 267629.65
                      camt: 7477.04
                      iamt: 33219.15
                    isup_rev:
                      samt: 7826.48
                      csamt: 0
                      txval: 86960.78
                      camt: 7826.48
                      iamt: 0
                  inter_sup:
                    unreg_details:
                      - pos: '33'
                        txval: 16433.99
                        iamt: 2958.11
                      - pos: '23'
                        txval: 5083.9
                        iamt: 915.1
                      - pos: '36'
                        txval: 8472.04
                        iamt: 1524.96
                      - pos: '03'
                        txval: 1694.07
                        iamt: 304.93
                      - pos: '04'
                        txval: 1011.86
                        iamt: 182.14
                      - pos: '27'
                        txval: 23782.18
                        iamt: 4280.82
                      - pos: '16'
                        txval: 505.93
                        iamt: 91.07
                      - pos: '06'
                        txval: 5930.51
                        iamt: 1067.49
                      - pos: '18'
                        txval: 5083.9
                        iamt: 915.1
                      - pos: '07'
                        txval: 18956.01
                        iamt: 3412.09
                      - pos: '29'
                        txval: 42082.28
                        iamt: 7574.82
                      - pos: '19'
                        txval: 633.05
                        iamt: 113.95
                      - pos: '08'
                        txval: 1515.25
                        iamt: 272.75
                      - pos: '09'
                        txval: 8614.4
                        iamt: 1550.6
                      - pos: '20'
                        txval: 633.05
                        iamt: 113.95
                      - pos: '10'
                        txval: 0
                        iamt: 0
                      - pos: '21'
                        txval: 633.05
                        iamt: 113.95
                      - pos: '32'
                        txval: 8207.71
                        iamt: 1477.39
                    comp_details: []
                    uin_details: []
                  itc_elg:
                    itc_avl:
                      - samt: 0
                        csamt: 0
                        ty: IMPG
                        camt: 0
                        iamt: 0
                      - samt: 0
                        csamt: 0
                        ty: IMPS
                        camt: 0
                        iamt: 0
                      - samt: 7826.48
                        csamt: 0
                        ty: ISRC
                        camt: 7826.48
                        iamt: 0
                      - samt: 0
                        csamt: 0
                        ty: ISD
                        camt: 0
                        iamt: 0
                      - samt: 3037
                        csamt: 0
                        ty: OTH
                        camt: 3037
                        iamt: 15744
                    itc_net:
                      samt: 10863.48
                      csamt: 0
                      camt: 10863.48
                      iamt: 15744
                    itc_rev:
                      - samt: 0
                        csamt: 0
                        ty: RUL
                        camt: 0
                        iamt: 0
                      - samt: 0
                        csamt: 0
                        ty: OTH
                        camt: 0
                        iamt: 0
                    itc_inelg:
                      - samt: 0
                        csamt: 0
                        ty: RUL
                        camt: 0
                        iamt: 0
                      - samt: 0
                        csamt: 0
                        ty: OTH
                        camt: 0
                        iamt: 0
                summary: November 2024 validation result
                description: Use year 2024 and month 11.
        required: true
      responses:
        '200':
          description: >-
            HTTP 200 can contain a processed comparison or a GSTN business
            error. With data.status_cd equal to "1", inspect data.data.isValid
            and the reported differences. With data.status_cd equal to "0",
            inspect data.error.
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      code:
                        type: number
                        example: 200
                      data:
                        type: object
                        properties:
                          data:
                            type: object
                            title: Validate GSTR3B schema
                            additionalProperties: false
                            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
                              ret_period:
                                pattern: ^((0[1-9]|1[012])((19|20)\d\d))$
                                type: string
                                description: Return Period
                              isValid:
                                type: string
                                enum:
                                  - 'Y'
                                  - 'N'
                                description: valid flag
                              error_message:
                                type: string
                                additionalProperties: false
                                description: error details
                              sup_details:
                                type: object
                                additionalProperties: false
                                properties:
                                  osup_3_1a:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: >-
                                      Outward taxable supplies (other than zero
                                      rated, nil rated and exempted)
                                  osup_3_1b:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: Outward taxable supplies (zero rated)
                                  osup_3_1c:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: >-
                                      Other outward supplies (Nil rated,
                                      exempted)
                                  isup_3_1d:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: Inward supplies (liable to reverse charge)
                                  osup_3_1e:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: Non-GST outward supplies
                                description: >-
                                  Details of Outward supplies and inward
                                  supplies liable to reverse charge
                              inter_sup:
                                type: object
                                additionalProperties: false
                                properties:
                                  osup_unreg_3_2:
                                    type: array
                                    minItems: 1
                                    maxItems: 40
                                    additionalProperties: false
                                    properties:
                                      pos:
                                        type: string
                                        maxLength: 2
                                        minLength: 0
                                        description: >-
                                          Details of tables of GSTR-1 for supplies
                                          to unregistered users flowing to GSTR-3B
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: Supplies made to Unregistered persons
                                    items: {}
                                  osup_comp_3_2:
                                    type: array
                                    minItems: 1
                                    maxItems: 40
                                    additionalProperties: false
                                    properties:
                                      pos:
                                        type: string
                                        maxLength: 2
                                        minLength: 0
                                        description: >-
                                          Details of tables of GSTR-1 for supplies
                                          to unregistered users flowing to GSTR-3B
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: >-
                                      Supplies made to Composition Taxable
                                      persons
                                    items: {}
                                  osup_uin_3_2:
                                    type: array
                                    minItems: 1
                                    maxItems: 40
                                    additionalProperties: false
                                    properties:
                                      pos:
                                        type: string
                                        maxLength: 2
                                        minLength: 0
                                        description: >-
                                          Details of tables of GSTR-1 for supplies
                                          to unregistered users flowing to GSTR-3B
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: Supplies made to UIN holders
                                    items: {}
                                description: >-
                                  Details of inter-state supplies made to
                                  unregistered persons, composition taxable
                                  persons and UIN holders
                              eco_dtls:
                                type: object
                                additionalProperties: false
                                properties:
                                  eco_sup:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: >-
                                      Taxable supplies on which electronics
                                      commerce operator pays taxes u/s 52
                                  eco_reg_sup:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: >-
                                      Taxable supplies on which electronics
                                      commerce operator pays taxes u/s 9(5)
                                description: Supplies notified under section 9(5)
                              elgitc:
                                type: object
                                additionalProperties: false
                                properties:
                                  itc4a1:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: ITC Available(Import Of Goods)
                                  itc4a3:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: >-
                                      ITC Available(Input Supply liable to
                                      reverse charge)
                                  itc4a4:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: ITC Available(Inward Supplies from ISD)
                                  itc4a5:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: ITC Available(All Other ITC)
                                  itc4b2:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: ITC Reversed(Others)
                                  itc4d2:
                                    type: object
                                    additionalProperties: false
                                    properties:
                                      error_fields:
                                        type: array
                                        minItems: 1
                                        maxItems: 40
                                        items:
                                          type: string
                                          additionalProperties: false
                                        description: >-
                                          List of field names which is having
                                          incorrect details.
                                    description: >-
                                      Ineligible ITC under section 16(4) & ITC
                                      restricted due to PoS rules
                                description: Eligible ITC
                            required:
                              - gstin
                              - ret_period
                              - isValid
                          status_cd:
                            type: string
                            enum:
                              - '1'
                            example: '1'
                        required:
                          - status_cd
                          - data
                        x-apidog-orders:
                          - data
                          - status_cd
                        x-apidog-ignore-properties: []
                      timestamp:
                        type: number
                        example: 1734591883000
                      transaction_id:
                        type: string
                        example: 0f47ce78-c5b8-43d2-a23a-980d77d665b9
                    required:
                      - data
                    x-apidog-orders:
                      - code
                      - data
                      - timestamp
                      - transaction_id
                    x-apidog-ignore-properties: []
                  - $ref: '#/components/schemas/GstnBusinessErrorResponse'
              examples:
                GSTR-3B validation result:
                  summary: GSTR-3B validation result
                  value:
                    code: 200
                    timestamp: 1795478400000
                    transaction_id: 00000000-0000-4000-8000-000040935193
                    data:
                      status_cd: '1'
                      data:
                        gstin: 29HJKPS9689A8Z4
                        ret_period: '012020'
                        isValid: 'N'
                        error_message: >-
                          The below fields are significantly different from the
                          system computed value.
                        sup_details:
                          osup_3_1a:
                            error_fields:
                              - txval
                              - iamt
                          osup_3_1b:
                            error_fields:
                              - txval
                              - csamt
                          osup_3_1c:
                            error_fields:
                              - txval
                          isup_3_1d:
                            error_fields:
                              - txval
                              - iamt
                              - csamt
                          osup_3_1e:
                            error_fields:
                              - txval
                        inter_sup:
                          osup_unreg_3_2:
                            - pos: '09'
                              error_fields:
                                - txval
                                - iamt
                          osup_comp_3_2:
                            - pos: '09'
                              error_fields:
                                - txval
                                - iamt
                          osup_uin_3_2:
                            - pos: '09'
                              error_fields:
                                - txval
                        eco_dtls:
                          eco_sup:
                            error_fields:
                              - iamt
                              - csamt
                              - sgst
                              - camt
                              - txval
                          eco_reg_sup:
                            error_fields:
                              - txval
                        elgitc:
                          itc4a1:
                            error_fields:
                              - iamt
                              - csamt
                          itc4a3:
                            error_fields:
                              - iamt
                              - camt
                          itc4a4:
                            error_fields:
                              - iamt
                              - samt
                          itc4a5:
                            error_fields:
                              - iamt
                              - csamt
                          itc4b2:
                            error_fields:
                              - iamt
                              - csamt
                              - samt
                          itc4d2:
                            error_fields:
                              - iamt
                              - csamt
                              - samt
                  description: Use year 2020 and month 1.
                November 2024 validation result:
                  summary: November 2024 validation result
                  value:
                    transaction_id: 0f47ce78-c5b8-43d2-a23a-980d77d665b9
                    code: 200
                    data:
                      data:
                        ret_period: '112024'
                        error_message: >-
                          The below fields are significantly different from the
                          system computed value.
                        elgitc:
                          itc4a3:
                            error_fields:
                              - camt
                              - samt
                          itc4a5:
                            error_fields:
                              - iamt
                              - camt
                              - samt
                        isValid: 'N'
                        gstin: 24AAACQ3770E1ZP
                      status_cd: '1'
                    timestamp: 1734591883000
                  description: Use year 2024 and month 11.
          headers: {}
          x-apidog-name: OK
          x-apidog-ordering: 0
      callbacks: {}
      deprecated: false
      security:
        - GstTaxpayerAccessToken: []
          SandboxApiKey1: []
components:
  schemas:
    GstnBusinessErrorResponse:
      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
          example: 200
        timestamp:
          type: integer
          format: int64
          description: The response timestamp in Unix epoch milliseconds.
          example: 1763446641000
        transaction_id:
          type: string
          description: The transaction identifier used to trace the request.
          example: 41bb8041-fb83-4654-8d75-85a19f329158
        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.
              example: '0'
            error:
              $ref: '#/components/schemas/GstnBusinessError'
    GstnBusinessError:
      type: object
      description: A business error returned by GSTN.
      required:
        - error_cd
        - message
      properties:
        error_cd:
          type: string
          description: The GSTN business error code.
          example: RET11416
        message:
          type: string
          description: A human-readable description of the GSTN business error.
          example: No records found.
  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.