β οΈ You're opening this file directly (file://) β Tally posting will NEVER connect this way, even with the proxy running. Serve it over http:// instead: open a terminal in this folder and run python -m http.server 8080, then browse to http://localhost:8080/tally-posting-engine.html.
π§Ύ Tally Direct Posting Engine
Balaji NextGen ERP β Universal Excel / PDF / Bank Statement β Tally
Upload Excel (.xlsx/.xls), CSV, or PDF β bank statements, sales, purchase, payroll, expense, journal, or Tally-exported files. Type is auto-detected.
π€
Click to browse or drag & drop one or many files here
Any Excel layout works β title rows, merged / 2-line headers, Total & Opening/Closing rows, split narration lines and odd date/βΉ formats are auto-cleaned.
.xlsx Β· .xls Β· .csv Β· .pdf β up to 50,000 rows
π₯ Excel template β fill β upload above β posted to Tally. Choose the type:
Sales Β· Purchase Β· Receipt Β· Payment Β· Contra Β· Journal Β· Expense Β· Credit Note Β· Debit Note Β· Payroll Β· Bank Statement Β· Ledger Master. The first sheet is the one to fill; samples are on the "Example" sheet. The all-in-one file can be uploaded with several sheets filled β each is posted in turn.
2 Β· AI Document Analysis
Auto-detected structure. Review and correct before proceeding β nothing is posted yet.
3 Β· Intelligent Ledger Mapping
Source names matched against your Tally ledger master. Fix any mapping before validation. Approved mappings are remembered for future imports.
4 Β· Validate
GST totals, debit=credit, mandatory fields, duplicates and bank narration classification are checked per row.
5 Β· Preview Before Posting
Nothing has been posted to Tally yet. Review every record and choose what to post.
0 selected
6 Β· Posting to Tally
Posting 0 / 00%
7 Β· Import Center & Posting Log
Full history of every import, with per-file stats and an immutable posting log.
Posting Log (this import)
8 Β· Bank Reconciliation
Compares this import's bank transactions with vouchers already posted in Tally (fetched from your GAS backend, or paste manually below).
β Settings
Used for every Receipt/Payment voucher unless overridden per-import on the Analyze screen. Auto-created in Tally under "Bank Accounts" the first time it's used.
In Tally: Gateway of Tally β F11 (Features) β Enable ODBC/XML Server β Yes (default port 9000). Tally must be open, on this port, with the company above loaded, whenever you post.
β οΈ Browsers block direct calls to Tally's port 9000 (no CORS support, and no way to read the reply). Run a small local bridge on port 9001 instead β either node tally-proxy.js or python tally_relay.py (both included with this app; the Python one also gives cleaner per-line error messages). Leave it running, and open this page via http://localhost (not by double-clicking the file). See TALLY-SETUP.md.
β οΈ Since this page is on balajinextgen.in (not localhost), Chrome's "Local Network Access" permission also has to be granted once β click the π/β icon next to the address bar β Site settings β Local network access β Allow, then Test Connection again. This is separate from the proxy step above and is the #1 reason Test Connection fails even with the proxy running.
Check every
While enabled and this tab stays open, any record that reaches "ready" status is posted to Tally automatically β no need to click Post. Turns off if you close the tab; re-open and it resumes per this setting.
With this on, "Auto Post Everything" posts immediately without asking you to confirm, and if Tally isn't reachable it won't stop to ask β it just builds the Tally XML Bundle automatically so you can import it manually. Turn this off if you'd rather review each prompt.
Browsers can block a page from calling localhost directly (CORS / Private Network Access), even with Tally open and correctly configured. If Test Connection keeps failing after following the steps above, use "Download Tally XML Bundle" from the Import Log screen and import it via Tally β Gateway of Tally β Import Data instead β that path always works.
β Auto-Classify Rules
When a bank narration contains one of these keywords, it's mapped straight to the ledger below at high confidence (ready to post) instead of landing in "needs review". Edit, delete, or add your own β saved per Client ID.