We put a lot of effort into making everything great. Tally is now the most useful accounting and business software, and we may alter Tally to suit our needs due to TDL Codes. In this post we will see how to Attach Document in Voucher.
Sometimes while creating vouchers for things like sales, purchases, journal entries, and payments, we wonder whether we may include any crucial scans of documents. Yes! It is much faster to attach a document in Tally Voucher than to search through files and other locations. Simply open Tally to view the attachment. This will both save us a tonne of time and help us avoid making mistakes.
I thus have a very essential task for you and your company.
With this amazing free Tally ERP9 and Tally Prime TDL code we can attach any document, when we creating vouchers and can see it latter.Your documents can be in JPG or Pdf or any other form. This Tally TdL make our work more effective and accurate. This is must have TDL file for Tally ERP9 and Tally Prime that can use for lifetime.
It will work in all Tally versions. for more detail watch the video.
Table of Contents
ToggleTDL code:
[#Part:VCHTitle2right]
Option:AttacType:@@IsSales or @@IsPurchase or @@IsPayment
[!Part:AttacType]
Add:Line:AtEnd:AttacTypeLw
[Line:AttacTypeLw]
Field:MediumPrompt,LWAttaType
Local:Field:MediumPrompt:Info:"Attachments:"
Local:Field:MediumPrompt:Width:8% Page
[Field:LWAttaType]
Use:Name Field
Storage:AttahedFileLW
Width:20
SetAs:#LWAttaType
Skip:$$InAlterMode
[#Form:Voucher]
Add:Top Button:At Beginning:OpenDoc
[Button:OpenDoc]
Title:$$LocaleString:"Open Attachment"
Key:Ctrl+O
Action:Browse Url Ex:#LWAttaType
[System:UDF]
AttahedFileLW:String:1101
HOW TO USE TDL CODE:
- Copy above TDL code and make a text file.
- Save text file then load in Tally Prime (Method provided below the code)
- Now go to create vouchers, there you will find a space to paste file path.
- And same you will find Open file button in side bar to open attachment of vouchers at any time even after saving a voucher.

This is best free TDL to have in your Tally . Must have TDL file for Tally ERP9 and Tally Prime that can use for lifetime. This free TDL Code will perfectly work with Tally Prime.
Watch above video to learn :
- How to see how to create own field in Tally voucher screen.
- How to create side bar button in Tally.
- How to use storage in Tally TDL
FOLLOW THE BELLOW INSTRUCTIONS TO LOAD TDL FILE IN TALLY:
- Make a Text file of above code
- Save it in to your computer
- Copy the text file path including Name and extension (as – C:\Users\HP\Desktop\rec\attachement.txt)
- Open Tally Prime Software
- Click on Help and click on TDL & Addon (for Tally Prime)
- Press F4 (to open a Box)
- Set Load TDL file on Startup – Yes
- Paste The path in blank space
- Press enter and save
- Now your voucher with attachment TDL is ready to use.

-
Free Excel to Tally
Tally XML Converter Use Excel,Text,CSV etc file. Columns should be same as Templates. Paste Data-Choose XML Type-Click on Create File and Download. Paste XML file path in Tally Import to Create Entry. Click for Learning Videos LEARNWELL VIDEO. Create file
-
PHP
Import Data into Tally Import Data into Tally Excel File:
-
e2t
