GET HSN Details

This method provides the HSN description details for a given HSN Code.

Request Method

GET

Request Path

{{API_URL}}/api/v1/getEwayBillData/

Request Headers

ParameterValueDescription

Authorization/api_key

api_key/auth token

Value and header type is mentioned in the Authentication Page

Request Params

ParameterValueDescription

action

GetHsnDetailsByHsnCode

Action

userGstin

XXXXXXXXXXXXXXX

Gstin

hsncode

1001

HSN Code

Response Body

200 (OK)

Sample Response

{
  "results": {
    "message": {
      "hsn_code": "1001",
      "hsn_description": "WHEAT AND MESLIN - Durum wheat :"
    },
    "status": "Success",
    "code": 200
  }
}

204 (Invalid Parameters)

{
  "results": {
    "message": "216: Invalid HSN Code",
    "status": "No Content",
    "code": 204,
    "nic_code": "216"
  }
}

Last updated