Tally Integration with Website, Store or App

View this page

How a website, store or app posts sales vouchers into TallyPrime: XML or JSON over HTTP, a real voucher mapping, the office-computer problem, and what breaks.

Organisation
WavX Solutions
Telephone
+919310079927

Description

Integration Tally integration: posting orders and invoices into TallyPrime

TallyPrime has no cloud API. It accepts XML requests, and JSON from TallyPrime 7.0, over HTTP on the computer where it runs, port 9000 by default, while a company is open. An integration turns each order or invoice from your website or app into a balanced Tally voucher, reaches that computer safely, and catches what Tally refuses. This guide follows TallyHelp as read on 2 October 2026.

Discuss an integration Last updated 2 October 2026

What a Tally integration connects

"Tally" here means TallyPrime, the accounting software. The integration takes business events that happen elsewhere, mostly sales, receipts and refunds, and posts them as vouchers in the company's books, so nobody has to key them in from a spreadsheet.

Typical sources are a custom website or app, an online store, a billing or POS system, or a custom ERP that handles operations while Tally stays the book of accounts. The flow can also run the other way: reading ledger balances, stock items or outstanding bills out of Tally into a dashboard.

How TallyPrime accepts data

TallyHelp documents three things a sender needs to know:

The transport. External software sends an HTTP POST to TallyPrime's built-in server, http://<tally-machine>:9000 by default. TallyPrime can act as server, client or both, set under its data synchronisation configuration.

The format. An XML envelope with a header ( VERSION , TALLYREQUEST set to Import or Export, TYPE , ID ) and a body carrying the data. From TallyPrime 7.0, the same requests can be sent as JSON, with the header values passed as HTTP headers.

The conditions. TallyPrime must be running on the configured port with at least one company loaded. If those are not true, nothing is posted.

TallyHelp also lists ODBC for live reporting into Excel or Power BI, and TDL, Tally's own language, for customisations inside the product.

Data flow

Website / app / ERP Your server Office (Tally machine)

------------------- ----------- ----------------------

order paid ───────────────▶ build voucher from mapping

store in queue (status: pending)

◀────── agent asks: anything pending?

hands over voucher ───────▶ agent POSTs XML/JSON to

TallyPrime on localhost:9000

◀────── agent reports CREATED / ERRORS

marks posted, or shows the

error on the accounts screen

The agent makes only outbound requests, so the office firewall stays closed and no port on the Tally machine is exposed to the internet.

A real voucher mapping

One web order, invoiced from Haryana to a buyer in Haryana: two T-shirts at ₹500 each, 5% GST, ₹50 shipping. Each line of the order becomes a ledger entry in a Sales voucher. Because the place of supply is in the supplier's own state, CBIC's FAQ puts it under CGST and SGST; a buyer in another state would put the tax under IGST instead.

Order field

Tally field

Value in this example

Order date

DATE

Order number

VOUCHERNUMBER (or a reference field)

WEB-10452

Voucher type

VOUCHERTYPENAME

Sales (or a separate "Web Sales" type)

Customer, or a default for retail buyers

Party LEDGERNAME , ISDEEMEDPOSITIVE Yes

Online Sales Customer, debit ₹1,102.50

Product SKU and quantity

STOCKITEMNAME , BILLEDQTY , RATE

T-Shirt Blue M, 2 nos at ₹500

Line amount before tax

Sales ledger allocation

Sales GST 5%, credit ₹1,000

Tax on lines and shipping

Tax ledgers

CGST 2.5% ₹26.25, SGST 2.5% ₹26.25

Shipping charged

Income ledger

Shipping Charges, credit ₹50

Rounding

Round-off ledger

₹0 here; needed whenever the store rounds per line

Delivery state

Decides CGST/SGST or IGST ledgers

Haryana

Debits and credits must match to the paisa: ₹1,102.50 against ₹1,000 + ₹50 + ₹26.25 + ₹26.25. The tax shown assumes shipping is taxed at the goods' rate; how shipping is taxed for your business is your accountant's call, and the mapping follows it.

Written in the structure of TallyHelp's sample XML for a sales voucher in accounting view, the order above looks like this (inside the standard import envelope):

<VOUCHER>

<DATE>20261002</DATE>

<VOUCHERTYPENAME>Sales</VOUCHERTYPENAME>

<VOUCHERNUMBER>WEB-10452</VOUCHERNUMBER>

<LEDGERENTRIES.LIST>

<LEDGERNAME>Online Sales Customer</LEDGERNAME>

<ISDEEMEDPOSITIVE>Yes</ISDEEMEDPOSITIVE>

<ISPARTYLEDGER>Yes</ISPARTYLEDGER>

<AMOUNT>-1102.50</AMOUNT>

</LEDGERENTRIES.LIST>

<LEDGERNAME>Sales GST 5%</LEDGERNAME>

<ISDEEMEDPOSITIVE>No</ISDEEMEDPOSITIVE>

<AMOUNT>1000.00</AMOUNT>

