Stock Market Accounting in TallyPrime (2025 Guide): How to Record Share Trading, Investments, FIFO Valuation & Capital Gains Easily

Call CA Tally HelpDesk +91 9205471661, 7428779101

By CA. Rohin Mehtaal   |   Published on: 12-12-2025 | 9 min read

 

Introduction

With the rise of retail investors and online trading platforms (Zerodha, Upstox, ICICI Direct, Groww), businesses and individuals now need a systematic way to record share transactions—including buying, selling, brokerage, STT, GST, stamp duty, capital gains, and dividend income.

While many traders use Excel, the most reliable method for long-term compliance remains TallyPrime, which supports:

  • Investment accounting
  • Speculative & non-speculative trading
  • FIFO-based valuation
  • Capital gains calculations
  • Dividend & interest accounting
  • GST reporting for brokerage

This article explains how to record stock market entries in TallyPrime, step-by-step, for investors, traders, CA professionals, and audit firms.


1. Types of Stock Market Transactions That Can Be Recorded in Tally

TallyPrime supports all types of market-related entries:

 Equity Delivery (Long-Term & Short-Term Capital Gains)

Buy today → Sell after days/months.

 Intraday Trading (Speculative Profit/Loss)

Buy and sell on the same day.

 F&O (Futures & Options) – Business Income

Derivative margin, MTM adjustments, premium entries.

 Mutual Funds

Investment and redemption entries.

 IPO, Rights, Bonus Shares

Corporate actions.

 Dividend Income

Recorded as indirect income.

 Brokerage, STT, GST, Exchange Charges, Stamp Duty

Automatically included as expenses.


2. Ledger Creation Required in TallyPrime

A. Create Ledgers for Stock Brokers

Example: Zerodha, Angel One, ICICI Direct

Gateway of Tally → Create → Ledger

  • Name: Zerodha
  • Group: Sundry Creditors
  • Maintain balances bill-wise: Yes

B. Create Investment Ledger

  • Name: Share Investment – Equity
  • Group: Investments

For traders (F&O / intraday), create under:

  • Direct Expenses / Trading Account

C. Create Bank Ledger

Your bank account used for trading.

D. Create Expense Ledgers

Group them under Indirect Expenses:

  • Brokerage Charges
  • Securities Transaction Tax (STT)
  • Exchange Charges
  • Stamp Duty
  • IGST/CGST/SGST on brokerage (as applicable)

E. Create Income Ledgers

  • Dividend Income
  • Profit on Sale of Investments
  • Speculative Gain (for intraday)
  • F&O Profit/Loss

3. How to Record Stock Market Transactions in TallyPrime


A. Purchase Entry for Shares (Equity Delivery)

Use Journal Voucher (F7) or Contra/Purchase Voucher.

Example: Buy 100 shares of TCS @ ₹3500

Share Investment – Equity Dr   3,50,000

Brokerage Charges Dr               50

STT Charges Dr                     10

Stamp Duty Dr                       5

Bank A/c Cr                    3,50,065

Attach Contract Note as proof.


B. Sale Entry for Shares

Bank A/c Dr                       3,80,000

Brokerage Charges Dr                   50

STT Charges Dr                        15

Profit on Sale of Shares Cr        29,935

Share Investment – Equity Cr       3,50,000

How Profit is Calculated Automatically in TallyPrime

Tally uses FIFO (First In, First Out) method for valuation unless changed in Inventory Features.


C. Intraday Trading Entries (Speculative)

Intraday profit/loss goes into Speculative Gain/Loss.

Bank A/c Dr

Brokerage / STT / Charges Dr

Speculative Loss Dr / Speculative Gain Cr

To Broker Ledger


D. Futures & Options (F&O)

1. Record Premium or MTM

F&O Loss A/c Dr            (if loss)

F&O Profit A/c Cr          (if gain)

Broker A/c Cr / Dr

2. Record Margin Funding

Margin Deposit A/c Dr

Bank A/c Cr


4. Dividend Income Entry

Dividend is directly credited to the bank.

Bank A/c Dr

   To Dividend Income A/c

Dividend is tax-free, but must be shown under Other Income.


5. Corporate Actions in TallyPrime

 Bonus Shares

