Purchase and sales of Shares entry in Tally

Hi Friends, I want to know how I can enter the sale and purchase of shares entry with the format of Qty. and Rate, for example. I have purchased 100 shares of XYZ. @ 75/- each, I want to show the Scrip XYZ with Qty. And for that purpose, what accounting head should I have to create under Inventory, and under which head does "Brokers Account" come? Please let me know. 

Replies (3)
Quick Summary
Explains how to record share purchase/sale in Tally with quantity and rate. Covers investor vs trader treatment, ledger creation, stock items, and broker accounting. Broker is treated as Sundry Creditor/Bank, not expense.

Below is the correct and simplest method to record purchase and sale of shares with Qty & Rate in Tally ERP 9 / Tally Prime.

This works whether you are accounting as an investor (capital gains) or as a trader (stock-in-trade).
I will give both methods so you can choose what applies to you.


✅ FIRST: Decide whether shares are “Inventory” or “Investment”

Tally allows quantity tracking for both, but accounting groups differ:

Situation Treatment Group
Investor (Long-term, capital gains) Shares are Investments, not stock Investments → Current Assets
Trader (Buying/Selling as business) Shares are Inventory (Stock-in-trade) Stock-in-hand → Inventory

Most users who buy shares for investment should follow the Investment method.

I’ll explain both with steps.


-----------------------------------------

🅐 METHOD 1 — FOR INVESTORS (Most common)

-----------------------------------------

1️⃣ Enable Settings

  • Gateway of Tally → F11 (Features)

  • Enable “Maintain Accounts with Inventory”

  • Enable “More than ONE Godown” (optional)

  • Enable “Tracking of Inventory for Investments” (in some versions called Cost Tracking/Cost Category)


2️⃣ Create Ledger for INVESTMENT

Name: Investment in Shares
Group: Investments → Current Assets
Enable inventory values affected? ✔ Yes

(This allows you to enter Qty, Rate.)


3️⃣ Create Stock Item for Each Scrip

Gateway → Inventory Info → Stock Item → Create

  • Name: XYZ Ltd.

  • Units: Nos

  • Group: Investments (or create a subgroup “Shares & Securities”)


4️⃣ Create Broker Ledger

Gateway → Accounts Info → Ledgers → Create

  • Name: ABC Broker / Sharekhan / Zerodha

  • Group: Sundry Creditors (if you get a contract note and pay later)
    OR Bank Accounts (if directly debited from bank)

✔ Do NOT put broker under expenses.
✔ It is a party from whom you buy shares → hence grouped as creditor.


5️⃣ Purchase Entry with Qty & Rate

Voucher → F9 – Purchase

  • Party: Broker

  • Stock Item: XYZ Ltd.

  • Qty: 100

  • Rate: 75

  • Amount: 7,500

Add charges if any:

  • Brokerage

  • STT

  • Transaction charges

  • GST

  • Stamp duty
    (These can be entered as separate ledgers under Indirect Expenses – Share Trading Charges.)

Total amount = Investment value.


6️⃣ Sale Entry

Voucher → F8 – Sales

  • Party: Broker

  • Stock Item: XYZ Ltd.

  • Qty, Rate (e.g., 60 shares @ 90)

Profit/Loss does not appear in sales ledger; Tally computes gain/loss based on FIFO automatically if tracking is enabled.


-----------------------------------------

🅑 METHOD 2 — FOR TRADERS (STOCK-IN-TRADE)

-----------------------------------------

Use this only if you are doing share trading as business.


1️⃣ Create Stock Group

  • Stock-in-Trade – Shares

2️⃣ Create Stock Item

  • XYZ Ltd.

  • Units: Nos

  • Group: Stock-in-Trade – Shares


3️⃣ Create Ledger

  • Share Trading Purchase → Group: Purchase → Yes, inventory affected

  • Share Trading Sales → Group: Sales → Yes, inventory affected

  • Broker Account → Sundry Creditors


4️⃣ Pass Purchase Entry (F9)

  • Purchase Ledger: Share Trading Purchase

  • Stock Item: XYZ

  • Qty 100, Rate 75

  • Charges added to purchase value.


