e-Invoicing Setup Aur IRN Generation

Learning Objectives

Is practical ke end tak student:

  • E-Invoice ka concept samjhega.
  • E-Invoice aur normal GST Invoice ka difference samjhega.
  • IRP (Invoice Registration Portal) ka role samjhega.
  • IRN, QR Code aur Digital Signature ka concept samjhega.
  • E-Invoice applicability identify kar payega.
  • TallyPrime mein e-Invoice configuration kar payega.
  • Masters ko e-Invoice ke liye configure kar payega.
  • Sales invoice generate kar payega.
  • IRN generate kar payega.
  • E-Invoice print format samjhega.
  • Cancelled invoice ka treatment samjhega.
  • E-Invoice reports verify kar payega.

Core Concept: E-Invoice, IRP & Components

E-Invoice (Electronic Invoicing): B2B sales invoices aur credit/debit notes ke data ko Invoice Registration Portal (IRP) par electronically transmit karke digital authentication, 64-character IRN, aur digitally signed QR Code prapt karne ka standardized process hai.

Important Rule:
E-Invoice ka matlab sirf PDF ya electronic billing nahi hai; iska matlab government IRP portal se invoice data ka online authentication aur unique IRN generation hai.

Core Components of an E-Invoice

  • IRN (Invoice Reference Number): 64-character ka unique cryptographic hash value jo IRP dwara generate hota hai.
  • Digitally Signed QR Code: IRP dwara return kiya gaya encrypted 2D barcode jisme Supplier/Buyer GSTIN, Invoice No., Date, Taxable Value, Total Tax, HSN, aur IRN embedded hota hai.
  • Digital Signature: IRP ka cryptographic authentication proof jo document validity establish karta hai.
  • Ack N& Ack Date: IRP portal par invoice register hone ka statutory timestamp.

Normal Invoice vs E-Invoice Comparison

Particular Normal Invoice E-Invoice
Created By Business Accounting Software Business Accounting Software
GST IRP Validation No Yes (Online API validation)
IRN (64-character hash) No Yes (Mandatory)
Signed QR Code No (or static UPI QR) Yes (IRP Digitally Signed QR)
Applicability All Registered/Unregistered dealers Turnover threshold cross karne wale B2B businesses

Company Setup & E-Invoice Feature Activation

Company Setup

  • Company: ABC Traders (Maharashtra) | Registration: Regular | FY: 2026–27

Enabling E-Invoice in TallyPrime:

  1. Press F11 (Features) → Option ko Yes karein: Enable Goods and Services Tax (GST) to Yes.
  2. Inside GST Details screen:
    • Set e-Invoicing applicable to Yes.
    • Applicable from: 01-Apr-2026.
    • Bill from Place: Mumbai.
    • Default period for e-Invoice report: 3 Days (or as required).
    • Send e-Way Bill details with e-Invoice: Yes (if applicable).
  3. Poori screen accept karne ke liye press karein Ctrl + A (Save).

Mandatory Masters Configuration

Customer Master (Sundry Debtors):

  • Local B2B: Mumbai Retail Pvt Ltd — State: Maharashtra | Registration Type: Regular | Valid 15-digit GSTIN & Pin Code.
  • Interstate B2B: Gujarat Electronics Pvt Ltd — State: Gujarat | Registration Type: Regular | Valid 15-digit GSTIN & Pin Code.
  • Interstate B2B: Delhi Electronics — State: Delhi | Registration Type: Regular | Valid 15-digit GSTIN & Pin Code.

Stock Item Master:

Stock Item Name Unit of Measure (UQC) HSN Code GST Rate Taxability
Laptop NOS-NUMBERS 8471 18% Taxable
Printer NOS-NUMBERS 8443 18% Taxable
Monitor NOS-NUMBERS 8528 18% Taxable

Practical Walkthrough: E-Invoice Generation in TallyPrime

Scenario 1: Interstate B2B Sales (Gujarat Electronics Pvt Ltd)

01-Apr-2026: Sold 10 Nos Laptops @ ₹50,000 = Taxable ₹5,00,000 + 18% IGST (₹90,000) = Invoice Total ₹5,90,000.

  1. Sabse pehle Gateway of Tally par jayein → Vouchers → Press F8 (Sales).
  2. Select Party: Gujarat Electronics Pvt Ltd → Sales Ledger: Sales - 18%.
  3. Select Item: Laptop (10 Nos @ ₹50,000) → Select IGST (₹90,000).
  4. Set Provide e-Invoice details: Yes (Verify Bill-to and Ship-to details).
  5. Save voucher → Prompt appears: Generate e-Invoice? Yes/No → Select Yes.
  6. TallyPrime securely exchanges JSON payload with IRP via API credentials and fetches the 64-character IRN, Ack No., and QR Code.

Scenario 2: Local B2B Sales (Mumbai Retail Pvt Ltd)

