- Short answer
- In the product's HS code field under Shipping, which takes 6+ digits; per Shopify, a 4-digit HSN goes in a metafield or product tag.
- Label in the admin
- Harmonized System (HS) code, under Shipping › More details on the product page
- Shorter codes
- No Shopify page we read names the metafield or tag format; ask your GST app
- GST law
- 4 digits up to ₹5 crore of previous-financial-year aggregate turnover, 6 above (Notification 78/2020-Central Tax)
- GSTR-1 Table 12
- At least 4 digits up to ₹5 crore, even where invoices to unregistered buyers needn't meet the 4-digit count
Where is the HSN field on a Shopify product?
Shopify's India GST page says you can store the HSN code in the HS tariff code field, in the product page's Shipping section. In the admin that field is labelled Harmonized System (HS) code and sits under the collapsed More details; Shopify's HS-code steps need Physical product turned on.
- Products
- The product
- Shipping
- More details
It is the same HS code Shopify uses for international shipping: usually six digits long, and countries can add digits after the first six.
Can Shopify's HS code field take a 4-digit HSN?
No — the field has a six-digit floor. Shopify's India GST page puts it this way:
This field requires that codes have at least 6 digits. If you want to use shorter HSN codes, then add your HS codes as Metafields or product tags.
A code of six digits or more goes straight in; Shopify's Admin API accepts between 6 and 13 digits.
No Shopify page we read names the metafield or the tag format — we checked the Help Center, shopify.dev and both Shopify changelogs in October 2026. So ask your GST app where it reads HSN from before you choose.
When does GST law allow a 4-digit HSN?
Notification 78/2020-Central Tax sets the digits from April 1, 2021, by your aggregate turnover in the previous financial year:
- Tax invoices: 4 digits
- Tax invoices to unregistered buyers: the 4-digit count isn't required
- GSTR-1 Table 12: at least 4, in the B2B and B2C tabs
- In Shopify: a 4-digit code goes in a metafield or tag; 6+ digits fit the HS code field
- Tax invoices: 6 digits
- GSTR-1 Table 12: at least 6
- In Shopify: the code fits the HS code field
The unregistered-buyer exemption covers only the number of digits — it says nothing about leaving the HSN out — and GSTR-1 still requires at least four. Either way, keep the code with each product.
This page was written by AI. Separate AI agents that did not write it check its figures and claims against official sources and test its links and interactive tools. A human editor sets the site's editorial direction, topics and rules and checks that pages are complete and display correctly, but does not check their facts or edit their text. Details may change — always confirm critical data at shopify.com.
Editorial Policy