
Short answer: TDL (Tally Definition Language) is the language TallyPrime itself is built in, and it is how you change what TallyPrime shows, asks for, checks and prints without touching your data. A TDL customisation can add fields to vouchers and masters, change invoice formats, add validations, build new reports and connect TallyPrime to other software. It is loaded as a file (usually a compiled .tcp) on each computer, or deployed centrally to your licence as an Account TDL.
What TDL is, in plain terms
Tally Solutions describes TDL as “the application development language of Tally”, and notes that the entire user interface of TallyPrime is built using it (TallyHelp: Tally Technology, the overall perspective). That is why customisation in Tally feels native. A new field added through TDL sits in the same voucher screen, follows the same keyboard flow and prints on the same invoice as the standard fields.
TDL is built around definitions. Reports, forms, parts, lines and fields describe what you see on screen. Objects and collections describe the data underneath. A developer writes new definitions, or alters existing ones, and TallyPrime applies them when the TDL file is loaded. If the file is removed, TallyPrime goes back to its standard behaviour.
What you can change with TDL
Most requests we get from business owners and accountants fall into six groups.
| Type of change | Typical example |
|---|---|
| New fields (user defined fields) | Vehicle number, transporter, batch remarks or project code on a sales voucher, or a credit-approval field on a party ledger |
| Invoice and document formats | Your own sales invoice layout, a delivery challan with extra columns, a purchase order in a format your suppliers expect |
| Validations and controls | Stop a sale when a party is over its credit limit, make a field mandatory, block back-dated entries for certain users |
| Custom reports | Salesperson-wise outstanding, branch-wise margin, item-wise sales against target, a GST working your CA wants every month |
| Automation inside TallyPrime | A button that creates a set of vouchers, auto-fills values from a master, or prints and emails in one step |
| Integration | Import from Excel in your own format, exchange data with a website, CRM or ERP |
If the requirement is about how TallyPrime behaves for your business, it can usually be handled in TDL. If it is about a different system doing the work and only posting results into Tally, an integration is usually the better route. Our page on TallyPrime API integration covers that side.
What TDL should not be used for
TDL can alter almost anything, which is exactly why some things are better left alone.
- Statutory calculations. GST, TDS and payroll calculations change with law and are updated by Tally Solutions in each release. Overriding them with your own TDL means you own every future change. Add reports and checks around them instead.
- Work that belongs in a standard feature. TallyPrime already has cost centres, godowns, batches, order processing, multiple price levels and saved report views. Check these first. A customisation that copies a standard feature adds upkeep and no value.
- Hiding problems. A TDL that “fixes” wrong figures on a report without fixing the entries leaves your books and your report disagreeing.
How a TDL is loaded in TallyPrime
A TDL can be loaded in three ways (TallyHelp: configure TDLs and add-ons).
- Local TDL. The .tdl or compiled .tcp file sits on the computer. In TallyPrime, go to F1: Help > TDL & Add-On, press F4: Manage Local TDLs, set Load selected TDL files on startup to Yes, give the file path and save with Ctrl+A. A TCP can also be listed in the tally.ini file (TallyHelp: loading the TCP file).
- Account TDL. The file is uploaded once to the Tally Control Centre and linked to one or more serial numbers on your account. After the licence is updated, every site gets the same TDL. This is the easiest way to keep several branches or users on one version.
- Remote TDL. Used for remote users who access a company over Tally.NET. The TDL sits with the server and the remote user works with it without holding the file.
To see what is loaded right now, open F1: Help > TDL & Add-On, or press Ctrl+Alt+T from anywhere in TallyPrime. The TDL Management report shows how many TDLs are configured, how many are loaded, and which are local or account TDLs.
TDL source file or TCP?
A .tdl file is readable source code. A .tcp (Tally Compliant Product) is compiled with TallyPrime Developer, Tally’s development tool, and can be generated for specific serial numbers so it runs only on licences you name. Most developers hand over a TCP. Before the project starts, agree in writing whether you also get the source, because without it nobody else can change the customisation later.
Does a TDL change my data?
A TDL changes behaviour, not the data already in your books. Data entered into new fields is stored in your company data. If you stop loading the TDL, the standard screens no longer show those fields, but the values are still there and come back when the TDL is loaded again. Standard vouchers, ledgers and reports are not deleted or altered by removing a TDL.
The exception is a TDL that writes data, for example one that creates or alters vouchers in bulk. Treat these like any other data import: test on a copy of the company and take a backup first. If you are not sure your backups would restore, read our Tally backup and restore guide before going live.
TDL and TallyPrime upgrades
Tally Solutions releases TallyPrime updates regularly. Release 7.2, for example, came out on 12 October 2026 with changes to GST and TDS features and print templates (TallyPrime 7.2 release notes). Most TDLs carry across releases without changes, but a customisation that alters the same screens a release changes, invoice printing for instance, needs a test before you upgrade every user.
A simple routine works:
- Install the new release on one computer, with a copy of the company data.
- Load your TDLs and run your three or four most used vouchers and reports.
- Print one of each customised document.
- Only then upgrade the other users.
How to brief a TDL customisation
The quality of a customisation depends heavily on the brief. A good one answers these questions:
- Which voucher types, masters or reports are affected?
- What exactly should appear, where, and who enters it?
- What should happen when the field is blank or wrong? A warning, or a block?
- Which users should see it, and which should not?
- Does it need to print, export or appear in an existing report?
- Which TallyPrime release and edition (Silver, Gold or Server) are you on, and how many computers will load it?
Attach a sample of the printout or report you want, even a rough one in Excel. It removes most of the back and forth.
FAQ
What is TDL in TallyPrime?
TDL, or Tally Definition Language, is the development language of TallyPrime. It is used to add fields, change formats, add controls, build reports and integrate TallyPrime with other software.
Where do I add a TDL file in TallyPrime?
Go to F1: Help > TDL & Add-On, press F4: Manage Local TDLs, set Load selected TDL files on startup to Yes, enter the file path and press Ctrl+A to save.
What is the difference between a local TDL and an account TDL?
A local TDL is loaded from a file on each computer. An account TDL is uploaded to the Tally Control Centre and deployed to the serial numbers on your account, so every site gets the same file.
Will removing a TDL delete my data?
No. Values entered in custom fields stay in the company data. They are simply not shown while the TDL is not loaded.
Do I need to redo my customisation when I upgrade TallyPrime?
Usually not, but test it on one computer with a copy of your data before upgrading every user, especially if the TDL changes invoices or screens that the release also changes.
What is a TCP file in Tally?
A TCP (Tally Compliant Product) is a compiled TDL file created with TallyPrime Developer. It can be locked to specific serial numbers.
Need a TDL customisation scoped properly?
Tally Experts builds and supports TallyPrime customisations, reports and integrations for businesses and CA firms. Book a free consultation, share what you want changed, and we will tell you whether it needs TDL at all.
Want our TallyPrime tips in Google first? Add us as a preferred source.