Sold goods worth ₹5,00,000 + 18% GST (CGST ₹45,000 + SGST ₹45,000) = Total ₹5,90,000.

  • Process invoice through F8 (Sales) → Auto-generate IRN → Preview invoice to confirm embedded dynamic QR code and IRN print headers.

Scenario 3: High-Value Interstate Sales (Delhi Electronics)

Sold goods worth ₹10,00,000 + 18% IGST (₹1,80,000) = Total ₹11,80,000 → Generated simultaneous E-Invoice + E-Way Bill.


E-Invoice Cancellation & Error Handling

Cancellation Protocol:

  • Time Window: E-Invoice ko IRP portal par generation ke 24 ghante ke andar cancel kiya ja sakta hai.
  • No Re-generation on Same Invoice No.: Ek baar cancel hone ke baad same invoice number par new IRN generate nahi ho saktNew invoice number ke saath fresh entry karni padti hai.
  • TallyPrime Steps: Open e-Invoice Report → Select voucher → Press F10 (Cancel IRN) → Select cancellation reason (e.g., Wrong Customer / Data Entry Error) → Send update to IRP.

Common Validation Errors & Troubleshooting:

Error Description Root Cause Resolution in TallyPrime
Invalid GSTIN / Inactive GSTIN Buyer GSTIN mistyped or cancelled Verify GSTIN on portal and alter Party Ledger
Missing HSN Code / Invalid UQC Stock item master incomplete Enter 4/6/8-digit HSN and select standard UQC (e.g., NOS)
Pin Code Mismatch with State Pin code does not belong to party state Correct dispatch/delivery pin code in address details
Duplicate IRN Generated Same invoice number submitted again Change invoice numbering prefix/series

Complete Practice Sets

Practice Set — Level 1 (Sequential Lab)

Invoice Date Customer Name Destination State Taxable Value (₹) Applicable GST E-Invoice Action
01-Apr Mumbai Retail Pvt Ltd Maharashtra (Local) 3,00,000 CGST ₹27,000 + SGST ₹27,000 Generate IRN & Print QR
05-Apr Delhi Electronics Delhi (Interstate) 5,00,000 IGST ₹90,000 Generate IRN & Print QR
01-Apr Gujarat Traders Gujarat (Interstate) 8,00,000 IGST ₹1,44,000 Generate IRN & E-Way Bill

Level 2 Simulation Tasks:

  • Configure 50 B2B sales invoices with multi-tier tax rates (18%, 12%, 5%).
  • Perform bulk e-Invoice generation using Alt + Z (Exchange → Send for e-Invoice).
  • Identify failed vouchers in the e-Invoice Exception Report, resolve missing data, and send for re-generation.
  • Execute cancellation for 1 erroneous invoice within the 24-hour validity window.

Verification Reports, Common Mistakes & FAQs

Verification Reports in TallyPrime:

  • e-Invoice Report (Alt + G → e-Invoice): Overview of IRN Generated, Pending for Generation, Rejected by IRP, and Cancelled.
  • e-Invoice Exception Report: Real-time listing of master-level errors preventing IRN creation.
  • Sales Register & Print Preview: Confirm that the 64-character IRN and 2D QR Code render on the printed tax invoice document.

Common Mistakes:

  • Issuing invoices to customers without printing the authenticated IRP QR code and IRN.
  • Attempting to manually edit an invoice in Tally after an IRN has already been generated.
  • Using dummy/incorrect HSN codes or non-standard Units of Measure.
  • Confusing E-Invoice generation with monthly GST return filing.

Frequently Asked Questions:

  • Q: IRN ka full form kya hai aur iski length kitni hoti hai?
    A: Invoice Reference Number — yeh 64-character ka unique alphanumeric hash code hota hai.
  • Q: E-Invoice generate hone ke baad invoice cancel karne ki time limit kya hai?
    A: IRP portal par invoice ko generation ke 24 ghante ke andar cancel kiya ja sakta hai.
  • Q: Kya B2C (unregistered consumers) transactions ke liye E-Invoice mandatory hai?
    A: Nahi, standard E-Invoice reporting provisions sirf B2B supplies, exports, aur commercial B2B credit/debit notes par apply hote hain.

Quick Revision & Completion Checklist

E-Invoice Golden Workflow:
Sales Voucher Creation (F8) → Data Validation → Send Payload to IRP (Alt+Z) → Receive IRN & Signed QR Code → Print Tax Invoice with QR Header → Reconcile e-Invoice Report

Completion Checklist:

  • E-Invoice feature activated and IRP credentials setup in TallyPrime
  • Party GSTINs, Pin Codes, and Stock Item HSN codes configured
  • Local and Interstate B2B sales invoices recorded
  • Real-time IRN and QR Code generation executed
  • IRN cancellation workflow and error handling practiced
  • e-Invoice Reports and Exception Logs reconciled