Tdl For Tally Erp 9 May 2026
TDL (Tally Definition Language) is the proprietary development language used to customize and extend the capabilities of Tally.ERP 9
. It allows you to create new reports, add custom fields, and automate accounting tasks to fit specific business needs. calameo.com How to Create and Use TDL You can write TDL code using a simple text editor like or the professional IDE, Tally.Developer 9 Write Code
: Open an ASCII text editor (e.g., Notepad) and type your TDL statements. : Save the file with a extension. Load in Tally Open Tally.ERP 9 and go to F12: Configure TDL Configuration Set "Load TDLs on Start-up" to Enter the full file path (e.g., C:\Tally\mycustom.tdl ) in the "List of TDLs to preload" field. Tallystack Common Customization Examples TDL is often used for specific functional enhancements: TDL Enhancements Tally.ERP 9-Program Write Up - Calaméo
2. Workflow Automation
You can write TDL to auto-populate fields based on logic. Example: If the customer’s state is “Maharashtra,” automatically set the transport mode to “Road” and print an extra copy for the Sales Tax department.
Short TDL Example — Adding a Simple Field to Sales Voucher
(Pseudocode-style explanation; real TDL syntax loaded directly in Tally)
- Define a Field in Voucher Form:
- Create a Field “CustRefNo” (String).
- Place it on the voucher screen near Party A/c.
- Save field into voucher Master/Additional field so it persists per voucher.
- Use Case: Capture customer reference number on every sales invoice and include it in print template and exports.
2.3 Key Directives
Use : <object>→ Inherit from another objectSet as : <value>→ Assign valueDefault :→ Set default behaviorObject :→ Reference another TDL object
2. The Capabilities: What Can It Do?
The power of TDL lies in its ability to penetrate deep into the Tally kernel. During my analysis, the following capabilities stood out:
- User Interface Customization: TDL allows developers to alter the default screens. You can add new columns, hide unnecessary fields, or create entirely new menus and buttons tailored to a specific business workflow.
- Report Generation: This is where TDL shines. While the default Tally reports are standard, TDL allows for:
- GST-compliant invoice formats with company logos and custom fields.
- Real-time dashboards showing pending orders, stock status, or receivables.
- Exporting data into Excel, PDF, or XML formats with specific formatting.
- Data Validation: You can set hard rules for data entry (e.g., preventing a sales voucher from being saved if the PIN code is missing or if the credit limit is exceeded). This drastically reduces human error.
- Integration (The Bridge): TDL can be used to act as an API bridge. It can pull data from Tally for display on a website or push data from an e-commerce platform (like Amazon/Flipkart) directly into Tally ledgers.
Typical TDL Use Cases (Examples)
-
GST Return Summary Report
- Custom collection to gather voucher GST tax ledgers.
- Computed subtotals by tax rate and output in a compact print/exportable format.
-
Custom Sales Invoice Layout
- Modify the voucher form to include extra fields (GSTIN of recipient, PO number, delivery terms).
- Print templates for different customer types.
-
Ageing & Receivables with Custom Buckets
- Create dynamic buckets (0–15, 16–30, 31–60, >60) and show customer ageing with filters for region or sales rep.
-
Automated Bank Reconciliation Helper
- Import bank statements (CSV/XML), match transactions using rules, and propose voucher entries.
-
Multi‑location Stock Valuation
- Maintain location‑wise stock layers and provide FIFO/LIFO valuation reports per warehouse.
Learning resources (general guidance)
- Start with Tally’s official TDL documentation and sample TDLs.
- Hands-on: open Tally’s default reports in developer mode to inspect object design.
- Community forums, tutorials, and example repositories accelerate learning.
If you want, I can:
- Provide a compact sample TDL snippet that adds a custom field to Sales Voucher.
- Outline a step-by-step TDL for a specific report or integration (specify which).
(End)
Understanding TDL for Tally.ERP 9 Tally Definition Language (TDL) is the proprietary development language used to build and extend Tally.ERP 9
. It is a fourth-generation, non-procedural language that serves as the backbone for Tally's entire user interface. Core Purpose and Capabilities
TDL provides the flexibility to modify the default behavior of Tally to suit specific business requirements. sanghvienterprise.in Rapid Development
: TDL is based on reusable definitions, allowing developers to create complex reports or modify existing screens in minutes. Data Management
: Users can create new fields to store custom data, which is then persisted directly in the Tally.ERP 9 database. Integration
: It supports seamless data sharing with external formats like to avoid duplicate data entry. Multiple Outputs
: Reports generated in TDL can be simultaneously displayed on-screen, printed, emailed, or exported to various file formats. Tally Master Key Components of TDL
The language operates on a hierarchical structure of definitions: Introduction to Tally Definition Language (TDL) 14 Mar 2013 —
An overview and structured guide on TDL (Tally Definition Language) Tally.ERP 9
is detailed below, followed by a formal drafted paper on the subject. 📑 Drafted Paper: TDL in Tally.ERP 9
Extending Enterprise Capabilities: An Analysis of Tally Definition Language (TDL) in Tally.ERP 9
Tally.ERP 9 has long stood as a leading accounting and inventory management software for Small and Medium Enterprises (SMEs). While its default capabilities are robust, businesses often possess unique operational workflows requiring localized software adaptations. This paper explores Tally Definition Language (TDL) tdl for tally erp 9
, the proprietary development language used to modify and extend Tally.ERP 9. It analyzes TDL’s object-oriented paradigms, its rapid development capabilities, and how it bridges the gap between generic accounting software and specialized Enterprise Resource Planning (ERP) execution. 1. Introduction
In the modern business landscape, off-the-shelf software rarely meets
of a company's specific operational needs. Tally Solutions addressed this by developing TDL (Tally Definition Language)
. TDL is a non-procedural, event-driven, and object-oriented language that allows developers to customize the user interface, generate bespoke reports, and create seamless integrations with external applications without compromising core database integrity. 2. Core Architecture of TDL
TDL operates on a hierarchical building-block structure. Understanding this hierarchy is essential for developing any interface or report in Tally.ERP 9: The access point or gateway (e.g., Gateway of Tally). The ultimate visual container triggered by a menu item. Attaches to a report to establish the window/screen canvas. Breaks down a form into logical, physical sections. Segments parts into horizontal structures.
The final, actual container where data is entered or displayed to the user. 3. Key Capabilities and Use Cases
TDL is not merely an aesthetic skinning tool; it fundamentally extends the functional depth of Tally.ERP 9. Functional Area Common Customizations via TDL Invoice Customization
Adding digital signatures, modifying margins to fit pre-printed letterheads, or inserting product specific QR codes. Security Controls
Restricting users from making cash payments above specific legal thresholds or hiding sensitive ledgers based on user roles. Reporting Extensions
Generating Salesman-wise commission reports, dynamic stock aging, or detailed manufacturer-specific HSN/SAC summaries. Integration (API)
Pulling or pushing XML/JSON data to e-commerce dashboards or banking APIs. 4. Advantages of Developing in TDL TDL Reference Manual.book - Tally Solutions
TDL for Tally.ERP 9: A Complete Guide to Customization Tally Definition Language (TDL) is the native development language for Tally.ERP 9. It is a fourth-generation, high-level, non-procedural language used to build the entire user interface of Tally itself. By using TDL, businesses can extend Tally’s default capabilities to meet unique industry requirements, automate workflows, and integrate with external systems. Core Features and Capabilities of TDL Define a Field in Voucher Form:
TDL is designed for Rapid Development, allowing programmers to reuse existing definitions to deploy complex solutions in a short timeframe. Its primary features include: TDL Reference Manual.book - Tally Solutions
Introduction
Tally ERP 9 is a popular accounting and enterprise resource planning (ERP) software used by small and medium-sized businesses. To enhance its functionality and customization capabilities, Tally provides a software development kit (SDK) called Tally Developer Language (TDL). TDL allows developers to create custom applications, modify existing ones, and integrate Tally with other systems. This paper provides an overview of TDL for Tally ERP 9, its features, benefits, and applications.
What is TDL?
TDL (Tally Developer Language) is a programming language developed by Tally Solutions Pvt. Ltd. It is a proprietary language used for creating custom applications, modifying existing ones, and integrating Tally with other systems. TDL is specifically designed for Tally ERP 9 and provides a range of tools and features to developers.
Features of TDL
Some of the key features of TDL include:
- Object-Oriented Programming (OOP) Concepts: TDL supports OOP concepts such as encapsulation, inheritance, and polymorphism, making it easier to develop complex applications.
- Syntax similar to C: TDL's syntax is similar to C, making it easier for developers familiar with C to learn and use TDL.
- Integrated Development Environment (IDE): Tally provides an IDE for TDL, which includes features such as syntax highlighting, code completion, and debugging tools.
- Tally API: TDL provides access to Tally's API, allowing developers to interact with Tally's data and functionality.
- Support for .NET and COM: TDL supports .NET and COM (Component Object Model) technologies, enabling integration with other systems and applications.
Benefits of TDL
The benefits of using TDL for Tally ERP 9 include:
- Customization: TDL allows developers to create custom applications and modify existing ones to meet specific business requirements.
- Integration: TDL enables integration with other systems and applications, providing a seamless exchange of data and functionality.
- Automation: TDL can be used to automate repetitive tasks and processes, increasing efficiency and reducing errors.
- Cost-Effective: TDL provides a cost-effective way to develop custom applications and integrate Tally with other systems, compared to using other programming languages and tools.
Applications of TDL
TDL has a wide range of applications in various industries, including:
- Accounting and Finance: TDL can be used to create custom accounting and finance applications, such as automated invoicing and payment systems.
- Inventory Management: TDL can be used to develop custom inventory management applications, including tracking and reporting systems.
- Supply Chain Management: TDL can be used to integrate Tally with supply chain management systems, enabling seamless exchange of data and functionality.
- Business Intelligence: TDL can be used to develop custom business intelligence applications, including reporting and analytics systems.
Conclusion
In conclusion, TDL is a powerful tool for developers to create custom applications, modify existing ones, and integrate Tally ERP 9 with other systems. Its features, benefits, and applications make it an ideal choice for businesses looking to enhance their Tally implementation. With TDL, developers can automate processes, improve efficiency, and reduce costs, ultimately leading to increased business productivity and growth.
References
- Tally Solutions Pvt. Ltd. (n.d.). Tally Developer Language (TDL). Retrieved from https://www.tallysolutions.com/tdl/
- Tally Solutions Pvt. Ltd. (n.d.). Tally ERP 9. Retrieved from https://www.tallysolutions.com/tally-erp-9/