> ## 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-1 HSN Summary

> Get HSN summary for GSTR-1 data

#### Response body schema

<Card title="View response body schema" icon="code" href="https://raw.githubusercontent.com/in-co-sandbox/in-co-sandbox-docs/refs/heads/main/data/gst/schema/request/taxpayer/gstr-1/documents/get_hsn.json" arrow="true" horizontal />


## OpenAPI

````yaml api-reference/gst/compliance/openapi.json GET /gst/compliance/tax-payer/gstrs/gstr-1/hsn/{year}/{month}
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
  - url: https://test-api.sandbox.co.in
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-1/hsn/{year}/{month}:
    get:
      tags:
        - Taxpayer
        - Returns
        - GSTR-1 Documents
      summary: GSTR-1 HSN Summary
      description: Get HSN summary for GSTR-1 data
      operationId: getGstr1HsnSummary
      parameters:
        - name: year
          in: path
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: month
          in: path
          description: ''
          required: true
          example: ''
          schema:
            type: string
        - name: authorization
          in: header
          description: >-
            GST taxpayer access token. For token-generation steps, refer to the
            [Generate Taxpayer
            Session](/recipes/gst/authentication/generate_tax_payer_session)
            recipe, then pass the token in the authorization header.
          required: true
          example: ''
          schema:
            type: string
        - name: x-api-version
          in: header
          description: API version
          required: false
          example: ''
          schema:
            type: string
            default: 1.0.0
        - name: x-api-key
          in: header
          description: API key for identification
          required: true
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: 200 Success / RET11416 No data found
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: number
                    example: 200
                  data:
                    type: object
                    properties:
                      data:
                        type: object
                        properties:
                          hsn:
                            type: object
                            properties:
                              chksum:
                                type: string
                                example: >-
                                  1a60e5144b4eecdc03ea2326ea0c5171ff7973840f10e9a409e8934c01283743
                              data:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    camt:
                                      type: number
                                      example: 2285
                                    desc:
                                      type: string
                                      example: >-
                                        Individual tax preparation and planning
                                        services
                                    hsn_sc:
                                      type: string
                                      example: '998232'
                                    iamt:
                                      type: number
                                      example: 237746
                                    num:
                                      type: number
                                      example: 1
                                    qty:
                                      type: number
                                      example: 0
                                    rt:
                                      type: number
                                      example: 18
                                    samt:
                                      type: number
                                      example: 2285
                                    txval:
                                      type: number
                                      example: 1346201
                                    uqc:
                                      type: string
                                      example: NA
                                example:
                                  - camt: 2285
                                    desc: >-
                                      Individual tax preparation and planning
                                      services
                                    hsn_sc: '998232'
                                    iamt: 237746
                                    num: 1
                                    qty: 0
                                    rt: 18
                                    samt: 2285
                                    txval: 1346201
                                    uqc: NA
                              flag:
                                type: string
                                example: 'N'
                      error:
                        type: object
                        properties:
                          error_cd:
                            type: string
                            example: RET11416
                          message:
                            type: string
                            example: >-
                              No document found in selected financial year.
                              Either this document exists in a different
                              financial year or the document number is
                              incorrect.
                      status_cd:
                        type: string
                        example: '1'
                  timestamp:
                    type: number
                    example: 1763446641000
                  transaction_id:
                    type: string
                    example: 3f809d3d-8fa8-4c17-a798-8981318122e9
              examples:
                200 Success:
                  summary: 200 Success
                  value:
                    code: 200
                    data:
                      data:
                        hsn:
                          chksum: >-
                            1a60e5144b4eecdc03ea2326ea0c5171ff7973840f10e9a409e8934c01283743
                          data:
                            - camt: 2285
                              desc: Individual tax preparation and planning services
                              hsn_sc: '998232'
                              iamt: 237746
                              num: 1
                              qty: 0
                              rt: 18
                              samt: 2285
                              txval: 1346201
                              uqc: NA
                          flag: 'N'
                      status_cd: '1'
                    timestamp: 1763446641000
                    transaction_id: 3f809d3d-8fa8-4c17-a798-8981318122e9
                RET11416 No data found:
                  summary: RET11416 No data found
                  value:
                    code: 200
                    data:
                      error:
                        error_cd: RET11416
                        message: >-
                          No document found in selected financial year. Either
                          this document exists in a different financial year or
                          the document number is incorrect.
                      status_cd: '0'
                    timestamp: 1763446641000
                    transaction_id: 12fff328-4baa-4dc4-bce8-0e47476c8fdd
          headers: {}
      deprecated: false
      security: []

````