Marg Data Guides

Marg to Tally Data Transfer: Two Methods and Checks Masters first, vouchers second and a Profit and Loss match at the end

Leena Taylor Paul By Updated October 20, 2026 8 min read

Marg to Tally data transfer uses two XML files, and masters go into TallyPrime first with vouchers second.

Marg Care shows how to export Marg data to Tally Prime from inside Marg, with Master.xml and Daybook.xml as the output. Software that works from the Data folder can create the same kind of files when Marg will not open. Compare the Profit and Loss account afterwards.

Moving to a new accounting program asks the old books to arrive in full and the new ones to tie back to them, or the first audit after the move becomes a long one. Two methods carry Marg data into Tally, and they differ mainly in whether Marg has to open.

Who Needs a Marg to Tally Data Transfer?

File order Masters, then vouchers
Marg output Master.xml, Daybook.xml
Check Profit and Loss match
Tally import Alt+O, Masters

Moves between accounting programs fail in small ways. A master goes missing, a return voucher has no ledger or a date range stops short, and checks catch those faults before you trust the new books.

Which Method Moves Marg Data to Tally?

Two methods exist. Marg Care documents the first, which works inside Marg, while the second opens the Data folder from outside and needs no Marg installed.

Which method should you choose? If Marg opens on all nodes and you meet the prerequisites, use the vendor export. If Marg is gone, will not open or the files are damaged, create the XML from the Data folder. The Tally import is the same either way.

Univik Marg Data Converter opens the Data folder on its own and creates the Tally XML with masters first, so Marg does not have to open.

Point Marg export to Tally Convert from the Data folder
Needs Marg to open Yes No
Needs a Tally patch Yes, per Marg Care No
Needs export rights Yes, in Control Room Setup or for the user No
Output Master.xml and Daybook.xml Tally XML with masters first
Date range Chosen before Proceed Set before output
Best when Marg is healthy and licensed Marg is old, damaged or removed

How to Export Marg Data and Import in Tally Prime Software lists the prerequisites. Close Marg on all nodes, update the Tally patch, use licensed TallyPrime and enable export power in Control Room Setup or for the user. Miss one and the Tally export options can fail to appear.

On the Marg side, open Reports, Management Report, Utilities, Data Import/Export and Tally/Busy Export/Import, then select Tally Prime. Choose the option to export from Marg to Tally, tick Masters and Transactions, add Include Inventory if stock is involved, set the output location for the master file and the day book file, then enter the Voucher From date range and click Proceed.

Limitations of the vendor method are that Marg must open, all nodes must be closed and the two return ledgers need a manual step that is easy to skip.

How to Move a Marg Company into Tally Step by Step

Both methods follow these steps, and only the second step differs.

  1. Copy the Marg folder and close Marg Close Marg on all PCs and copy the install folder to another drive.
  2. Select a method Use Marg's own export when Marg opens and its Tally patch is current. Use software that works from the Data folder when Marg is old, damaged or gone.
  3. Create the company in Tally Make a new company with the financial year and the features the books used, inventory for one.
  4. Import the masters In Tally, open Import, choose Masters and give the path of the master file. Set the behaviour to modify with new data and take the backup Tally offers.
  5. Import the vouchers Open Import, choose Transactions and give the day book file. Import only after the masters are in.
  6. Compare the Profit and Loss account Open the account in Marg and in Tally for the same dates. Check the Chart of Accounts and the Day Book too.
Do not skip the Voucher Definition step

Marg Care asks you to select only the Sales Return and Purchase Return ledgers in that step, because Tally does not have these two ledgers. Skip it and return vouchers can arrive without a ledger to sit in, which you find out from the Exceptions report and not from a clean import.

An accountant selects an exported data file in front of a Tally-style accounting screen.
Tally imports the exported file, so check the trial balance after the import.

How Does Tally Import the XML Files?

Both methods end in the same Tally screens, which Import Data from JSON or XML into TallyPrime describes.

Stage In Tally Before you press Enter
Masters Alt+O, then Masters Give the path and set Import Behaviour
Back up Choose Yes when asked Takes a copy of the company data
Vouchers Alt+O, then Transactions Masters must already exist
Check Chart of Accounts and Day Book Compare counts with the old books

