Blog/GST & Compliance/E-Invoice (IRN) Guide
GST & Compliance6 min read·12 May 2026

How to Generate E-Invoice (IRN) Automatically for Your B2B Transactions

E-Invoice is mandatory for eligible taxpayers. Here's exactly how ABSS Books generates the Invoice Reference Number (IRN) automatically — and what you need to configure first.

P

Priya Sharma

GST & Compliance Writer, ABSS

E-Invoice and GST Compliance
Mandatory for turnover above ₹5 crore from Aug 2023

If your business has a turnover above ₹5 crore, E-Invoice is not optional — it's mandatory for every B2B transaction. The problem is that most accounting software treats it as an afterthought: a separate portal login, manual JSON uploads, or an expensive CA who does it at month-end.

ABSS Books generates the Invoice Reference Number (IRN) automatically when you create a qualifying invoice — without leaving the app, without extra steps, without a separate login. This guide explains exactly how it works and what you need to set up.

TL;DR

  • E-Invoice (IRN) is mandatory for B2B invoices if your annual turnover > ₹5 crore
  • ABSS Books auto-generates IRN when you save a qualifying invoice
  • The QR code is embedded in your PDF automatically
  • Setup requires linking your GSTIN and IRP credentials — one-time config

What is E-Invoice and Who Needs It?

E-Invoice (electronic invoicing) under the GST framework means that certain B2B invoices must be registered on the Invoice Registration Portal (IRP) before they can be issued. The IRP validates the invoice and returns a unique Invoice Reference Number (IRN), a digitally signed QR code, and a signed invoice JSON.

The IRN must be present on your invoice PDF. Without it, the invoice is invalid for your buyer's input tax credit (ITC) claim — which means they'll reject the invoice or refuse payment until you fix it.

Annual TurnoverE-Invoice Mandatory From
Above ₹500 croreOctober 2020
₹100–500 croreJanuary 2021
₹50–100 croreApril 2021
₹20–50 croreApril 2022
₹10–20 croreOctober 2022
₹5–10 croreAugust 2023
Below ₹5 croreNot yet mandatory

One-Time Setup in ABSS Books

Before ABSS Books can auto-generate IRNs, you need to link your GSTIN to the Invoice Registration Portal (IRP). This is a one-time configuration.

01

Go to Settings → GST Configuration

In ABSS Books, navigate to Settings and open the GST Configuration panel. Enter your GSTIN and verify it — ABSS auto-fills your legal name and address from the GST portal.

02

Enable E-Invoice and enter IRP credentials

Toggle on 'E-Invoice Integration'. Enter your IRP username and password (the credentials you created on einvoice1.gst.gov.in). ABSS stores these encrypted — never in plain text.

03

Test with a draft invoice

Create a test B2B invoice and save it. ABSS will attempt IRN generation automatically. If successful, you'll see the IRN and QR code appear on the invoice. If there's an error, ABSS shows the exact IRP error code.

04

You're live

From this point, every qualifying B2B invoice saved in ABSS Books automatically goes to the IRP, gets an IRN, and has the QR code embedded in the PDF. No manual steps required.

Which Invoices Get an IRN Automatically?

Not every invoice requires E-Invoice. ABSS Books checks the following conditions automatically before attempting IRN generation:

B2B invoices

Buyer has a GSTIN — always triggers IRN

B2C invoices (large)

Above ₹2.5 lakh for certain categories

Export invoices

LUT/bond exports also need IRN

B2C invoices (small)

Below ₹2.5 lakh — IRN not required

Credit notes & debit notes

Against eligible original invoices

Delivery challans

Not a tax invoice — no IRN required

Common Errors and How to Fix Them

ABSS Books surfaces the exact IRP error code when IRN generation fails. Here are the most common ones and what to do:

2150

Duplicate IRN

This invoice already has an IRN generated — check if you're creating a duplicate. The original IRN will appear in the invoice record.

2283

Buyer GSTIN not found

The GSTIN entered for your buyer is incorrect or inactive. Go to the Customer Master, update their GSTIN, and re-validate against the GST portal.

2176

HSN code missing or invalid

Every line item must have a valid HSN/SAC code. Open your Item Master, add the correct HSN code to the item, and re-save the invoice.

IRP server unavailable

IRP timeout

The IRP portal sometimes has downtime. ABSS Books queues the IRN request and retries automatically — you'll get a notification when it succeeds.

Get Started

Set Up E-Invoice in ABSS Books Today

One-time configuration. Auto-IRN generation on every qualifying invoice after that.

Read the Docs