Back to Blog|Tally Setup Docs

How to Generate E-Invoices in Tally Prime: Complete Guide

June 27, 20267 min readAkib Husain

In India, the government mandates electronic invoicing (e-invoicing) for businesses whose aggregate turnover in any preceding financial year (from 2017-18 onwards) exceeds the statutory limit (currently ₹5 Crore). Tally Prime features GSP (GST Suvidha Provider) integration, enabling you to generate Invoice Reference Numbers (IRN) and QR codes directly during sales voucher entry.

Step 1: Register on the E-Invoice Portal

Before enabling e-invoicing in Tally, you must create API credentials on the government portal:

  1. Go to the official portal: einvoice1.gst.gov.in.
  2. Log in using your corporate credentials.
  3. Go to API Integration > User Credentials > Create API User.
  4. Select Through GSP. Select **Tally India Pvt Ltd** as your GSP partner.
  5. Create a unique API Username and Password. Save these credentials.

Step 2: Enable E-Invoicing in Tally Prime

Configure Tally to activate e-invoice fields:

  1. Open Tally Prime and press F11 (Features).
  2. Select Enable Goods and Services Tax (GST) and press Enter.
  3. On the GST details page, scroll down to the e-invoicing section.
  4. Set e-Invoicing Applicable to Yes.
  5. Enter the **Applicable From** date and your business location (Place).
  6. Set Send e-Way Bill details with e-Invoice to Yes if you also need to generate e-way bills. Save the settings.

Step 3: Generating the IRN & QR Code

Once configured, generating an e-invoice takes a single click:

  1. Go to Gateway of Tally > Vouchers > F8 (Sales).
  2. Draft your sales voucher, selecting the party ledger, stock items, quantity, rate, and tax ledgers.
  3. When you click Save (Ctrl+A), Tally will prompt: Provide e-Invoicing Details? Select Yes.
  4. Enter the place of delivery, distance (for e-way bill), and vehicle details if applicable.
  5. Tally will prompt: Do you want to generate e-Invoice? Select Yes.
  6. Enter the API username and password you created in Step 1. Tally will connect to the portal, validate the details, and print the QR code and IRN directly on the tax invoice.

Common E-Invoicing Errors & Fixes

Error DescriptionRoot CauseHow to Fix
Invalid PIN CodeMismatched state code and PIN code in party ledgerVerify the customer's billing address and ensure the correct state is selected.
Duplicate IRNThe invoice number has already been registered on the GST portalEnsure your sales voucher number is unique. Cancel the duplicate on the portal within 24 hours if needed.
Missing HSN CodeStock items do not contain valid HSN numbersOpen the stock item master and specify the correct 6-digit or 8-digit HSN code.

Frequently Asked Questions

Q: Can I cancel an e-invoice generated in Tally?

A: Yes, you can cancel it directly from Tally within 24 hours of generation. Go to the invoice voucher, press Alt+K > Cancel e-Invoice. After 24 hours, you must issue a credit note to reverse the transaction.

Q: Does TrulyInvoice support e-invoicing?

A: TrulyInvoice parses client sales registers and ensures that GSTINs, state codes, and HSN codes are valid before the transactions are synchronized to Tally, reducing API validation errors.

Q: What is TrulyInvoice's flat pricing?

A: TrulyInvoice charges a flat rate of plans starting at ₹399/month for unlimited statement and invoice synchronization, enabling automated data entry directly to Tally Prime.

Sync Invoices and Statements Directly to Tally Prime

Stop spending hours on manual data entry. Simply upload purchase/sales invoices and bank statements, review mapped items, and sync transaction entries directly to Tally Prime. Get started at just plans starting at ₹399/month for unlimited sync.

Start Free Trial
A
Akib HusainExpert Reviewer

Founder & Chief Architect of TrulyInvoice

Last Verified: June 27, 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