Connect Tally Prime to E1pi

E1pi reads Tally Prime live, over the gateway Tally already has. Nothing is exported, nothing is synced, nothing is migrated. Fifteen minutes from a fresh install to the first Profit & Loss.

Updated · · Applies to the Mac and Windows app

Before you begin

You need the E1pi server running in the office and Tally Prime running on a PC it can reach. Both can be the same machine.

You needDetails
E1pi serverA Mac or Windows PC with the E1pi app installed and signed in. See Install on Mac or Install on Windows.
Tally PrimeRunning, with the company loaded, on a PC in the same office network. Any edition.
NetworkThe E1pi server can reach the Tally PC on port 9000. Same LAN, or an E1pi tunnel for a second office.
Your roleAdmin in E1pi. Roles come from Microsoft 365. Only an admin can register a company.

How the connection works

Tally Prime has a small built-in server. When it is on, E1pi sends it an XML request, Tally answers with the ledgers or vouchers asked for, and E1pi turns the answer into the report, the voucher card or the check you asked for. There is no copy of your books in between: every report is read at the moment you ask.

Tally PrimeOn the accounts PC. Gateway on port 9000.
E1pi serverYour Mac or Windows PC. Reads, checks, renders.
Your channelsApp, Microsoft Teams, WhatsApp.
  • Live, not synced. A voucher entered in Tally a second ago shows in the next report.
  • Small pieces to the model. Only the chunk needed for the task goes to the AI model, never the whole company file.
  • Every call on the timeline. The admin sees each request E1pi sent to Tally, in order, per user.

Step 1: Switch on the Tally gateway

Do this once, on the PC where Tally Prime runs.

  1. Open the connectivity settings

    In Tally Prime press F1, then go to Settings›Connectivity›Client/Server configuration.

  2. Set Tally Prime to act as a server

    Set TallyPrime acts as to Both, Enable ODBC Server to Yes and Port to 9000. Accept the screen with Ctrl + A.

  3. Restart Tally when it asks

    Tally restarts itself to open the port. Load the company again after the restart.

  4. Check that the gateway answers

    On the same PC open http://localhost:9000 in a browser. Tally replies with one line:

    Browser
    <RESPONSE>TallyPrime Server is Running</RESPONSE>
Note

E1pi can only read a company that is open in Tally. If Tally is closed, or the company is not loaded, the report says Tally is not responding and tells you which PC it tried.

Step 2: Register the company in E1pi

Open the E1pi app and tell it where Tally is and what to call the company. One sentence is enough; the short name is what you will type in every report from now on.

Say to E1pi
Connect Tally Prime at 192.168.1.20 port 9000 and register Veltrix Power Systems Pte Ltd as vpl

E1pi tests the gateway, lists the companies loaded in that Tally, asks you to confirm the one it found and writes the entry to the company list. You can read the entry on the disk, in the E1pi folder:

config/companies.json
{
  "short": "vpl",
  "name": "Veltrix Power Systems Pte Ltd",
  "erp": "tally-prime",
  "host": "192.168.1.20",
  "port": 9000,
  "currency": "SGD",
  "financialYearStarts": "01-Jan"
}

Nothing else is stored. There is no copy of the ledgers, no password, no token: the gateway is open to the LAN and E1pi simply talks to it.

Tally in another office

Do not open port 9000 on the router. If Tally runs in a different office, ask E1pi to connect Tally over a tunnel: it installs a device certificate on the Tally PC and brings port 9000 to the E1pi server through a key-only SSH tunnel, so the gateway never faces the internet.

Step 3: Run the first report

Ask for any of the 12 reports with the short name and a period. Start with a month you know by heart so you can compare with the Tally screen.

Say to E1pi
P&L for vpl for September 2026

The report opens in the same thread, with GP% and NP%, every line drillable to the ledger and the voucher. Check three things on the first run:

  • Period. The months shown are the ones you asked for, in the financial year you expect.
  • Totals. Net profit matches Tally's own Profit & Loss for the same period, to the cent.
  • Currency. Amounts carry the company currency from the entry above.

A few more things to try on the first day:

SayWhat you get
Balance sheet for vpl as at 30 Sep 2026Assets and liabilities as at the date, with last year beside it.
Bills receivable for vplEvery open customer bill, aged, with the overdue ones on top.
Daybook for vpl last weekEvery voucher of the week, by day, with the narration.
Stock summary for vplClosing stock by item and godown, live from Tally.

More than one company

Register each company the same way. Companies can sit in one Tally, in several Tallys on different PCs, or in a mix of Tally, SAP and QuickBooks: the short name is all the team needs to know.

CompanyTally gateway
vplVeltrix Power Systems Pte Ltd · SGD192.168.1.20:9000
vgeVeltrix Green Energy Pvt Ltd · INR192.168.1.20:9000
vphVeltrix Power Philippines Inc · PHP10.8.0.4:9000 via tunnel

Once two or more companies are registered, one sentence puts them side by side:

Say to E1pi
P&L for all companies for Q3 2026, side by side in SGD

What leaves the building

Short answer: the question, and the smallest piece of the answer the model needs to write it up.

  • Tally data is read on the E1pi server, in your office, and rendered there. The full report never goes to the model.
  • The model receives the chunk needed for the task, about 500 words, and returns text. It stores nothing.
  • Microsoft 365 tokens, Tally hosts and company files stay on the E1pi server. Nothing is kept on E1pi's own servers.
  • With the in-house model option, the model runs on your server too and nothing leaves at all.

The admin can open the call timeline at any time and see every request E1pi sent to Tally, who asked for it and when.

Troubleshooting

You seeWhat to check
Tally is not respondingTally is open and the company is loaded. The Windows firewall allows port 9000 on the private network. The PC did not change its IP address: give it a fixed one.
Company not foundThe name in the entry is exactly the name in Tally, including Pte Ltd or Pvt Ltd. Open F3›Select company in Tally to read it.
Numbers differ from the Tally screenThe period and the financial year start in the entry. Tally shows the current year by default; E1pi shows what you asked for.
Reports take longThe Tally PC is on Wi-Fi, or the company has many years loaded. Wire it, or split old years into a separate company.

Still stuck? Say check the Tally connection for vpl: E1pi pings the PC, calls the gateway, lists the companies loaded and tells you which step failed.

Next steps

On this page
    All docs