Home  ·  Blog  ·  Business Automation
Business Automation

How to automate GST e-invoices and e-way bills with Tally

TallyPrime can already generate e-invoices and e-way bills. The bigger savings come from automating what happens before the invoice and after it.

· 6 min read · By
Accountant in a small Indian manufacturing office preparing invoices for dispatch

The short version: TallyPrime can already generate GST e-invoices and e-way bills from the sales voucher, so for many businesses step one is simply switching that on and cleaning up the masters. The bigger savings come from automating what happens before the invoice (orders that get retyped into Tally) and after it (sending the invoice, chasing payment, recording the receipt).

This is a practical guide from the software side, not tax advice. Rules change, so check the details for your business with your CA.

Who has to e-invoice

  • The threshold: since 1 August 2023, e-invoicing applies to businesses whose aggregate turnover exceeded ₹5 crore in any financial year from 2017-18 onwards.
  • What it covers: B2B invoices, credit and debit notes, and exports. Sales to consumers (B2C) are not e-invoiced, and some sectors, such as banking and insurance, are exempt.
  • The 30-day limit: if your aggregate turnover is ₹10 crore or more, invoices must be reported to the Invoice Registration Portal within 30 days of the invoice date. After that, the portal refuses them.

How e-invoicing works, step by step

  1. Your software creates the invoice as usual.
  2. The invoice details go to an Invoice Registration Portal (IRP) in a standard JSON format.
  3. The IRP checks them and returns an IRN (Invoice Reference Number) and a digitally signed QR code.
  4. The QR code is printed on the invoice you give the customer.
  5. The details flow into your GST return, so they don't have to be entered again.

Two rules worth knowing: an IRN can be cancelled only within 24 hours of generation (after that, issue a credit note), and the IRP rejects a duplicate invoice number in the same financial year.

Where the e-way bill fits

An e-way bill is needed when goods move and the consignment is worth more than ₹50,000. Some states set different limits for movement within the state. When you generate the e-invoice, the e-way bill can be created from the same details; you add the transport part (vehicle number or transporter) when the goods leave.

Level 1: what TallyPrime does by itself

TallyPrime has had connected e-invoicing since release 1.1 and connected e-way bills since release 2.0. Recent releases can generate the e-invoice and e-way bill together and calculate the distance for the e-way bill automatically. In practice you:

  • Keep the Tally machine online when invoicing.
  • Set up your GST details and e-invoice login in Tally.
  • Clean your masters: every customer's GSTIN, state and pincode, every item's HSN code, unit and tax rate.
  • Generate the IRN (and e-way bill when goods move) as you save the sales voucher.

Check with your Tally partner what your licence covers. If invoices are created in Tally by one or two people at moderate volumes, this alone may be enough.

Level 2: automate the steps before the invoice

The real waste in most businesses is upstream. Orders arrive through a field sales app, a website, a CRM, a dealer portal or WhatsApp, and then someone types them into Tally again. Two ways to stop that:

  • Push orders into TallyPrime. TallyPrime accepts vouchers in XML or JSON through its own HTTP interface. Approved orders from your CRM or field app go straight in as sales vouchers, and Tally then generates the IRN as usual. This works well when Tally is the centre of your accounts and volumes are moderate.
  • Generate the IRN in your own system. If invoices are created in an ERP or portal at high volume, that system can request the IRN through a GST Suvidha Provider's API, then post the finished invoice into Tally for the books.

Either way, design for the day the Tally machine is switched off: requests should wait in a queue and retry, not disappear. If you're wondering whether a no-code tool can do this, our Zapier vs custom automation guide explains why Tally usually needs a custom bridge.

Level 3: automate what happens after the invoice

  • Send it automatically. The invoice PDF with its QR code goes to the customer on WhatsApp and email as soon as the IRN arrives.
  • Make paying easy. Add a UPI or payment gateway link to the message.
  • Remind without anyone remembering. Reminders on day 7, 14 and 30 after the due date, stopping the moment the payment is recorded.
  • Record the receipt. When the payment arrives, the receipt is posted in Tally against the right invoice.
  • Show the owner the ageing. A weekly list of who owes what, oldest first.

For WhatsApp, payment reminders count as utility messages, which cost a fraction of marketing messages. Our guide to WhatsApp Business API automation has the current charges. If collections happen in the field, our payment collection tracking module records them from the salesperson's phone.

Errors to design around

  • Wrong or cancelled GSTIN. Check the customer's GSTIN when the customer is created, not when the invoice fails.
  • HSN code or tax rate mismatch. Keep HSN and tax rates on the item master, never typed per invoice.
  • Pincode and distance errors on e-way bills.
  • Duplicate invoice numbers, which the IRP rejects.
  • The 30-day limit, for businesses at ₹10 crore and above. Generate the IRN when you invoice, not in a batch at month end.
  • Late cancellations. After 24 hours, a credit note is the only route.

A setup checklist

  1. Confirm with your CA whether e-invoicing and the 30-day limit apply to you.
  2. Clean customer and item masters in Tally.
  3. Switch on connected e-invoicing and e-way bills in TallyPrime and test with a few real invoices.
  4. List every place orders come from, and how many get retyped each day.
  5. Automate the biggest source first (Level 2), with a queue for when Tally is offline.
  6. Add invoice delivery, payment links and reminders (Level 3).
  7. Review failed runs every week for the first month.

What it costs

Tally's own connected e-invoicing comes with TallyPrime; your Tally partner can confirm what your licence includes. A custom integration costs more: as a reference, our published price for invoice and accounting automation (GST invoices, IRP and e-way bill, two-way Tally sync, payment reminders and an ageing dashboard) starts at ₹1.2L, with a typical build time of 4 to 7 weeks. See our business automation services page for the full list, or our ERP development page if invoicing is part of a bigger system.

For more processes that fit the same pattern, read our business process automation examples for Indian SMEs.

FAQs

Is e-invoicing mandatory for my business?

It is mandatory if your aggregate turnover exceeded ₹5 crore in any financial year from 2017-18 onwards, for B2B invoices, credit and debit notes and exports. Some sectors are exempt. Your CA can confirm where you stand.

Can TallyPrime generate e-invoices directly?

Yes. TallyPrime connects to the Invoice Registration Portal to generate the IRN and signed QR code from the sales voucher, and can create the e-way bill as well, as long as the Tally machine is online and your GST details and masters are correct.

What happens if we report an invoice after 30 days?

If your aggregate turnover is ₹10 crore or more, the IRP will not accept invoices more than 30 days old, so no IRN can be generated for them. Generating the IRN at the time of invoicing avoids the problem.

Do we need an e-way bill for every e-invoice?

No. An e-way bill is needed when goods move and the consignment value is above ₹50,000 (some states set different limits for movement within the state). Services, and invoices without a movement of goods, do not need one.

Can an e-invoice be cancelled?

An IRN can be cancelled on the IRP within 24 hours of generation. After that, issue a credit note instead.

Read next

Let's build something unforgettable.

From a 5-page launch to a multi-region growth engine — we plug in, ship fast, and stay till the numbers move.