How to Create and Use Stock Groups in TallyPrime
A stock group in TallyPrime is a hierarchical container that organizes inventory items into logical categories. It enables batch tracking, GST mapping, and standardized reporting, essential for compliance and operational efficiency.
What Is a Stock Group in TallyPrime?
A stock group is a classification structure in TallyPrime that groups related inventory items together. Think of it as a folder system for your stock. Instead of managing 500 individual items without organization, you group them into categories like Raw Materials, Finished Goods, Packaging, or by product line. This structure simplifies inventory tracking, enables batch and expiry management, maps GST codes, and generates category-wise reports.
Stock groups are fundamental to any manufacturing, trading, or retail business using TallyPrime. They reduce data entry errors, enforce consistency, and make compliance reporting (especially GST and e-invoicing) faster and more accurate.
Why Stock Groups Matter in Inventory Management
Without stock groups, your inventory becomes a flat, unorganized list. Stock groups solve three core problems:
- Organization: Group items by type, location, supplier, or product line for easy navigation and control.
- Compliance: Assign HSN/SAC codes at the group level; all items inherit the code for GST and e-invoice compliance.
- Reporting: Generate stock, sales, and profit reports by group, not just by individual item, enabling better decision-making.
For example, a pharmaceutical company might have groups like Tablets, Syrups, Injections, and Packaging. Each group can have its own HSN code, batch tracking rules, and reorder levels.
Stock Group Hierarchy: Parent and Child Groups
TallyPrime supports multi-level hierarchy. You can create a parent group and nest child groups under it. For instance:
| Level | Group Name | Purpose |
|---|---|---|
| Parent | Raw Materials | Top-level category |
| Child 1 | Chemicals | Sub-category under Raw Materials |
| Child 2 | Metals | Sub-category under Raw Materials |
| Grandchild | Stainless Steel Sheets | Sub-category under Metals |
This hierarchy allows you to run reports at any level. You can see total raw material stock, drill down to chemicals only, or focus on stainless steel sheets specifically.
How to Create a Stock Group in TallyPrime
Follow these exact steps:
- Open TallyPrime and press Gateway of Tally (Ctrl+G or from the main screen).
- Select Inventory Info.
- Select Stock Group.
- Click Create (or press Alt+C).
- Enter the Stock Group Name (e.g., "Finished Goods").
- If this is a child group, select the Parent Stock Group from the dropdown.
- Set Under field to the parent (if applicable).
- Enable Track Batch Numbers if items in this group have batch codes (common for pharma, food, chemicals).
- Enable Track Expiry Date if items expire (food, pharma, cosmetics).
- Enable Track Serial Number for high-value items like machinery or electronics.
- In the HSN/SAC field, enter the 8-digit Harmonized System of Nomenclature code (for goods) or Service Accounting Code (for services). This is mandatory for GST compliance and e-invoicing.
- Set Reorder Level and Reorder Quantity if you want automatic low-stock alerts.
- Press Save (Ctrl+S).
Worked Example: Creating a Stock Group for a Trading Company
Suppose you run a fabric trading business. You decide to create two main groups: Cotton Fabrics and Synthetic Fabrics. Here is the step-by-step setup:
Step 1: Create Parent Group "Textiles"
- Name: Textiles
- Parent: (leave blank)
- Track Batch Numbers: No
- Track Expiry Date: No
- HSN Code: 5208 (Cotton fabrics)
Step 2: Create Child Group "Cotton Fabrics"
- Name: Cotton Fabrics
- Parent: Textiles
- Track Batch Numbers: Yes (for dye lot tracking)
- HSN Code: 5208
- Reorder Level: 50 meters
- Reorder Quantity: 200 meters
Step 3: Create Child Group "Synthetic Fabrics"
- Name: Synthetic Fabrics
- Parent: Textiles
- Track Batch Numbers: Yes
- HSN Code: 5407 (Synthetic fabrics)
- Reorder Level: 40 meters
- Reorder Quantity: 150 meters
Now, when you create stock items in Tally, you assign each item to either Cotton Fabrics or Synthetic Fabrics. All items in Cotton Fabrics automatically inherit HSN 5208 and batch tracking, while Synthetic Fabrics items get HSN 5407.
Mapping HSN/SAC Codes to Stock Groups
HSN (Harmonized System of Nomenclature) codes are 8-digit codes that classify goods for GST purposes. SAC (Service Accounting Code) is for services. Mapping these codes at the group level is a best practice because:
- Reduces manual data entry when creating items.
- Ensures consistency; all items in a group have the same tax treatment.
- Simplifies GSTR-1 and GSTR-3B filing; TallyPrime auto-populates codes from the group.
- Enables GST reconciliation with GSTR-2B (inward supplies).
To find the correct HSN code, visit the Central Board of Indirect Taxes and Customs (CBIC) website or refer to your industry's standard classification. Once mapped, enable GST under F11 (Features) and verify that Track HSN/SAC is enabled.
Batch and Expiry Tracking in Stock Groups
If you enable Track Batch Numbers and Track Expiry Date at the group level, every item in that group must have batch and expiry data. This is essential for:
- Pharmaceutical companies (regulatory requirement).
- Food and beverage businesses (shelf life management).
- Chemical suppliers (safety data sheets and traceability).
For details on setting up batch and expiry, see our guide on batch and expiry in Tally. When you receive stock via stock journal or purchase invoice, TallyPrime will prompt you to enter batch number and expiry date for items in batch-enabled groups.
Stock Groups and Godowns (Warehouses)
Stock groups are independent of godowns in Tally. A godown is a physical location (warehouse, store, branch). You can have the same stock group stored in multiple godowns. For example, the group "Finished Goods" might be stored in Godown-1 (main warehouse) and Godown-2 (branch office). TallyPrime tracks quantity separately for each godown but under the same group, enabling location-wise and group-wise reporting.
Stock Group Reports and Analysis
Once you have set up stock groups and assigned items, you can generate powerful reports:
- Stock Summary by Group: Gateway of Tally > Display More Reports > Inventory > Stock Summary. View opening, purchase, sale, and closing stock by group.
- Stock Item Report: Lists all items under each group with quantity, value, and reorder status.
- Group-wise Profit Report: Shows profit/loss by stock group, helping you identify high-margin and low-margin categories.
- GST Reports: Alt+G then GSTR-1 or GSTR-3B. TallyPrime groups invoices by HSN code (mapped to your stock groups) for compliance filing.
These reports are critical for financial analysis, inventory planning, and tax compliance.
Renaming and Editing Stock Groups
You can edit a stock group after creation, but with restrictions:
- You can change the name, reorder level, and reorder quantity without issue.
- You cannot change the parent group if items are assigned to the current group (you must reassign items first).
- You cannot disable batch or expiry tracking if items already have batch/expiry data recorded.
To edit, go to Gateway of Tally > Inventory Info > Stock Group > Alter, select the group, make changes, and save.
Deleting Stock Groups
To delete a stock group, it must have no items assigned. Steps:
- Identify all items in the group (use Stock Item Report).
- Reassign items to another group or delete them (if no transactions exist).
- Go to Gateway of Tally > Inventory Info > Stock Group > Delete.
- Select the group and confirm.
Always back up your company data before bulk deletions. Use Alt+Y (Data) > Backup to create a safe copy.
Stock Groups and Bill of Materials (BOM)
If you manufacture products, bill of materials in Tally links raw material stock groups to finished goods groups. For example, a furniture maker might have:
- Raw Material Group: Wood, Nails, Paint
- Finished Goods Group: Chairs, Tables
- BOM for Chair: 4 units of Wood + 16 units of Nails + 0.5 units of Paint = 1 Chair
Stock groups make BOM management cleaner and enable production costing by group.
Best Practices for Stock Group Setup
Follow these practices to maximize the value of stock groups:
- Plan Before Creating: Map out your inventory structure before creating groups. Avoid creating too many levels (more than 4 levels can be unwieldy).
- Use Meaningful Names: Name groups clearly (e.g., "Raw Materials - Chemicals" instead of "RM-C"). This aids navigation and reporting.
- Assign HSN Codes Correctly: Verify HSN codes with your GST registration or industry body. Incorrect codes can trigger GST audits.
- Enable Batch/Expiry Only When Needed: Enabling these features increases data entry burden. Use them only for items that require tracking.
- Set Realistic Reorder Levels: Base reorder levels on historical sales, lead time, and storage capacity, not guesswork.
- Review Periodically: Quarterly, review your group structure. Merge unused groups or split large groups for better control.
Stock Groups and Pricing in TallyPrime
Stock groups do not directly set prices, but they enable price management. You can use price lists in TallyPrime to assign different selling prices to items in different groups. For example, a retailer might offer a 10% discount on all items in the "Clearance" stock group. Price lists are linked to customers, items, or groups, giving you flexibility.
Troubleshooting Stock Group Issues
Common issues and solutions:
- Cannot Delete Group: Items are still assigned. Reassign or delete items first.
- HSN Code Not Appearing in GSTR-1: Ensure GST is enabled (F11), Track HSN/SAC is on, and the HSN code is correctly mapped to the group.
- Batch Tracking Not Working: Verify that Track Batch Numbers is enabled at the group level and the item is assigned to that group.
- Reorder Alert Not Showing: Check that Reorder Level is set and stock quantity is below it. Reorder alerts appear in the Stock Item Report.
If issues persist, use Alt+Y (Data) > Repair to fix data inconsistencies. Always back up before running repair.
Stock Groups in TallyPrime Cloud
If you use TallyPrime on Cloud (hosted from ~Rs 899-1,299 per month with licence), stock groups work identically. You access TallyPrime via secure RDP from Windows, Mac, Linux, Android, or iOS. All group data is synced to the cloud server with daily backups, ensuring no loss. Cloud deployment is ideal for multi-location businesses needing real-time inventory visibility.
Stock groups are the backbone of organized inventory management in TallyPrime. By setting them up correctly from the start, you save time, reduce errors, and ensure GST compliance. Whether you are a small retailer or a large manufacturer, a clear stock group hierarchy makes operations smoother and reporting faster. If you need hands-on help setting up stock groups or optimizing your inventory structure, our team at Global IT Care, a Tally 3 Star Certified Partner in Purnea, Bihar, is here to guide you. We have been supporting businesses since 2010. Contact us today at +91 75469 00951 for a free consultation on TallyPrime inventory setup and best practices.
Frequently asked questions
What is a stock group in Tally?
A stock group is a classification container that organizes stock items into logical categories. It enables hierarchical grouping, batch tracking, GST mapping, and standardized reporting in TallyPrime.
Can stock groups be nested in TallyPrime?
Yes. You can create parent and child stock groups up to multiple levels. A child group inherits properties from its parent unless overridden, enabling flexible inventory hierarchy.
How do I create a stock group in TallyPrime?
Gateway of Tally > Inventory Info > Stock Group > Create. Enter group name, select parent (if child), enable batch/expiry, set HSN/SAC, and save. Assign items during stock item creation.
Why map HSN/SAC to stock groups?
HSN/SAC codes are mandatory for GST invoicing and GSTR-1 filing. Mapping at group level ensures all items in that group inherit the code, reducing manual entry and compliance errors.
What happens if I delete a stock group?
You cannot delete a group with assigned items. First reassign or delete all items in that group, then delete the group. Always back up before bulk changes.
Do stock groups affect stock valuation methods?
No. Valuation methods (FIFO, LIFO, Weighted Avg) are set per item, not per group. However, grouping aids cost analysis and batch-wise profit reporting.