In the modern era of Indian business, compliance is no longer a year-end checklist—it is a real-time, invoice-by-invoice mandate. If your company's aggregate annual turnover has crossed ₹5 Crores in any preceding financial year, you are legally obligated to generate electronic invoices under the Goods and Services Tax (GST) framework. Doing this manually on the government portal for every single transaction is an administrative bottleneck. This is where tally einvoice capabilities come to the rescue. By leveraging the built-in, direct integration features of Tally Prime, you can generate, print, and manage e-invoices in a matter of seconds.
In this ultimate guide, we will break down exactly how to configure, generate, and troubleshoot an einvoice tally setup, ensuring your business operations remain smooth, automated, and fully compliant with the latest GST rules.
1. The Real-Time Compliance Revolution: Understanding e-Invoicing
Under the GST framework, e-invoicing is the process of uploading standard business-to-business (B2B) invoices to a government-designated Invoice Registration Portal (IRP). Once uploaded, the IRP validates the transaction details, signs it digitally, and assigns a unique 64-character Invoice Reference Number (IRN) along with a compliance-ready Quick Response (QR) code. This system prevents tax evasion, streamlines data pre-population in GST returns, and eliminates reconciliation discrepancies between buyers and sellers.
For businesses operating in India, generating an einvoice from tally is the gold standard for achieving compliance without disrupting daily logistics. Rather than manually typing details onto the GST portal or exporting massive spreadsheet files daily, Tally Prime connects directly to the IRP using your authorized API credentials. This means your billing department can seamlessly create e invoice in tally prime without ever leaving the core accounting interface.
While systems like eziway payroll handle salary packaging and employee management flawlessly for organizations running global or specialized divisions in countries like Australia, you still need a dedicated, country-specific compliance engine to manage local tax laws in India. For your Indian business units, utilizing a direct tally einvoice integration provides the localized regulatory muscle needed to keep transactions lawful and fluid. Whether you are managing complex international structures or a single domestic trading hub, automated systems are the key to scaling your enterprise securely.
2. Prerequisites & Portal Registration for Tally e-Invoicing
Before you attempt to configure or generate an e-invoice from Tally, you must complete a one-time registration process on the government's official e-Invoice Portal. This establishes Tally India Private Limited as your authorized GST Suvidha Provider (GSP), granting the software permission to securely upload your transactional data to the government's servers.
Step-by-Step Portal Configuration:
- Log In: Open your web browser and navigate to the official e-Invoice Portal (einvoice1.gst.gov.in). Log in with your admin credentials.
- Navigate to API Integration: On the main dashboard, look at the left-hand sidebar. Click on 'API Integration' and then select 'User Credentials'.
- Create API User: Click on the 'Create API User' button. You will receive a One-Time Password (OTP) on your registered mobile number. Enter the OTP to proceed.
- Select GSP Connection: You will be presented with a prompt asking how you want to integrate your software. Select the radio button labeled 'Through GSP'.
- Select Tally as GSP: In the dropdown menu for GSP selection, search for and select 'Tally India Private Limited'.
- Create Username and Password: Set a unique API Username and API Password. Keep these credentials safe! You will need to enter them into Tally Prime later to authorize the direct connection.
Note: Do not confuse your main portal login credentials with your API credentials. The API credentials are specifically generated for Tally Prime to communicate directly with the IRP.
3. Configuring Tally Prime for e-Invoicing & E-Way Bills
With your API credentials secured, it is time to enable the e-invoicing features inside Tally Prime. The software has been designed to make this configuration as painless as possible. Follow this clickpath to configure your system:
- From the Gateway of Tally, press F11 to open the Company Features screen.
- Locate the statutory settings and set Enable Goods and Services Tax (GST) to Yes.
- In the subsequent GST Details screen, scroll down to the e-Invoicing section.
- Change e-Invoicing applicable to Yes.
- Enter the Applicable from date (ensure this matches the legal date your business became liable under the GST threshold rules).
- Specify your Bill From Place (the primary city/location where your goods are dispatched or your services are rendered).
- Set the Default period for the validity of e-Invoice (typically set to 3 days, which is the standard IRP generation timeframe, though compliance dictates immediate generation).
Integrating the E-Way Bill Workflow
One of the biggest time-savers in Tally Prime is the ability to generate an e-way bill simultaneously with an e-invoice. This eliminates double entry entirely.
- In the same GST Details configuration screen, find the setting Send e-way bill details with e-invoice and toggle it to Yes.
- Ensure e-Way Bill applicable is also set to Yes, and input your local threshold limits (e.g., ₹50,000 for inter-state transport, or your specific state-defined limits for intra-state transport).
By linking these two systems, any transaction that requires both an e-invoice and an e-way bill can be completed in a single transmission. This means your eway bill tally workflows become completely automated, reducing transport delays.
4. How to Create an e-Invoice in Tally Prime (The Live Walkthrough)
Now that the technical setup is complete, let us look at the day-to-day workflow. This is how you create bill in tally that automatically converts into an authorized e-invoice.
Step 1: Record the Sales Voucher
- Go to Gateway of Tally > Vouchers > press F8 (Sales).
- Select your tax invoice voucher type.
- Choose the Party A/c Name. Ensure that the buyer's ledger is completely updated with their correct state, country, and 15-digit GSTIN.
- Select the Sales Ledger and choose the stock items being sold.
- Ensure your stock items have correct Harmonized System of Nomenclature (HSN) codes and Unit Quantity Codes (UQC) associated with them. Missing HSN data is the number one cause of failed uploads!
- Add the relevant tax ledgers (CGST & SGST for intra-state sales, or IGST for inter-state sales).
Step 2: Providing e-Invoice Details
Once you enter the tax values and press Enter, Tally Prime will detect if the transaction meets the criteria for e-invoicing. A prompt will appear at the bottom: Provide e-Invoice details?
- Select Yes.
- A sub-screen will open. Tally will automatically pre-populate the 'Bill to' and 'Ship to' fields based on your party ledger. Verify the information. Ensure the distance (in kilometers) is entered if you are also generating an e-way bill.
Step 3: Triggering the Upload
- Save the voucher (press Ctrl+A or press Enter on the 'Accept?' prompt).
- Instantly, Tally Prime will display a prompt: Do you want to generate e-Invoice?
- Click Yes.
- Tally will now ask for your e-Invoice Login Credentials (the API username and password you created on the e-invoice portal).
- Enter your credentials. Note: Tally Prime remembers these credentials for 6 hours as long as you keep the application open, meaning you do not have to type them for subsequent invoices in the same session.
- Tally Prime will instantly transmit the payload to the IRP. Within seconds, a confirmation message will display: e-Invoice generated successfully.
Step 4: Printing the Compliant Invoice
When you print the invoice (press Ctrl+P), Tally Prime automatically fetches the 64-character IRN, Ack No, Ack Date, and the dynamic QR code from the government portal and prints them directly on your tax invoice. Your bill is now completely GST compliant and ready to be handed over to your transporter or customer!
5. Mastering the E-Way Bill Entry in Tally Prime
Many businesses struggle with coordinating transport documentation alongside accounting. When you transport goods worth more than ₹50,000, you need an e-way bill. Recording the correct e way bill entry in tally is critical to avoiding heavy transit penalties.
When you configure Tally to send e-way bill details with the e-invoice, the process is streamlined. However, you can also generate an e-way bill on its own if the buyer is not registered for e-invoicing (such as business-to-consumer B2C transactions or transactions by exempt entities).
How to Record a Standalone E-Way Bill Entry in Tally:
- Create your sales voucher as normal.
- On the bottom of the ledger screen, select Yes for Provide e-Way Bill details?.
- Input the required transport details:
- Consignor / Consignee details (including PIN codes).
- Distance (in km): Tally has a built-in distance calculator redirect link, or you can check the distance on the e-way bill portal.
- Transporter Name & Transporter ID (if using a third-party logistics provider).
- Vehicle Number & Vehicle Type (Regular or Over-Dimensional Cargo) if transporting directly.
- Save the voucher. Tally Prime will ask if you want to generate the e-way bill. Select Yes and enter your GSP API credentials. The eway bill in tally is generated, and the e-way bill number is written directly into your voucher ledger for future GSTR-1 reporting.
By ensuring that the eway bill tally process is completed inside your ERP, you avoid compliance leaks and ensure your stock movements match your accounting records precisely.
6. Offline Generation, Cancellations, and Amendments
In the real world of business, systems are not always perfect. Internet connections fail, customers change their orders, and administrative mistakes are made. Tally Prime handles these situations elegantly.
Handling Offline e-Invoice Generation
If your office experiences an internet outage, you do not have to pause your dispatches. Tally Prime allows you to export your pending e-invoices as an offline JSON file.
- Go to Gateway of Tally > Import/Export > Export > e-Invoice.
- Select the pending vouchers and export them to a local folder as a JSON payload.
- Log in directly to the government's e-invoice portal via a backup network, go to the bulk upload tool, and upload the JSON file.
- Once validated, download the processed file from the portal and import it back into Tally Prime to update your transactions with the IRN and QR code details.
Cancelling an e-Invoice inside Tally Prime
If an invoice is entered incorrectly or a transaction is called off, you can cancel the e-invoice. However, the GST portal enforces a strict rule: You can only cancel an e-invoice within 24 hours of generation on the IRP. After 24 hours, you cannot cancel it on the portal; you must issue a Credit Note or Debit Note to adjust the tax liability.
To cancel an e-invoice directly from Tally:
- Go to Gateway of Tally > Display More Reports > GST Reports > e-Invoice.
- Navigate to the IRN Generated section.
- Select the invoice you wish to cancel and press Alt+X (Cancel IRN).
- Select the Reason for Cancellation (e.g., Duplicate, Order Cancelled, Data Entry Error) and type a brief remark.
- Press Enter. Tally will connect to the IRP and request cancellation. Once approved, the voucher status will update to 'Cancelled' in your books.
7. Troubleshooting Common Tally e-Invoice & E-Way Bill Errors
While Tally Prime makes the upload process direct, validation errors can occur if your master data is incomplete or formatted incorrectly. Here are the most common error codes and how to resolve them:
Error: 'Duplicate IRN (Code: 3012)'
- Why it happens: You are trying to upload an invoice number that has already been registered on the IRP. This often happens if you reset your voucher numbering or try to re-upload an already generated invoice.
- The Fix: Change the invoice number in Tally Prime, or mark the voucher as 'Manually Updated' if you have already generated the IRN on the portal directly.
Error: 'Invalid GSTIN (Code: 2150)'
- Why it happens: The buyer's GSTIN entered in the ledger is inactive, cancelled, or has a typo.
- The Fix: Verify the GSTIN using the Search Taxpayer tool on the main GST portal. Update the master ledger in Tally and retry.
Error: 'HSN code does not exist in GSN master'
- Why it happens: The HSN code assigned to your stock item is invalid, incomplete (fewer than 4, 6, or 8 digits), or does not match the standardized HSN directory.
- The Fix: Go to the Stock Item alteration screen in Tally, enter a valid 6-to-8-digit HSN code, and ensure the correct Unit Quantity Code (such as PCS, BOX, KGS) is selected.
Error: 'Pin Code does not match with State'
- Why it happens: The postal PIN code of the consignor or consignee does not match the state selected in their ledger address.
- The Fix: Open the Party Ledger or Company Address screen. Double-check the PIN code and ensure the state dropdown matches the geographic reality.
Frequently Asked Questions (FAQs)
Q1: Can I edit an e-invoice after generating the IRN?
No, you cannot edit an e-invoice once the IRN is generated. The details are permanently written to the government portal. If you need to make changes, you must cancel the e-invoice within 24 hours or issue a Debit/Credit Note to make adjustments.
Q2: Do I need separate login credentials for every user in Tally Prime?
No, the API user credentials created under your GSP registration on the e-invoice portal can be shared by all authorized Tally Prime users in your organization. This allows multiple data entry operators to generate e-invoices simultaneously.
Q3: How long does Tally Prime store my IRP login session?
Tally Prime retains your API session for 6 hours. After 6 hours of inactivity or closing the application, you will be prompted to re-enter your API credentials for security reasons.
Q4: Is e-invoicing mandatory for B2C invoices?
No, e-Invoicing is currently only mandatory for Business-to-Business (B2B) transactions, Business-to-Government (B2G) transactions, and Exports. B2C invoices do not require an IRN, but they may require a dynamic QR code if your turnover exceeds ₹500 Crores.
Q5: What is the difference between GSP and ASP in Tally?
Tally acts as both an ASP (Application Service Provider) and is integrated directly with registered GSPs (GST Suvidha Providers). This dual integration enables direct, seamless communication between the software and the government portals without requiring intermediate middleware.
Conclusion
Implementing an automated tally einvoice system is one of the smartest operational upgrades an Indian business can make. By taking the time to correctly register Tally as your GSP, configure your F11 company features, and clean up your master ledger data, you transform a potentially tedious compliance task into a seamless, one-click billing process. From simultaneously preparing an e way bill entry in tally to printing dynamic QR codes on customer receipts, Tally Prime ensures your accounting department stays fast, accurate, and completely audit-ready. Maintain clean books, stay updated on regulatory shifts, and let automation carry the compliance load!










