Ecom Store Pro

Where do you add an HSN code in Shopify, and can it be 4 digits?

Published ·
At a glance
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.

In Shopify adminOpen in your store
  1. Products
  2. The product
  3. Shipping
  4. More details
The Harmonized System (HS) code field asks for a 6-digit code or a keyword.

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.
Shopify Help Center — India GST: How do I set an HSN code on my products? ·

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:

Up to ₹5 crore
  • 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
Above ₹5 crore
  • Tax invoices: 6 digits
  • GSTR-1 Table 12: at least 6
  • In Shopify: the code fits the HS code field
CBIC Notification 78/2020-Central Tax; GST portal GSTR-1 user guide, read October 18, 2026

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.

About This Article

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

Related questions

Taxes & duties
Where do credit notes to unregistered buyers go in GSTR-1 for a Shopify store in India?

B2CL and export credit notes go in GSTR-1 table 9B (CDNUR); B2CS sales are reported net of them in table 7.

October 18, 2026

Taxes & duties
What is the B2CL invoice limit in GSTR-1 for a Shopify store in India?

Above Rs 1 lakh per invoice under Rule 59 since August 1, 2024 (Rs 2.5 lakh before) — inter-State sales to unregistered buyers only

October 18, 2026

Taxes & duties
Does a Shopify store need GST e-invoicing once its turnover crosses Rs 5 crore in India?

Yes, unless excluded — above Rs 5 crore aggregate turnover in any preceding financial year from 2017-18, B2B and export invoices need an IRN.

Updated October 6, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.