How other apps connect to TallyPrime: TDL, XML, JSON and ODBC
Updated 10 Nov 2026 · by Venu Gopal Reddy Muvva, founder of OrderDak
TallyPrime supports several integration methods: TDL for customisations inside Tally, XML or JSON requests over HTTP for apps that push or pull data, ODBC for reading data into tools like Excel, and file import of masters and vouchers. Most order-taking apps either generate an import file or send XML or JSON to Tally running on a PC.
What each method is for
TallyHelp describes TDL as the bridge that manages data flow within TallyPrime while external systems handle API calls or file transfers.
- TDL (Tally Definition Language): Tally's own language for reports, screens, validations and data flows inside TallyPrime.
- XML/JSON over HTTP: an app sends requests to TallyPrime to create vouchers or read reports; Tally must be running and reachable.
- ODBC: read Tally data from Excel or a reporting tool.
- File import: import masters and vouchers prepared outside Tally, for example a Sales Order XML file.
Choosing for order-taking
If orders arrive in batches and someone reviews them, a file import is simple and safe: the file can be checked before it touches the books. If orders should appear in Tally within minutes, a connector on the Tally PC sending XML or JSON is better, but it depends on that PC being on.
- Decide whether orders must arrive in real time or can be imported a few times a day.
- Check your TallyPrime release supports the method you plan to use.
- Test on a copy of the company first.
- Back up before the first bulk import.
- Keep stock item and party names identical between the app and Tally.
Name matching is the hard part
Whatever the method, imports fail or create duplicates when names differ: 'Surf Excel 1kg' in an order vs 'SURF EXCEL 1 KG' in Tally. Keep a mapping of customer item names and party aliases to Tally masters.
| Method | Direction | Needs Tally running? | Typical use |
|---|---|---|---|
| TDL | Inside Tally | Yes | Custom reports, validations |
| XML/JSON over HTTP | Read and write | Yes, reachable on the network | Real-time connectors |
| ODBC | Read | Yes | Excel dashboards |
| File import | Write | Only when importing | Batch import of orders or masters |
Where OrderDak fits
OrderDak reads customer orders from forwarded email, pasted WhatsApp chats, PDF purchase orders, Excel or CSV sheets and photos of printed orders, matches each line to your stock items and checks rate, stock, pack size, credit limit and duplicate PO numbers. Approved orders become TallyPrime (3.0+) Sales Orders through an import file or the OrderDak bridge on the Tally PC (beta). It is free for 14 days, then a Free plan of 50 orders a month or Pro at ₹1,199 a month + GST.
Questions
Can an app write sales orders into TallyPrime?
Yes, through file import or XML/JSON requests to a running TallyPrime.
Is ODBC enough for integration?
ODBC is mainly for reading data; writing usually uses XML/JSON or import files.
Do I need to learn TDL to integrate?
Not for basic imports; TDL is for customising TallyPrime itself.
Sources
- TallyHelp: Integration methods and technologies — checked 10 Nov 2026
- TallyHelp: Introduction to TallyPrime Developer — checked 10 Nov 2026
General information, not tax advice. Menu names can differ slightly between TallyPrime releases; GST rates and rules change, so confirm with your CA.
Related: TDL basics: what Tally Definition Language can do and how to start · How to create a sales order in TallyPrime · How to back up and restore TallyPrime data · GST on order calculator · All Tally guides