Share Investment A/c Dr

    To Capital Reserve (Bonus) A/c

 Split of Shares

Adjust quantity and rate manually in investment ledger.

 Rights Issue

Share Investment A/c Dr

    To Bank A/c

 Mutual Fund Purchase/Redemption

Similar to equity entries.


6. Reconciling Stock Market Accounts in TallyPrime

TallyPrime helps you reconcile:

 Contract notes

✔ Ledger statements
✔ Bank statements
✔ Broker quarterly statements
✔ Realized P&L for audit
✔ Capital gains summary

Using TallyPrime’s Reports:

Gateway of Tally → Display More Reports → Balance Sheet / P&L → Investments Summary
Gateway of Tally → Stock Summary (if inventory mode used)
Gateway of Tally → Daybook for audit trail


7. Advantages of Using TallyPrime for Stock Market Accounting

 1. Automated Profit Calculation (FIFO-based)

Avoids manual errors.

 2. Supports Capital Gains & Income Tax Reporting

Helpful for ITR-2 and ITR-3 filers.

 3. Perfect for CAs & Audit Offices

Clean reports for assessments.

 4. Works for Equity, F&O, MF, IPO

One place for all investment types.

 5. High Accuracy in Brokerage & Tax Accounting

Breakup of each charge recorded separately.

 6. Easily Export Data to Excel or CSV

Useful for income tax and audit.

Powered by Binarysoft Technologies
Authorized Tally Partner
Location : 1626/33, 1st Floor, Naiwalan, Karol Bagh, New Delhi – 110005, INDIA
Contact us : +91 7428779101, 9205471661, 8368262875
Email us :  tally@binarysoft.com (10:00 AM – 6:00 PM, Mon–Fri)


Frequently Asked Questions

Can we maintain stock market books in TallyPrime?

TallyPrime fully supports equity, intraday, F&O, and mutual fund accounting.

How does Tally calculate profit on shares?

Tally uses FIFO valuation for investment accounting unless changed.

Can I import contract notes directly into Tally?

Tally does not directly import contract notes, but you can use Excel import templates provided by Tally partners like Binarysoft.

How to view capital gains summary in TallyPrime?

Use Investment or Ledger-wise reports and filter by period.

About the Author

Written by CA. Rohin Mehtaal • 12-12-2025

CA. Rohin Mehtaal is a Chartered Accountant with experience in accounting systems, audit support, and GST compliance. He has assisted businesses in adopting structured financial processes and improving inventory accuracy. His writing emphasizes clarity, control, and data-driven decision making.

Verified Content 9 min read Support: +91 9205471661, 7428779101

Need Quick Support for Tally Prime?

For Tally Prime discount schemes and product inquiries, connect with our team.

+91 9205471661 | +91 7428779101

Subscribe For Product Updates

Opt-in Subscription

Tally Prime Auditor Renewal (One Year)

Applicable for CAs / Firms Using GOLD (Multi User ) Only
Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!
Rs 6750 + 18% GST (Rs 1215)
Continue Here >>

Tally Prime Auditor Renewal (Two Years)

Applicable for CAs / Firms Using GOLD (Multi User ) Only
Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!
Rs 12150 + 18% GST (Rs 2187)
Offer Continue Here >>

Tally Prime Gold Renewal (One Year)

Unlimited Multi-User Edition For Multiple PCs on LAN Environment
Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!
Rs 13500 + 18% GST (Rs 2430)
Continue Here >>

Tally Prime Gold Renewal (Two Years)

Unlimited Multi-User Edition For Multiple PCs on LAN Environment
Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!
Rs 24300 + 18% GST (Rs 4374)
Offer Continue Here >>

Tally Prime Silver Renewal  (One Year)

Single User Edition For Standalone PCs ( Not applicable for Rental License )
Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!
Rs 4500 + 18% GST (Rs 810)
Continue Here >>

Tally Prime Silver Renewal  (Two Years)

Single User Edition For Standalone PCs ( Not applicable for Rental License )
Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!
Rs 8100 + 18% GST (Rs 1458)
Offer Continue Here >>

Tally On Cloud

Tally On Cloud ( Per User Annual)
Now access Tally Prime anytime from anywhere – Just Deploy your Tally License and Tally Data on our Cloud Solution.
Rs 7000 + 18% GST (Rs 1260)
Continue Here >>

