TDL basics: what Tally Definition Language can do and how to start
Updated 10 Nov 2026 · by Venu Gopal Reddy Muvva, founder of OrderDak
TDL (Tally Definition Language) is TallyPrime's own language for changing screens, reports, validations and data handling inside the product. You write TDL in a text file, load it into TallyPrime (through the TDL settings or TDL management), and the official TallyPrime Developer tool helps write, compile and test it.
What distributors usually use TDL for
- Extra fields on sales orders or invoices, such as beat, salesman or van number.
- Custom invoice formats with scheme details.
- Validations, such as blocking an order when the party is over its credit limit.
- Reports that combine sales and outstandings per salesman.
How to start
You don't need to be a programmer to try a sample, but production changes should be tested on a copy of the company.
- Install TallyPrime Developer from Tally's developer resources.
- Open the sample projects (Help > TDL Samples) and run one against a test company.
- Write a small TDL file in a text editor and save it with .txt or .tdl.
- Load it in TallyPrime through the TDL configuration, then restart TallyPrime after changes.
- Compile to a .tcp file for distribution once it works.
Build or buy
Many customisations distributors want already exist as add-ons from Tally partners. Buying a tested add-on is often cheaper than writing and maintaining your own TDL across TallyPrime releases.
| Change | Typical effort | Risk |
|---|---|---|
| Add a 'Beat' field to sales orders | Small | Low |
| Custom invoice print format | Medium | Low |
| Block orders over credit limit | Medium | Medium: test with real data |
| Two-way sync with an outside app | Large | High: use a partner |
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
Is TDL free to use?
TDL itself runs in TallyPrime; the full TallyPrime Developer tool needs a licence for complete features.
Do TDL customisations survive TallyPrime upgrades?
Usually, but test them after each release; menus and objects can change.
Can TDL connect TallyPrime to other apps?
Yes, TDL can work with XML, JSON and ODBC; see the integration methods guide.
Sources
- TallyHelp: Introduction to TallyPrime Developer — checked 10 Nov 2026
- TallyHelp: Steps to run sample TDLs — checked 10 Nov 2026
- TallyHelp: Integration methods and technologies — 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: How other apps connect to TallyPrime: TDL, XML, JSON and ODBC · How credit limits work on sales orders in TallyPrime · How to set an order number and due date for each item in a TallyPrime sales order · GST on order calculator · All Tally guides