Skip to content
Tutorials Center
My learning

Topics

Lesson 29 of 38 ยท GST and Taxation

E-Invoicing, E-Way Bills and ITC Reconciliation in Tally Prime

Understand e-invoices and IRN, e-way bills, and GSTR-2B reconciliation in Tally Prime, with runnable stand-ins that model IRN checks and ITC matching.

Beyond ordinary invoices and returns, three GST workflows are worth mastering: e-invoicing (invoices registered with the government to get an IRN), e-way bills (a document that travels with goods) and ITC reconciliation (matching purchases in your books with what suppliers filed). Tally Prime supports all three, and the first two need an internet connection to the government portals.

Tally is not runnable on this site, so the screens are described and the checks are shown with Python stand-ins. Thresholds and rules change; check the current notification for your turnover.

E-invoicing

Businesses above a notified annual turnover threshold must register each B2B invoice on the Invoice Registration Portal (IRP). The IRP returns:

  • an IRN (Invoice Reference Number, a 64-character hash of the supplier GSTIN, financial year, invoice number and document type),
  • a digitally signed QR code, and
  • an acknowledgement number and date.

The signed invoice is then printed with the QR code. A business that must e-invoice cannot issue a valid tax invoice without an IRN.

In Tally Prime

  1. Enable it: F11 > Statutory & Taxation > Enable e-Invoicing = Yes, then provide the applicable-from date (the transaction types differ by release).
  2. Set the e-invoicing details on the voucher type (Alter > Voucher Type): turn on the IRN option and, if you want, auto-generation.
  3. Enter a sales voucher as usual. Before saving, make sure the party has a registered GSTIN and the supply details are complete.
  4. Generate the IRN by exporting the e-invoice to the IRP (Alt+E > e-Invoice or the Generate IRN option, or the e-Invoice button on the voucher). Tally stores the IRN, ack number and QR on the voucher and prints them on the invoice.
  5. Cancellation is allowed only in a short window (usually 24 hours) and only if no e-way bill or return depends on it; later corrections use credit notes.
Python Stand-in: build the IRN input and hash it

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

This only illustrates why an IRN is unique per supplier, year, type and number. The real IRN is produced by the government portal and is not something you generate yourself.

E-way bills

An e-way bill is an electronic document generated before moving goods above a prescribed value (commonly 50,000 per consignment, with state-specific exceptions). It lists the supplier, the consignee, the goods, the HSN, the value and the transport details (vehicle number or transporter ID, distance). Its validity depends on distance.

In Tally Prime:

  1. Enable e-way bill in F11 > Statutory & Taxation and in the company GST details; set the applicable threshold and the details prompts.
  2. On the sales or delivery voucher choose Provide GST/e-way bill details: transporter, mode (road, rail, air, ship), vehicle number, distance and transaction type.
  3. Generate it with Alt+E (Export) to the e-way bill portal (or through the e-invoice, which can generate the e-way bill in one step if the details are filled in).
  4. Tally records the e-way bill number against the voucher and lets you print it. You can update the vehicle number or cancel within the allowed time.
Python Stand-in: is an e-way bill needed, and how long is it valid?

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The rule used here is a simplification: the threshold, exemptions and validity differ for special goods and cases. Use it for the idea only.

ITC reconciliation with GSTR-2B

You can claim input tax credit only for invoices that your supplier has actually reported. The GST portal provides GSTR-2B, a static statement per month listing those invoices. Reconciling means matching the invoices in your purchase books with GSTR-2B.

In Tally Prime: Gateway of Tally > Display More Reports > GST Reports > GSTR-2B Reconciliation (or Reconcile with GSTR-2B). Import the JSON from the portal (Import or the online fetch option), and Tally matches by supplier GSTIN and invoice number/date. It shows matched, partly matched (value or tax differs), not in books and not in portal items. For each you can accept the portal's value, correct your voucher or ask the supplier to fix their filing.

Python Stand-in: match purchase books with GSTR-2B

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Keeping the ITC records clean

  • Enter the supplier's invoice number and date exactly as printed.
  • Tag ineligible items before filing.
  • Reverse ITC when you do not pay a supplier within the time limit, or when goods are written off.
  • Keep a monthly note of unmatched items to chase suppliers.

Common mistakes

  1. Generating an IRN and then editing the invoice. Changes after IRN generation need cancellation (within the window) or a credit note.
  2. Moving goods without an e-way bill because the invoice value looked low (value includes tax and all lines of the consignment).
  3. Claiming ITC on purchases that are not in GSTR-2B.
  4. Typing supplier invoice numbers with extra spaces or zeros that do not match the portal.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What does the IRP return when it registers an e-invoice?

    The portal returns the Invoice Reference Number, the signed QR code and acknowledgement details.
  2. 2. An e-way bill is generated for:

    It accompanies goods in transit above the threshold (with exceptions).
  3. 3. In reconciliation, an invoice in your books but missing from GSTR-2B should be:

    ITC depends on the supplier reporting the invoice.
  4. 4. Why is an IRN identical for identical inputs?

    A hash function always produces the same output for the same input, which makes the IRN unique per document.

Summary

  • E-invoicing registers B2B invoices on the IRP, which returns an IRN and QR code.
  • E-way bills cover goods in transit above the threshold and need transport details.
  • Tally exports both to the government portals and stores the numbers on the voucher.
  • Reconcile purchases with GSTR-2B; claim ITC only on matched, eligible invoices.
  • Thresholds and rules change: always check the notification.

Next: Trial balance and financial statements