Skip to content

Get HSN details#

This API returns a string containing the HSN description details for a given HSN Code. If the environment is sandbox then e-invoice api will get hit and in case of production e-waybill api will get hit.

Route

/enriched/einv/{flynn-version}/{irp}/ewayapi/hsn-details/{hsn_number}

  • active ‘flynn-version’: v3.0
  • method: GET

URL Parameters#

Name Description Type
flynn-version version of the API
for example, v3.0
string
irp IRP Provider as per GST registration for e-invoicing enum (ni1, ni2)
hsn_number HSN code for which the details are required string

Headers#

All headers as mentioned in the Enriched E-Invoice API introduction.

Response#

200:#

Sample Response Body

{
  "status": "1",
  "data": {
    "hsnCode": "1101",
    "hsnDesc": "WHEAT OR MESLIN FLOUR"
  },
  "error": null,
  "info": null,
  "additionalInfo": null,
  "alert": null
}        

Enriched e-invoice errors are mentioned under common errors for v3.0 api.

Notes#

IRP - nic is deprecated. Instead of it please use ni1 or ni2