Binarysoft is Authorised Tally Sales & Implementation Partner in India

+91 742 877 9101 or E-mail: tally@binarysoft.com 10:00 am – 6: 00 pm , Mon-Fri

Launching on: 19 December 2025, 5:30 PM IST
TallyPrime 7.0 Launching In:
-- Days -- Hours -- Minutes -- Seconds

Bank Statement to Tally Prime 7.0 Using TDL: Complete Guide for Accurate Accounting

Call CA Tally HelpDesk +91 9205471661, 8368262875

Bank Statement to Tally Prime 7.0 Using TDL: Complete Guide for Accurate Accounting
By CA, Harshit Gaurwaadi   |   Published on: 17-12-2025 | 8 min read

Managing bank transactions is a critical task for every business. Ensuring that transactions recorded in accounting software match the bank statement is essential for accurate reporting, timely reconciliation, and error-free financial records.

While manual entry is slow and prone to mistakes, using TDL (Tally Definition Language) in Tally Prime 7.0 automates bank statement imports, saving time and improving accuracy. This guide explains how to import bank statements to Tally Prime 7.0 using TDL step by step, along with best practices and common pitfalls to avoid.


What Is Bank Statement to Tally TDL Conversion?

TDL (Tally Definition Language) is a powerful tool in Tally Prime that allows automation and customization. Bank statement to TDL conversion is the process of converting bank transaction data (usually in CSV or Excel format) into TDL-compatible entries so that Tally automatically creates vouchers like:

  • Bank Receipts
  • Bank Payments
  • NEFT / RTGS / IMPS transactions
  • Cheque payments
  • Bank charges and interest entries

With this method, there is no need for manual voucher entry, which saves time and ensures accurate accounting.


Why Businesses Prefer Using TDL for Bank Imports

  1. Time-Saving – Manual entry for hundreds of transactions is time-consuming. TDL imports all transactions automatically.
  2. Error Reduction – Avoid typing errors, wrong amounts, or skipped entries.
  3. Faster Bank Reconciliation – Once imported, reconciliation becomes straightforward.
  4. Scalable – Perfect for businesses with high transaction volumes or multiple bank accounts.
  5. Audit-Ready – Ensures consistent and complete accounting records.

Supported Bank Statement Formats

TDL-based bank import usually works with:

  • CSV (.csv) – Most common and easy to map in TDL
  • Excel (.xls / .xlsx) – Easy to clean and organize
  • PDF – Not recommended as TDL cannot read PDF directly

Best practice: Always use CSV or Excel for smooth TDL processing.


Prerequisites Before TDL Import

Before importing bank statements into Tally using TDL:

  1. Bank Ledger Exists – The ledger name in Tally should exactly match the bank account name in the file.
  2. Party Ledger (Optional) – If party-wise mapping is required.
  3. Correct Accounting Period – Voucher dates should fall within the active financial year.
  4. Backup of Tally Data – Always create a backup before any import.

Step-by-Step Process: Bank Statement to Tally TDL

Step 1: Prepare Bank Statement

  • Download the statement from your bank portal in CSV or Excel.
  • Include:
    • Transaction Date
    • Narration / Description
    • Debit Amount
    • Credit Amount
    • Balance (optional)

Tip: Remove blank rows, avoid merged cells, and maintain consistent date formats.


Step 2: Create or Use a TDL Script

A TDL script reads the bank statement and automatically creates vouchers in Tally Prime.

Sample TDL Logic:

[System: UDF]

CSVFilePath : String : "C:\\BankStatement.csv"

[Function: Import Bank Statement]

Parameter: CSVFilePath : String

01 : SET FileName : ##CSVFilePath

02 : READ FILE : ##FileName

03 : FOREACH Line

04 :     SPLIT : , : ##Fields

05 :     CREATE VOUCHER : ##BankVoucher

06 :         SET DATE : $$StringToDate:##Fields[1]

07 :         SET PARTYLEDGERNAME : "Bank Ledger"

08 :         IF ##Fields[4] = "Dr" THEN

09 :             SET AMOUNT : ##Fields[3]

10 :             SET ISDEEMEDPOSITIVE : Yes

11 :         ELSE

12 :             SET AMOUNT : ##Fields[3]

13 :             SET ISDEEMEDPOSITIVE : No

14 :         ENDIF

15 :         SET NARRATION : ##Fields[2]

16 :     END CREATE

17 : NEXT

Key Points:

  • ISDEEMEDPOSITIVE differentiates Debit / Credit.
  • Narration is automatically mapped from bank statement description.
  • Vouchers are generated without manual intervention.

Step 3: Load TDL in Tally Prime 7.0

  1. Open Tally Prime 7.0.
  2. Go to F12 > Product & Features > Manage Local TDLs.
  3. Load your .tdl file.
  4. Run the Import Bank Statement function and provide the CSV/Excel path.

Step 4: Verify Imported Transactions

  • Go to Display > Day Book.
  • Check all vouchers for:
    • Correct dates
    • Correct debit and credit amounts
    • Accurate narration
  • Make corrections if any mismatched ledger names or amounts appear.

Step 5: Reconcile Bank Ledger

  • Go to Bank Reconciliation Statement in Tally Prime.
  • Match imported transactions with bank statements.
  • Identify and clear unmatched entries.

