Mon – Sat: 9:00 AM – 7:00 PM IST
iDempiere

iDempiere GST E-Invoicing in India: IRN, GSTR-1 & E-Way Bill Automation Guide

How we automate GST e-invoicing, IRN generation, e-way bills, and GSTR-1 filing inside iDempiere ERP for Indian businesses — with real integration patterns for the GSTN Invoice Registration Portal and leading GSPs.

By SCM Software Lab Published 2026-04-23 9 min read iDempiere
iDempiere GST India E-Invoice Compliance
0
Turnover threshold in ₹ for e-invoicing
0
Days to report an invoice (AATO ≥ ₹10 cr)
0
Of tax due, or ₹10,000 — penalty per missing IRN
0
Document types in scope: invoice, credit, debit
On This Page

Everything in this guide

Grouped by the question each section answers. Jump straight to the part you need.

The Compliance Landscape

GST e-invoicing overview

Under the Goods and Services Tax regime, Indian businesses generating B2B invoices above the prescribed turnover threshold must generate a unique Invoice Reference Number (IRN) and a QR code from the GSTN Invoice Registration Portal (IRP) before sending the invoice to the customer. The IRN acts as the authoritative tax receipt, and its real-time validation has made manual GST invoicing obsolete for mid-to-large businesses.

Integrating this flow directly into iDempiere ERP eliminates double-keying, removes format-mismatch errors, and ensures 100% GSTR-1 reconciliation at month-end.

Who Must Comply

E-invoicing thresholds & applicability

E-invoicing is mandatory for taxpayers whose aggregate annual turnover has exceeded ₹5 crore in any financial year from 2017–18 onwards. The threshold has come down in steps since 2020 — once you cross it you stay in scope, even if turnover later falls back. It covers:

  • All B2B invoices, credit notes, and debit notes
  • Export invoices (with / without IGST)
  • Reverse charge supplies

B2C invoices are exempt from IRN generation but must carry a dynamic QR code for consumer verification where applicable.

The Part That Costs Money

Deadlines and penalties

Applicability decides whether you are in scope. These decide what non-compliance actually costs.

ObligationWho it applies toWhat happens if you miss it
Generate an IRN for every B2B supplyAATO above ₹5 crore in any FY from 2017–18Treated as non-issuance of an invoice. 100% of the tax due or ₹10,000 per invoice, whichever is higher.
Report the invoice within 30 daysAATO of ₹10 crore or more, since 1 April 2025The portal refuses the document. No IRN is issued and the invoice is not valid for GST.
Issue a correct, valid invoiceAll taxpayers in scope₹25,000 per incorrect invoice.
Carry the signed QR code on the printed invoiceAll taxpayers in scopeThe document is not a valid tax invoice, and your customer’s input tax credit is at risk.
E-way bill for goods movementConsignments above the prescribed valueDetention of the goods and the vehicle, plus penalty.

Why the 30-day rule changes your process

Before it, a backlog was an inconvenience — you could always register the invoice later. Since 1 April 2025 a document older than 30 days simply cannot be reported, and there is no appeal to the portal. That converts a filing-time reconciliation habit into a daily operational requirement, and it is the single strongest argument for submitting at the moment the invoice is completed in the ERP rather than in a batch at month-end.

GST thresholds and rules are revised periodically. Confirm the current position against the GST portal or your tax advisor before relying on any figure here for a filing decision.

How We Build It

iDempiere GST module architecture

We build GST compliance as a custom OSGi plugin with the following components:

  • Tax configuration master — GST rate slabs (0%, 5%, 12%, 18%, 28%), HSN/SAC mapping per product, place-of-supply rules
  • GSTIN validation — real-time API lookup against GSTN registry at customer master creation
  • Invoice enrichment — auto-populates GSTIN, state code, reverse charge flags, ITC eligibility
  • IRN submission service — posts the invoice JSON to the IRP via GSP or direct API
  • Response handler — stores IRN, acknowledgement number, QR code, signed JSON, and error responses
  • Print templates — tax invoices with QR code, HSN summary, and statutory declarations
Invoice to IRN

IRN generation flow

  1. Sales user creates a C_Invoice in iDempiere; Complete action validates tax rules and GSTIN
  2. iDempiere builds the e-invoice schema v1.1 JSON payload with all mandatory fields
  3. Payload is digitally signed and submitted to the IRP through our GSP (ClearTax, Masters India, or similar)
  4. IRP responds with IRN (64-char hash), Acknowledgement Number, signed QR code, and signed invoice
  5. Response fields are stored against the invoice, tax invoice PDF is generated with the QR code, and customer receives the invoice

End-to-end latency: ~2–4 seconds per invoice in production. Bulk mode handles 100+ invoices/minute for high-volume operations.

Goods on the Move

E-way bill automation

For shipments above INR 50,000, an e-way bill is mandatory. Our iDempiere integration auto-generates the e-way bill at shipment creation (M_InOut) by calling the e-way bill portal with invoice details, vehicle number, transporter ID, and distance. The returned EWB number is stored against the shipment and printed on the delivery challan.

Vehicle number updates (Part B) during transit are captured via a mobile app used by the driver or transport coordinator and pushed back to iDempiere.

Month-End Made Easy

GSTR-1 reporting & reconciliation