Tally Prime Gold

Unlimited Multi-User Edition
For EMI options, please Call: +91 742 877 9101 or E-mail: tally@binarysoft.com (10:00 am – 6: 00 pm , Mon-Fri)
Rs 67500 + 18% GST (Rs 12150)
Continue Here >>

Tally Prime Silver to Tally Prime Gold

Unlimited Multi-User Edition For Multiple PCs on LAN Environment
Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!
Rs 45000 + 18% GST (Rs 8100)
Continue Here >>

Tally Prime Silver

Single User Edition For Standalone PCs
For EMI options, please Call: +91 742 877 9101 or E-mail: tally@binarysoft.com (10:00 am – 6: 00 pm , Mon-Fri)
Rs 22500 + 18% GST (Rs 4050)
Continue Here >>

Tally On AWS Cloud Personal (For 1 user)

(Per User/One Year)
TallyPrime latest release pre-installed
Rs 7200 + 18% GST (Rs 1296)
Continue Here >>

Tally On AWS Cloud Regular (Upto 2 users)

(Two Users/One Year)
TallyPrime latest release pre-installed
Rs 14400 + 18% GST (Rs 2592)
Continue Here >>

Tally On AWS Cloud Regular Plus (Upto 4 users)

(Four Users/One Year)
TallyPrime latest release pre-installed
Rs 21600 + 18% GST (Rs 3888)
Continue Here >>

Tally On AWS Cloud Regular Pro (Upto 8 users)

(Eight Users/One Year )
TallyPrime latest release pre-installed
Rs 43200 + 18% GST (Rs 7776)
Continue Here >>

Tally On AWS Cloud Performance (Upto 12 users)

(Twelve Users/One Year)
TallyPrime latest release pre-installed
Rs 64800 + 18% GST (Rs 11664)
Continue Here >>

Tally On AWS Cloud Performance Plus (Upto 16 users)

(Sixteen Users/One Year)
TallyPrime latest release pre-installed
Rs 86400 + 18% GST (Rs 15552)
Continue Here >>

Latest Articles

Advanced Accounting Software for Lajpat Nagar Central Market & Sarojini Nagar Market – Smart Financial Control for Growing Businesses
Advanced Accounting Software for Lajpat Nagar Central Market & Sarojini Nagar Market – Smart Financial Control for Growing Businesses
The financial management landscape has changed dramatically in 2026. Businesses operating in Lajpat...
Read More →
Enterprise Business Operations Software for Nehru Place Market & Bhikaji Cama Place Market – Smart Workflow Automation
Enterprise Business Operations Software for Nehru Place Market & Bhikaji Cama Place Market – Smart Workflow Automation
The business environment in 2026 is significantly different from what it was just a few years ago. E...
Read More →
Best GST Billing Software for Traders in Preet Vihar Market & Krishna Nagar Market – Wholesale Business Automation
Best GST Billing Software for Traders in Preet Vihar Market & Krishna Nagar Market – Wholesale Business Automation
In 2026, wholesale businesses are operating in a more demanding and digitally driven environment tha...
Read More →
Manufacturing Management Software for South Extension Market & Green Park Market – GST Billing and Stock Tracking
Manufacturing Management Software for South Extension Market & Green Park Market – GST Billing and Stock Tracking
Manufacturing businesses are operating in an environment where speed, accuracy, compliance, and inve...
Read More →
Garment POS Billing Software for Seelampur Market & Jafrabad Market – Inventory and Sales Management Solution
Garment POS Billing Software for Seelampur Market & Jafrabad Market – Inventory and Sales Management Solution
Garment retailers, wholesalers, distributors, and fashion store owners are operating in a far more c...
Read More →
Digital Accounting Software for Enterprises in Connaught Place Market & Janpath Market
Digital Accounting Software for Enterprises in Connaught Place Market & Janpath Market
The business landscape in 2026 is evolving faster than ever. Enterprises operating in Connaught Plac...
Read More →
Get Stock Market Accounting in TallyPrime (2025 Guide): How to Record Share Trading, Investments, FIFO Valuation & Capital Gains Easily
Call us at +91 7428779101, 8368262875.

Tally Query | Discounted Tally New License | Discounted Tally Renewal