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?
You can reach the Utilities menu and want the vendor method, with its prerequisites listed.
See the two methods →You need the sequence from a copy of the folder to a checked company in Tally.
Follow the steps →Your import finished, but Tally reports ledgers or stock items as missing and you need to know which step to repeat.
Fix the errors →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.
- Copy the Marg folder and close Marg Close Marg on all PCs and copy the install folder to another drive.
- 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.
- Create the company in Tally Make a new company with the financial year and the features the books used, inventory for one.
- 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.
- Import the vouchers Open Import, choose Transactions and give the day book file. Import only after the masters are in.
- 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.
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.

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.
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 $99Install on Windows 10 or 11 after adding .NET 4.8. The free trial stops at ten items per section.
- 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.