Because every invoice is already e-invoiced, GSTR-1 preparation becomes a reconciliation exercise rather than data entry. Monthly workflow:

  • Pull all B2B / B2C / exports / credit notes from iDempiere for the filing period
  • Cross-check IRN status (all must be ACK'd; any REJECTED are investigated and refiled)
  • Generate JSON in GSTR-1 schema and upload to GST Portal via our GSP bridge
  • Reconcile with GSTR-2B / 2A for input tax credit matching
Two Routes to the IRP

GSP vs direct IRP integration

OptionSetupCostBest for
GSP (ClearTax / Masters India / Cygnet)Fast (1–2 weeks)~INR 1–3 per invoiceMost businesses
Direct IRP APISlower (GST certification required)FreeHigh-volume (>100k invoices/month)
Field Notes

Common errors & how to prevent them

Almost every rejection traces back to one of these, and each is cheaper to prevent in master data than to fix at filing time.

Invalid or stale GSTIN

Validate against the registry when the customer master is created, and re-check periodically. A registration that has been cancelled since you onboarded the customer will fail at submission, not at order entry.

Duplicate submission

A retry that is not idempotent produces a second submission for the same document. A local hash check plus an idempotency flag before the call prevents it, which matters most during an outage when retries pile up.

HSN or SAC mismatched to the rate

Derive the tax rate from the HSN on the invoice line rather than letting a user choose it. Where the two disagree, the portal is the one that decides, and it decides after you have shipped.

Wrong place of supply

The ship-to state decides IGST versus CGST plus SGST. Getting it wrong produces a technically valid invoice with the wrong tax split, which is worse than a rejection because nobody notices until reconciliation.

Clock drift on the server

The portal rejects future-dated timestamps. An unsynchronised application server produces intermittent, hard-to-explain failures; NTP sync removes an entire class of support ticket.

Letting documents age past 30 days

For taxpayers at or above ₹10 crore turnover this is now terminal for the document. Submit on invoice completion and alert on anything unacknowledged after a few days rather than a few weeks.

Stay Audit-Ready

Audit trail & penalty protection

Every IRN submission, response, and subsequent amendment is logged in an immutable audit table. This is critical during GST audits — the department can ask for any invoice's submission history, and you need to show the exact payload, timestamp, and response. That audit trail matters because the penalties are not nominal. Issuing a supply without a valid IRN is treated as non-issuance of an invoice under section 122 of the CGST Act, and attracts 100% of the tax due or ₹10,000 per invoice, whichever is higher — a floor, not a cap. An incorrect or invalid invoice attracts ₹25,000. Your customer also cannot claim input tax credit against an invoice with no valid IRN, which is usually how the problem reaches you.

Need iDempiere GST e-invoicing for your Indian business?

We offer a ready-to-deploy GST compliance pack for iDempiere — deployed in 3–5 weeks including GSP onboarding, UAT, and go-live support.

Get a GST Compliance Quote

Frequently Asked

GST e-invoicing questions

What finance teams ask before an e-invoicing project starts.

Any taxpayer whose aggregate annual turnover has crossed Rs 5 crore in any financial year from 2017-18 onwards. Once you cross the threshold you remain in scope even if turnover later falls below it. It applies to B2B supplies, exports, credit notes and debit notes; B2C supplies are outside IRN generation, though a dynamic QR code applies separately to larger B2C suppliers.
From 1 April 2025, taxpayers with an aggregate annual turnover of Rs 10 crore or more must report an invoice to the Invoice Registration Portal within 30 days of the invoice date. Past that window the portal refuses the document: no IRN is issued and the invoice is not valid for GST. This is the rule that most often turns a back-office delay into a real financial problem, and it is the main reason to submit at the point of invoice completion rather than in a month-end batch.
Issuing a supply without a valid IRN is treated as non-issuance of an invoice under section 122 of the CGST Act. The penalty is 100% of the tax due or Rs 10,000 per invoice, whichever is higher - so it is a minimum, not a ceiling. An incorrect or invalid invoice attracts Rs 25,000. Your customer separately loses the input tax credit, which is usually how you find out.
A GSP is the right answer for most businesses: onboarding takes a week or two, the provider absorbs schema and portal changes, and the per-invoice cost is small. Direct IRP integration removes that per-invoice fee but requires GST certification and puts the burden of tracking every portal change on you. It generally only pays at very high invoice volumes.
Yes, but the printed tax invoice must carry the signed QR code returned by the portal, along with the IRN and acknowledgement details. We build that into the iDempiere print format so there is no separate step and no chance of a document leaving without it.
They are separate obligations. The e-invoice registers the document for tax; the e-way bill authorises the physical movement of goods above the prescribed consignment value. Where both apply, the e-way bill can be generated from the same submission, and Part B vehicle details are updated at dispatch. Both end up stored against the same iDempiere shipment.
Submissions go through a queue with retries and an idempotency check, so a portal outage delays rather than duplicates. Rejections are stored with the exact error against the invoice, so the finance team sees which document failed and why rather than discovering a gap at filing time. Given the 30-day limit, a failed submission needs to be visible the same day, not at month-end.
It makes it a reconciliation rather than a data-entry exercise. Because every B2B document has already been registered, the return is largely pre-populated from what the portal already holds. The work that remains is checking that every document in your books has an acknowledged IRN, investigating any that were rejected, and reconciling input credit against GSTR-2B.
More on iDempiere

Continue across our iDempiere pages

Six pages cover iDempiere here, each answering a different question — the practice, choosing a partner, what it costs, and the three integrations clients ask for most. Whichever you landed on, the rest are one click away.

Ready to move your project forward?

We offer a Free Proof of Concept — a working build tailored to your business in 2–3 weeks, with zero upfront cost. ERP, SAP, Flutter, or integrations.