Exercise 4

Cash Receipt Vouchers

Published


This exercise imports Cash Receipt Vouchers — money received against a Party or an Income ledger — from Excel into Tally Prime. It follows the same pattern as the Sales Vouchers exercise: create the Ledger masters first, then write the Voucher tags.

A typical Excel sheet

A Cash Receipt sheet usually carries one row per receipt, laid out like this:

A B C D
1 Rcpt.No Date Party Amount
2 1 01/04/2026 Abc Co. 5000
3 2 01/04/2026 Mahesh Trading 2850
4 3 02/04/2026 Infopoint Computer 3600
5 4 02/04/2026 Computech 1600
6 5 02/04/2026 Prakash Mehta 1900
7 Remarks:-
8 1) Format for Cash-Receipts.
9 2) Party-Names shall be created automatically under group "Sundry Debtors"
Must be unique throug
out the year

Step 1 — Create the Ledger masters

<!-- Party / Income Ledger the receipt is against -->
<MASTER TYPE="LEDGER">
    <NAME.LIST>
        <NAME COLUMNREFERENCE="B"/>
    </NAME.LIST>
    <PARENT>Sundry Debtors</PARENT>
</MASTER>

The Cash ledger normally already exists in every Tally company under the built-in "Cash-in-Hand" group, so it usually doesn't need a MASTER tag of its own.

Step 2 — Write the Voucher tags

As with any voucher type, the safest way to get the exact tags Tally expects is to enter one sample Cash Receipt manually in Tally Prime and export it via Gateway of Tally >> Display >> Daybook >> Alt+E — then match the tags inside <TALLYMESSAGE> against your Excel columns using COLUMNREFERENCE (see udiMagic XML tags). A Cash Receipt typically maps to something like this:

<VOUCHER>
    <DATE COLUMNREFERENCE="A"/>
    <VOUCHERTYPENAME>Receipt</VOUCHERTYPENAME>
    <NARRATION COLUMNREFERENCE="C"/>
    <ALLLEDGERENTRIES.LIST>
        <!-- Cash — debited with the amount received -->
        <LEDGERNAME>Cash</LEDGERNAME>
        <ISDEEMEDPOSITIVE>Yes</ISDEEMEDPOSITIVE>
        <AMOUNT COLUMNREFERENCE="D"/>
    </ALLLEDGERENTRIES.LIST>
    <ALLLEDGERENTRIES.LIST>
        <!-- Party / Income Ledger — credited with the amount received -->
        <LEDGERNAME COLUMNREFERENCE="B"/>
        <ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE>
        <AMOUNT FORMULA="=-D#"/>
    </ALLLEDGERENTRIES.LIST>
</VOUCHER>
Verify before you rely on this: Tally's exact ledger/amount sign convention for a Receipt voucher can differ slightly depending on how your company's Cash-Bank configuration is set up. Always cross-check the tags above against your own Daybook.xml export before using them on real data.
Sample files: The sample Excel sheet and matching XML tags file for this exercise will be linked here shortly.

Ready to import your Excel data into Tally?

Download udiMagic and start a 14-day free trial — no credit card required.

Download udiMagic View Pricing