Hands-On XML Exercises

A set of hands-on exercises that build on the Tally XML tags reference. Each one walks through a real Excel-to-Tally scenario using a sample sheet and its matching XML tag file.

Each exercise also includes a short explanation of the tags and attributes it uses. Start with the basics if you're new to udiMagic XML, since later exercises build on earlier ones. If you already know what you need to import, jump straight to the matching exercise.

Before you begin, make sure Tally is running with a test company open, so you can import the samples safely.


Exercise 1

Import Stock Items in Tally

Learn how to import Stock Item masters from Excel to Tally. Herein, we have taken a Excel sheet that contains only one Column i.e. the Stock-Item Names. This exercise teaches how to use the COLUMNREFERENCE attribute to fetch data from a specific Excel column.

Start exercise
Exercise 2

Import data into Multiple Companies in Tally

Use the COMPANYNAME attribute to import Stock Group and Stock Item masters into several Tally companies from a single Excel sheet in a single run.

Start exercise
Exercise 3

Import Stock Item Masters with Opening Stock

Import Stock Item masters with their Opening Qty, Rate and Value. This exercise shows how the FORMULA attribute calculates the Opening Stock value.

Start exercise
Exercise 4

Import Stock Item Masters with Standard Cost Price

Import Stock Item masters with multiple Standard Cost and Standard Selling Price rates. This exercise shows how to use the SCROLL attribute.

Start exercise
Exercise 5

Sales Vouchers Without Inventory

Import simple Sales Vouchers (no stock item) into Tally — Party, Sales Ledger, Narration and Amount only.

Start exercise
Exercise 6

Sales Vouchers With Inventory

Import Sales Vouchers with Stock Items into Tally — Party, Sales Ledger, Stock Item, Qty, Unit, Rate, Amount and Narration.

Start exercise
Exercise 7

Purchase Vouchers With Inventory

Import Purchase Vouchers with Stock Items into Tally — Supplier, Purchase Ledger, Stock Item, Qty, Unit, Rate, Amount and Narration.

Start exercise
Exercise 8

Cash Receipt Vouchers

Import Cash Receipt Vouchers into Tally — mapping the Cash ledger and the Party/Income ledger for each entry.

Start exercise
Exercise 9

Sales Vouchers With Multiple Items

Import Sales Vouchers with several Stock Items per invoice into Tally. This exercise shows how the SCROLL attribute groups rows of the same invoice into one voucher.

Start exercise
Exercise 10

Purchase Vouchers With Multiple Items

Import Purchase Vouchers with several Stock Items per invoice into Tally. This exercise shows how the SCROLL attribute groups rows of the same invoice into one voucher, and how curly braces {} total the Supplier amount.

Start exercise
Exercise 11

Purchase Vouchers Without Inventory

Import simple Purchase Vouchers (no stock item) into Tally — Supplier, Purchase Ledger, Narration and Amount only.

Start exercise

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