<!-- CGST, SGST and Shipping Charges entries follow the same pattern -->

</VOUCHER>

Debits carry a negative amount and ISDEEMEDPOSITIVE Yes; credits are positive with No. Invoice view adds ALLINVENTORYENTRIES.LIST so stock moves as well.

Limits and gotchas

Issue

What happens

What the integration does

Tally closed or a different company open

Nothing is posted, and the sender may see no error

Queue every voucher; alert when the queue stops draining

Totals off by a paisa

Tally refuses with a line error such as "Voucher totals do not match! Dr: … Cr: … Diff: …"

Post a round-off entry; recompute tax the way the accountant does

Ledger or stock item name not found

Voucher rejected

Mapping table, checked before sending; readable error naming the missing item

Same order sent twice

Two vouchers, double-counted revenue

Record the order number with each posted voucher; check before posting

Response read carelessly

Request "succeeded" but ERRORS is 1

Read CREATED , ALTERED , ERRORS and LINEERROR from every response

Refunds and cancellations

Sales stay in the books

Post a credit note against the original voucher number

Office computer exposed to the internet

A security risk for the books

Outbound-only agent; no forwarded port

Most of these are covered in more depth, with a check for each, on orders not syncing to Tally or your ERP .

What WavX builds

For a Tally integration, WavX builds the mapping engine on your server, the outbound agent on the Tally machine, a screen where the accounts team can see pending, posted and failed vouchers and match new products or tax rates without a developer, and a daily reconciliation of orders against posted vouchers. Credit notes, receipts against outstanding bills and reading stock back out of Tally are added when the business needs them.

If B2B invoices also need an IRN, the GST e-invoicing integration sits before the Tally post, so the voucher carries the IRN. For a Shopify store specifically, read Shopify to Tally .

Effort band

A Tally integration is quoted after scoping, because the work depends on how many voucher types are involved and how many exceptions your mapping has. For planning, the software cost estimator carries third-party integrations as a ₹60,000 line item inside a larger build. A standalone integration with its own agent and accounts screen is a separate small build; the worked planning range is on API and system integration services .

When not to build one

If you post a handful of sales a day, a daily export from your store and Tally's own import may be enough, at no development cost. If your platform is already supported by a Tally connector product and your GST treatment is standard, try that first. A custom integration earns its cost when the volume is high, the mapping is unusual, or the source system was built for you and no connector knows it.

Frequently asked questions

Does Tally have an API?

Not a hosted one. TallyPrime runs an HTTP server on the machine where it is installed, and external software posts XML to it, or JSON from TallyPrime 7.0 onwards. It only answers while TallyPrime is running with a company loaded, which is the main thing an integration has to plan around.

Our Tally is on one office computer. Can a cloud website still post to it?

Yes, but not by opening that computer to the internet. We install a small agent on the Tally machine that fetches pending orders from your server and posts them to Tally locally, then reports the result back. If the computer is off, orders wait in the queue and go across when it comes back.

Can the integration create new customers and products in Tally?

It can create ledgers and stock items through the same import request, but most accountants prefer it not to. A common rule is: create customer ledgers automatically for B2B buyers with a GSTIN, post retail sales to one cash or marketplace ledger, and stop with a readable error when a product has no matching stock item.

Should we buy a Tally connector instead?

If your store or software is one that a connector vendor already supports, and your mapping is standard, yes. A custom integration is worth it when your invoices, GST treatment or stock locations do not fit the connector&#x27;s options, or when the source is software built for you.

Sources

TallyHelp: XML integration · read 2 October 2026

TallyHelp: Pre-requisites for integrations · read 2 October 2026

TallyHelp: Sample XML · read 2 October 2026

TallyHelp: How to integrate with TallyPrime using JSON · read 2 October 2026

TallyHelp: Integrate with TallyPrime · read 2 October 2026

CBIC GST: Frequently asked questions · read 2 October 2026

Related

Shopify to Tally integration

Orders not syncing to Tally or your ERP

Custom ERP development

GST e-invoicing integration

API and system integration services

Build your own software — your way, your pricing.

WavX Solutions is here to create your own software in a fully custom way, built exactly how you work — with a pricing model that fits your business. Connect now and let&#x27;s build it.

Contact Now helpwavx@gmail.com

Reference material from WavX Solutions

Related questions WavX has answered

B2b order booking app with tally integration?

A B2B ordering app connects to Tally through a small connector that runs alongside your Tally installation and exchanges data with the app's backend. Items, price lists, stock and outstanding balances flow from Tally to the app; confirmed orders flow back as sales orders or vouchers. Retailers see their own prices and credit limit, and your accounts team avoids retyping. Sync can run every few minutes, but it pauses whenever the Tally machine is switched off. WavX lists Tally among its integrations. Source

Can I get one dashboard that shows my Tally sales and my website orders together?

One dashboard can show both, provided each system can hand over its data. Website orders come straight from the site's database or API; Tally data is pulled through an integration or a scheduled export, then matched on invoice or customer so the totals agree. The dashboard can then show sales by day, product, channel and outstanding payments in one place, with filters and Excel exports. WavX names Tally and Zoho among its integrations, and the exact sync method is confirmed once the Tally setup has been seen. Source

