TDL (Tally Definition Language) is the programming language Tally uses to build TallyPrime, and the language developers use to change it. With TDL you can add fields, reports, invoice formats, checks and links to other software. You keep your data in TallyPrime and don’t need to buy a separate system.
This guide is for business owners and accounts heads, not programmers. It covers what TDL can change, five common uses, how to load a TDL file, and what to check before you pay for customisation.
What is TDL in Tally?
TDL is Tally’s own development language. According to Tally’s developer documentation, the entire Tally interface is built with it. That is why it can change almost anything you see on screen.
A few terms you will hear:
- TDL file: the code for a customisation, usually a .txt or .tdl file
- TCP file: a compiled TDL file (Tally Compliant Product). It can be locked to your Tally serial number, so it works only on your licence
- TallyPrime Developer: Tally’s tool for writing and testing TDL. You need it only to write TDL, not to use it
- Add-on: a ready-made TDL solution, often sold on Tally’s marketplace, TallyShop
What can TDL change in TallyPrime?
Tally lists these as the main capabilities:
- New fields in existing records, such as a vehicle number on a sales invoice or a batch reference on a purchase
- New reports, or new columns and totals in existing ones
- Print formats for invoices, delivery challans, quotations and cheques
- Rules and checks, such as blocking a sale above a party’s credit limit
- Output to screen, printer, file, email or the web
- Integration with other software, so data moves in and out of TallyPrime automatically
Five ways businesses use TDL
These are common requests from trading, manufacturing and service businesses. They are typical uses, not one client’s project.
| Business problem | What a TDL customisation adds | Who it helps |
|---|---|---|
| Invoices don’t show what customers ask for (brand layout, bank details, extra item details) | A custom invoice and delivery-challan format | Sales and billing teams |
| Staff sell to customers who are over their credit limit | A warning or block on the sales voucher when the limit is crossed | Owners and credit control |
| The owner wants one daily view of sales, collections and stock | A custom MIS report built from TallyPrime data | Owners and CFOs |
| Orders come from another system or an Excel sheet | An import routine that creates vouchers in TallyPrime | Accounts and operations |
| The industry needs details Tally doesn’t capture as standard | Extra fields and reports for that industry (job work, site, project) | Manufacturers, contractors, service firms |
The pattern is the same in each case. TDL adds what your process needs on top of standard TallyPrime, so staff keep working in a screen they already know.
Ready-made add-on or custom TDL?
Not every need requires custom development. There are two routes:
- Ready-made add-ons. Tested solutions for common needs, sold on TallyShop and by Tally partners. They are quicker and cheaper, but you adapt to how they work.
- Custom TDL. Built for your exact process. It takes longer and costs more, but it fits the way your business runs.
A good partner checks for a ready-made add-on first and builds custom TDL only for the gap. For example, Nexus Technoventures lists ready solutions on its Tally partner profile: Auto-Billing for service businesses, a Society Module for members, charges and receipts, and Smart Tally+, a set of more than 50 utilities.
How to load a TDL file in TallyPrime
If you have received a TDL or TCP file, Tally’s help pages give these steps:
- Copy the file to a folder on the computer, ideally the TallyPrime folder.
- Open TallyPrime and go to F1 (Help) > TDLs & Add-Ons.
- Press F4 (Manage Local TDLs).
- Set Load selected TDL files on startup to Yes.
- Enter the file path, or select the file from the drive, and save.
To switch a TDL off, go back to the same screen and set Load TDL to No for that file.
In a multi-user or remote setup there are two extra points. Partners can deploy account TDLs centrally to one or many licences, so each computer doesn’t need setting up. Users who connect remotely need Allow Local TDL Files enabled in their user settings.
Is TDL safe? Will it break when TallyPrime is upgraded?
TDL works inside TallyPrime, so the risks are about quality and source, not the language itself. Before you pay for or install a TDL:
- Know where it came from. Free TDL files from unknown websites can change how vouchers save. Use files from Tally’s marketplace or a partner you can contact.
- Back up first. Take a full backup before loading any new TDL on live data.
- Test after major releases. Tally doesn’t publish a promise that every customisation works on every new release. Ask your developer to test after each major upgrade, and agree in advance who fixes problems.
- Get the source or a support commitment. If the developer disappears, a compiled TCP file can’t easily be changed by someone else.
Who writes TDL, and how long does it take?
TDL is written by developers trained in TallyPrime Developer, usually at a Tally partner. A small change, such as a new invoice format, is a short job. An integration with another system or a set of linked reports and controls is a project, with a written scope and testing.
What drives the time and cost: the number of screens and reports, how much logic is involved, whether other software is connected, and how much testing your data needs.
Frequently asked questions
Is TDL a normal programming language like Python? No. Tally describes TDL as a non-procedural language based on definitions. You describe what a report or field should be, and TallyPrime renders it.
Do I need TallyPrime Developer to use a TDL? No. You only need it to write or change TDL. Using a TDL file just means loading it in TallyPrime.
Can TDL connect Tally to other software? Yes. TDL supports moving data in and out of TallyPrime, including XML exchange, so Tally can talk to other applications.
What is the difference between a TDL and a TCP file? A TDL file is readable source code. A TCP file is the compiled version, which can be locked to a specific Tally serial number.
Need Tally to fit your process?
Nexus Technoventures is a Certified Tally Partner in Dombivli and Ambernath that builds TDL customisations and add-ons. We start by understanding your process, check whether a ready-made add-on fits, and build only what is missing.
See Tally customisation, browse add-ons, or discuss your requirement.