5️⃣ Pass Sale Entry (F8)

  • Ledger: Share Trading Sales

  • Qty, rate

  • Tally auto-adjusts inventory and computes trading profit.


📌 Where does the BROKER account go?

✔ Sundry Creditors (if you settle later)
✔ Bank (if amount debited instantly)

Brokers are not expenses; they are your counter-party for the contract note.


🎯 Summary (Quick Guide)

What to Do Where to Create
Share Scrip (XYZ) Inventory → Stock Item
Investment Ledger Investments (Current Assets)
Broker Ledger Sundry Creditors
Purchase Entry F9 – Purchase (Qty & Rate entered)
Sale Entry F8 – Sales (Qty & Rate entered)
But this treatment of investment shall create double the asset in balance sheet. The same amount invested shall show on investment as well as stock both.

In TallyPrime, the setup depends on whether shares are held as investments or as stock-in-trade.

  1. Shares held as investments

Create a separate ledger for each scrip under the Investments group and record purchases and sales through accounting vouchers.

Purchase example: Suppose 100 shares of XYZ Ltd. are purchased at ₹75 each, with ₹50 brokerage.

  • Debit: Investment in XYZ Ltd. — ₹7,550

  • Credit: Broker Payable — ₹7,550

The brokerage is included in the investment cost under AS 13, where applicable.

Sale example: Suppose all 100 shares are sold at ₹90 each, with no selling charges. Assuming the carrying cost is ₹7,550:

  • Debit: Broker Receivable — ₹9,000

  • Credit: Investment in XYZ Ltd. — ₹7,550

  • Credit: Profit on Sale of Investments — ₹1,450

These entries exclude other charges and adjustments.

  1. Tracking scrip-wise quantity and rate

For investments, maintain a register containing the scrip name, purchase date, quantity, purchase rate, sale details, and balance quantity. A standard accounting ledger records monetary values but does not, by itself, provide a complete quantity-wise investment register. For detailed tracking directly in Tally, a suitable customised report or add-on may be required.

  1. Shares held as stock-in-trade

If shares are appropriately classified as stock-in-trade, you can create a separate Stock Item for each scrip.

In TallyPrime, go to Alt+G → Create Master → Stock Item. Set the unit to Nos. and enter the quantity and rate in the relevant purchase or sales voucher.

Example: 100 shares × ₹75 = ₹7,500.

Use this inventory method only when appropriate for the entity's accounting treatment, and ensure it does not duplicate the asset value in the books.

  1. Broker ledger classification

For settlement tracking, you can create two separate ledgers:

  • Broker Payable: Under Sundry Creditors (Current Liabilities), for amounts payable to the broker.

  • Broker Receivable: Under Sundry Debtors (Current Assets), for amounts receivable from the broker.

When recording a purchase, credit Broker Payable. When recording a sale, debit Broker Receivable. Record the subsequent bank payment or receipt against the relevant ledger and reconcile both with the broker's contract notes and settlement statements.

Important: Do not recognise the same shares twice as assets. Follow the applicable accounting and valuation requirements for the classification of the shares.

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register  

Company
ARTICLESHIP 23 October 2026
CA Articleship / Article Assistant

M N Rao & Associates LLP

Vijayawada

CA Inter

View Details
Company
Featured ARTICLESHIP 31 October 2026
CA Articleship

apricus india

Navi Mumbai

CA Inter

View Details
Company
Featured 27 October 2026
semi-qualified CA

Saini Pati Shah & Co LLP, Chartered Accountants

Mumbai

CA Final

View Details
Company
ARTICLESHIP 29 October 2026
Article Assistant (CA Inter / CMA Inter) - Thrissur

Varma Raja & Associates

Thrissur

CA Inter

View Details
Company
14 October 2026
Asst. Manager/Dy Manager (Costing)

manufacturing

Pune

CMA

View Details
Company
ARTICLESHIP 07 November 2026
Article Assisstant

DPV & Associates

Chennai

CA Inter

View Details
Company
ARTICLESHIP 20 October 2026
CA ARTICLE

AMKN & CO

Noida

CA Inter

View Details
Company
12 October 2026
AUDIT , ACCOUNTS AND TAXATION

KDSS

New Delhi

B.Com

View Details