That article asks you to enable the company features that were on when the data was exported. XML import works in all releases it covers, while Excel arrived in release 4.0 and JSON in 7.0.

How to Move Marg ERP Data to Tally and Verify the Imported Vouchers (4 min 7 sec), on the Univik YouTube channel
Create Tally XML from a copy of the Marg Data folder

Univik Software creates the masters file first and the vouchers after it, with a short import note.

Univik Software ties the books before it creates the XML. Ledger debit and credit equalled the month postings in 100% of ledgers and group totals matched in 100% of groups, measured on 3 real Marg ERP 9+ companies.

Download Free Trial Buy Now - From $99

Install on Windows 10 or 11 after adding .NET 4.8. The free trial stops at ten items per section.

Before you archive the old books, confirm these items after the import
  • Profit and Loss account matches for the same dates
  • Cash and bank balances match the last printed report
  • Count of sales and purchase vouchers matches the old register
  • Stock quantities match for five items chosen at random
  • Exceptions report in Tally is empty

After the import, export the new Tally company to Excel and set it beside the Marg reports. How to Export All Tally Data to Excel at Once shows how.

Fix Common Marg to Tally Import Errors

1. Ledger not found

Do this: The voucher names a ledger that Tally does not have. Import the masters again, then the vouchers. Tally lists the gaps in the Exceptions report. See Import Data from JSON or XML into TallyPrime.

2. Stock item not found

Do this: Inventory was left out of the export. Repeat the export with Include Inventory ticked and enable inventory in the Tally company.

3. The XML file is missing or empty

Do this: Check the folder chosen for both files and the dates. A range with no vouchers gives nothing for the day book.

4. Return vouchers have no ledger

Do this: Repeat the Voucher Definition step and select only Sales Return and Purchase Return, as Marg Care directs.

Moving to BUSY instead? See Marg to BUSY Data Transfer: Methods and Requirements. For a plain Excel copy see Export All Marg Data into One Excel Workbook.

Stuck on an import message? Ask Univik support and send the exact wording.

Questions About Moving Marg Data to Tally

How do I transfer Marg data to Tally?

Marg Care documents one method inside Marg. Open Utilities, choose Data Import/Export and use the Tally export for masters and transactions to create Master.xml and Daybook.xml. Import the masters first in Tally, then the day book.

Where is the Marg to Tally export in the menu?

Marg Care gives the path as Reports, Management Report, Utilities, Data Import/Export, then Tally/Busy/Export/Import. Export power must be switched on in Control Room Setup or for the user, or the option can fail to open.

Can I move Marg data to Tally if Marg will not open?

Not with the built-in method, because it works inside Marg. Univik Software opens the Data folder directly and creates Tally XML with masters first, with no Marg install on the PC.

Why does Tally say a ledger or stock item is not found?

Your voucher points at a master that Tally does not have yet. Tally Help says vouchers need their masters in place first, and missing ones show up in the Exceptions report. Import the masters again, then the vouchers.

Do I import masters or vouchers first in Tally?

Masters first. Tally Help recommends importing masters first and having the masters used in the vouchers in place. Marg Care follows the same order, with Master.xml first and Daybook.xml second.

What are the Sales Return and Purchase Return ledgers for?

Marg Care tells users to select only these two ledgers in the Voucher Definition step, because Tally does not have them as separate ledgers. Skipping the step can leave return vouchers without a matching ledger.

How do I check that the Tally import is right?

Marg Care compares the Profit and Loss account in the old books with the one in the new. Tally Help adds the Chart of Accounts and the Day Book or Sales and Purchase registers as checks.

Is there a free trial of Univik Software for Marg data?

Yes. The free trial outputs 10 items per section so you can test a small slice. A licence removes that cap, at $99 for Personal, $199 for Technician or $599 for Forensics. Licences cover 2 PCs and allow a refund request for 30 days.

Leena Taylor Paul

Univik staff worked on this guide with the author. Marg Care supplied the export steps and Tally Help the import steps, and we checked both on October 20, 2026. The comparison table and the checks are ours.

Sources we read: How to Export Marg Data and Import in Tally Prime Software · Import Data from JSON or XML into TallyPrime

More Marg Data Guides

Choose the guide that matches the task on your desk.