We have warehouses in Delhi and Bengaluru plus three retail shops, all selling from the same stock as our website. During sales we oversell and then cancel orders. Stock is updated in Tally at day end. How do we stop the overselling?

Overselling will continue as long as stock is updated at day end, because the website is selling against numbers that are hours old. The fix is one live inventory ledger per location that the website, both warehouses and the three shop counters all write to as each sale happens, with Tally receiving the entries from it instead of being the source. Add a safety buffer on fast-moving items during sales and reserve stock at checkout. WavX builds this kind of multi-location inventory with Tally sync; scoping starts at /contact. Source

We use HubSpot for B2B sales and Shopify for our online store, and the two don't share customer data. Marketing wants abandoned carts and order history inside HubSpot. Is the ready-made connector enough, or should we build a custom integration?

Start with the ready-made connector; it covers what marketing asked for. Standard connectors sync customers, orders, products and abandoned carts into HubSpot and are quick to switch on. Build a custom integration only when you hit their limits: mapping Shopify B2B companies to HubSpot companies, syncing metafields, custom deal stages per order, two-way updates, or strict rules for merging duplicate contacts. Run the connector for a month, list what is missing, and scope custom work from that list. HubSpot is among the integrations WavX names. Source

We are a pharma distributor in Ahmedabad and all billing happens in Tally on a desktop in our office. We want sales reps to see live stock and outstanding amounts on their phones and book orders from the field. Can this be done without replacing Tally?

It can be done with Tally staying as the accounting system. A small connector installed on the office machine reads stock, ledgers and outstanding balances from Tally at short intervals and pushes them to a cloud database; the sales reps' mobile app reads from that database. Orders booked in the field flow back and are posted into Tally as vouchers. The office computer and internet must stay on for data to be current. Tally is among the integrations WavX names. Share your Tally setup at helpwavx@gmail.com. Source

Shopify orders not matching tally sales entries?

Mismatches between Shopify and Tally almost always come from events the sync ignores. Check refunds and cancellations after the entry was posted, COD orders booked on order date but paid on remittance, shipping charges and gateway fees with no mapped ledger, tax rounding across CGST, SGST and IGST, partial fulfilments, and duplicates created by retries. The fix is to post on one defined event, map every ledger, use the Shopify order ID as a unique key, and run a daily reconciliation report that lists differences. Source

Meta ads showing more sales than my store orders?

Ad platforms and your store count differently, so the numbers rarely agree. Meta credits a sale to an ad if the buyer clicked or even viewed it within its attribution window, and Google does the same for its own ads, so one order can be claimed by both. Other gaps come from duplicate purchase events firing on page reload, cancelled or returned orders the ad platform never hears about, and blocked browser tracking. Fix the plumbing first, with deduplicated events and the server-side Conversions API, then judge channels against real orders in your store's records. Source

How much would an order booking app for my twenty sales reps cost?

For twenty reps, expect a medium app in WavX's published cost model, starting at ₹4,00,000 with a base range of ₹3.4L–₹5L, plus add-ons for user accounts (₹40k), push notifications (₹25k) and an office admin panel (₹1L). Rep count hardly changes the price; offline use, dealer-wise pricing and schemes, and sending orders into Tally or your ERP do. One cross-platform app instead of two native ones keeps it lower. WavX builds your own software, fully custom, with a pricing model that fits you, and the figure is negotiable; try /tools/app-cost-calculator. Source

WavX starting prices (base scope, before add-on features)

From the cost model behind the WavX calculators. A quote follows a scoping call; features, integrations and scale move these figures. Annual maintenance is typically 15–25% of the build cost.

BuildStarting priceTypical timeline
Landing pagefrom ₹40,0003–6 weeks
Business websitefrom ₹50,0003–6 weeks
E-commerce storefrom ₹1,50,0003–6 weeks
Internal tool / dashboardfrom ₹2,00,0003–6 weeks
Custom web applicationfrom ₹4,50,0006–10 weeks
SaaS productfrom ₹7,00,00010–16 weeks
ERP / CRM systemfrom ₹9,00,00010–16 weeks
AI chatbotfrom ₹1,50,0003–6 weeks
RAG assistant (your data)from ₹3,50,0006–10 weeks
AI agent / automationfrom ₹5,00,0006–10 weeks
AI feature in an appfrom ₹2,50,0003–6 weeks

Calculators: website, software, AI, mobile app. Pricing explained: https://www.wavxsolutions.in/pricing.

About WavX Solutions

WavX Solutions (WAVX — Web Application & Venture Exchange) is a remote-first, 100% custom software development company founded in 2022 in Gurgaon, Delhi NCR, India. WAVX designs, builds, scales and maintains custom websites, web applications, iOS and Android apps, Shopify stores, ERP/CRM software, loyalty systems, AI integrations and performance marketing for startups, businesses, brands and institutions across India.