Back to Blog|Statutory & Compliance

Automate E-Invoicing and E-Way Bills Directly in TallyPrime

June 29, 20268 min readAkib Husain

Under Indian GST regulations, generating e-invoices and e-way bills is a critical compliance requirement. TallyPrime provides direct integration with the government's e-invoice and e-way bill portals, allowing businesses to generate Invoice Reference Numbers (IRN) and QR codes directly from the voucher entry screen.

Automating these workflows eliminates the need to export data to JSON files or use external offline utility tools, reducing data entry errors and compliance delays.

Legal Requirements & Applicability

A tax invoice is legally invalid if a business meets the e-invoicing criteria but fails to generate an IRN:

  • Threshold Limit: Mandatory for businesses with an Aggregate Annual Turnover (AATO) exceeding ₹5 Crore in any financial year from 2017-18 onward.
  • Transaction Types: Applicable to Business-to-Business (B2B) sales, Business-to-Government (B2G) transactions, Export invoices, and Credit/Debit Notes related to B2B supplies.
  • e-Way Bill Limit: Required for moving goods valued above ₹50,000 (or state-specific limits) for interstate transport.

API User Registration on the e-Invoice Portal

To enable direct uploads from TallyPrime, you must register Tally Solutions as your GST Suvidha Provider (GSP) on the government portal:

  1. Log in to the official government e-Invoice Portal using your credentials.
  2. Navigate to the dashboard and go to API Registration > User Credentials > Create API User.
  3. Verify the identity using the OTP sent to the registered mobile number.
  4. Under API User Registration, select Through GSP.
  5. Select Tally (India) Private Limited from the GSP dropdown.
  6. Create a unique API Username and Password. Save these credentials to log in from TallyPrime.

Enabling Statutory Features in TallyPrime

Once your API credentials are created, configure the compliance settings in TallyPrime:

  1. Open your company file in TallyPrime and press F11 (Features).
  2. Ensure Enable Goods and Services Tax (GST) is set to Yes. Press Enter to view the configuration screen.
  3. Set e-Invoicing applicable to Yes.
  4. Enter the applicable date, billing location, and session timeout period (the portal allows up to 6 hours of session caching).
  5. Set e-Way Bill applicable to Yes if your business handles goods logistics.

Recording Sales & Generating IRN Details

To generate an e-invoice, the sales voucher must contain complete and accurate customer, transport, and item details:

  1. Go to Gateway of Tally > Vouchers > F8 (Sales). Choose the B2B Sales voucher type.
  2. Select the party ledger, verifying that the customer's billing address, PIN code, and active GSTIN are correct.
  3. Select the stock items, ensuring correct HSN codes and tax allocations (CGST, SGST, or IGST) are calculated.
  4. If the invoice value exceeds the e-way bill threshold, enter the vehicle details, transporter ID, distance, and dispatch pin code in the statutory details screen.
  5. Save the voucher. TallyPrime will prompt: "Do you want to generate e-Invoice?" Click Yes.
  6. Enter your API username and password. TallyPrime connects to the portal, transmits the data, and retrieves the 64-character IRN, Acknowledgement Number, and signed QR code, saving them directly in the voucher.

Printing the e-Invoice QR Code Layout

The government requires the signed QR code and IRN string to be printed on the invoice copy shared with customers. In TallyPrime, click Print (Ctrl+P) > Current, then select Configure. Ensure that Show e-Invoice IRN and QR Code is set to Yes. The QR code will print in the top right corner of the invoice layout automatically.

Troubleshooting Common Integration Errors

If the portal rejects the voucher upload, TallyPrime displays a schema validation warning. Here is how to resolve common errors:

  • Invalid PIN Code / State Code Mismatch: The customer's billing PIN code must match the state code in their GSTIN. Check the party ledger and update the state or PIN code before retrying.
  • HSN Validation Mismatch: Ensure that the stock item HSN code has 4, 6, or 8 digits. Check the HSN code validity on the GST portal to prevent rejection.
  • Direct Tax Calculation Discrepancies: The sum of item-wise CGST/SGST details must match the total tax ledger values down to two decimal places. Avoid manual overrides on tax calculations to keep transactions clean.

Summary

Automating e-invoicing and e-way bill generation within TallyPrime reduces manual transcription steps, helps ensure statutory compliance, and simplifies invoice printing workflows.

A
Akib HusainExpert Reviewer

Founder & Chief Architect of TrulyInvoice

Last Verified: June 29, 2026
TallyPrime FY 2026-27 (v4.0+)
Ready to save time?

Stop Manual Voucher Entry.

TrulyInvoice automates your complete invoice workflow and syncs directly to Tally Prime.

No credit card · 14-day free trial

01

Upload Invoice

Drag & drop PDFs, scans, or photos.

02

AI Extraction

Line items, tax, and ledgers mapped.

03

1-Click Review

Verify extracted details on dashboard.

04

Direct Sync

Vouchers created instantly in Tally Prime.

Chat with us