Common Mistakes to Avoid

  1. Ledger Name Mismatch – The bank ledger name must match exactly.
  2. Incorrect Date Format – Use consistent DD-MM-YYYY format.
  3. Duplicate Imports – Avoid importing the same file twice.
  4. Ignoring Exceptions – Always check Tally’s exception report after import.

Advantages of TDL-Based Bank Import Over Manual Entry

Aspect

Manual Entry

TDL Import

Time Required

High

Low

Accuracy

Medium

High

Scalability

Limited

Excellent

Bank Reconciliation

Slow

Fast

Audit Readiness

Medium

High


Best Practices

  • Maintain consistent bank ledger names.
  • Import monthly or period-wise to avoid large data errors.
  • Verify CSV/Excel files before import.
  • Keep backups of Tally data.
  • Reconcile immediately after importing.

Who Should Use TDL Bank Import

  • Chartered Accountants and CA firms
  • Accounting service providers
  • MSMEs and small businesses
  • Businesses with multiple bank accounts and high transaction volumes

Conclusion

Using TDL in Tally Prime 7.0 for bank statement imports ensures accurate accounting, reduces manual effort, speeds up reconciliation, and prepares data for audits efficiently. With proper preparation, clean statements, and careful TDL mapping, businesses can automate their bank accounting workflow and focus on strategic financial management.


Frequently Asked Questions

What is TDL in Tally Prime 7.0?

TDL (Tally Definition Language) is a scripting language used to customize, automate, and extend Tally Prime features, including automating bank statement imports.

Can all banks’ statements be imported using TDL?

Yes, as long as the bank statement is in CSV or Excel format. PDF statements need conversion to CSV/Excel first.

Does importing a bank statement via TDL affect existing vouchers?

No. TDL import only creates new vouchers and does not alter existing entries.

How does TDL differentiate between debit and credit transactions?

TDL uses the ISDEEMEDPOSITIVE field: Yes → Debit / Payment No → Credit / Receipt

For Tally Discount Scheme and Inquiries,
Call us at +91 9205471661, 8368262875.

Tally Prime Auditor Renewal (One Year)

Applicable for CAs / Firms Using GOLD (Multi User ) Only

Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!

₹ 6750 + 18% GST (₹ 1215)

Tally Prime Auditor Renewal (Two Years)

Applicable for CAs / Firms Using GOLD (Multi User ) Only

Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!

₹ 12150 + 18% GST (₹ 2187)

Tally Prime Gold Renewal (One Year)

Unlimited Multi-User Edition For Multiple PCs on LAN Environment

Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!

₹ 13500 + 18% GST (₹ 2430)

Tally Prime Gold Renewal (Two Years)

Unlimited Multi-User Edition For Multiple PCs on LAN Environment

Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!

₹ 24300 + 18% GST (₹ 4374)

Tally Prime Silver Renewal  (One Year)

Single User Edition For Standalone PCs ( Not applicable for Rental License )

Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!

₹ 4500 + 18% GST (₹ 810)

Tally Prime Silver Renewal  (Two Years)

Single User Edition For Standalone PCs ( Not applicable for Rental License )

Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!

₹ 8100 + 18% GST (₹ 1458)

Tally On Cloud

Tally On Cloud ( Per User Annual)

Now access Tally Prime anytime from anywhere – Just Deploy your Tally License and Tally Data on our Cloud Solution.

₹ 7000 + 18% GST (₹ 1260)

Tally Prime Gold

Unlimited Multi-User Edition

For EMI options, please Call: +91 742 877 9101 or E-mail: tally@binarysoft.com (10:00 am – 6: 00 pm , Mon-Fri)

₹ 67500 + 18% GST (₹ 12150)

Tally Prime Silver to Tally Prime Gold

Unlimited Multi-User Edition For Multiple PCs on LAN Environment

Renew your license now and upgrade from Tally ERP 9 to Tally Prime for Free!

₹ 45000 + 18% GST (₹ 8100)

Tally Prime Silver

Single User Edition For Standalone PCs

For EMI options, please Call: +91 742 877 9101 or E-mail: tally@binarysoft.com (10:00 am – 6: 00 pm , Mon-Fri)

₹ 22500 + 18% GST (₹ 4050)

Tally On AWS Cloud Personal (For 1 user)

(Per User/One Year)

TallyPrime latest release pre-installed

₹ 7200 + 18% GST (₹ 1296)

Tally On AWS Cloud Regular (Upto 2 users)

(Two Users/One Year)

TallyPrime latest release pre-installed

₹ 14400 + 18% GST (₹ 2592)

Tally On AWS Cloud Regular Plus (Upto 4 users)

(Four Users/One Year)

TallyPrime latest release pre-installed

₹ 21600 + 18% GST (₹ 3888)

Tally On AWS Cloud Regular Pro (Upto 8 users)

(Eight Users/One Year )

TallyPrime latest release pre-installed

₹ 43200 + 18% GST (₹ 7776)

Tally On AWS Cloud Performance (Upto 12 users)

(Twelve Users/One Year)

TallyPrime latest release pre-installed

₹ 64800 + 18% GST (₹ 11664)

Tally On AWS Cloud Performance Plus (Upto 16 users)

(Sixteen Users/One Year)

TallyPrime latest release pre-installed

₹ 86400 + 18% GST (₹ 15552)

For Tally Discount Scheme and Inquiries,
Call us at +91 9205471661, 8368262875.

Tally Query