India GST EInvoice IRN
India GST e-invoicing. Generates the Invoice Reference Number (IRN) for invoices of buyers with a GSTIN through the NIC e-invoice portal (IRP) API, or locally in mock mode, stores the response with a signed QR code, optionally generates an e-way bill, and adds the IRN and QR code to the invoice PDF.
$30 one-time licence
What it does
India GST e-invoicing. Generates the Invoice Reference Number (IRN) for invoices of buyers with a GSTIN through the NIC e-invoice portal (IRP) API, or locally in mock mode, stores the response with a signed QR code, optionally generates an e-way bill, and adds the IRN and QR code to the invoice PDF.
This tool generates the GST Invoice Reference Number (IRN) for invoices to business buyers with a GSTIN, through the NIC e-invoice portal API in sandbox or production, or in mock mode. Generation can run automatically when an invoice is created, with retries. Checkout shipping and billing forms get a GSTIN field, and products get an HSN Code attribute with a default. The signed QR code and IRN print on the invoice PDF, and the admin invoice view shows an e-invoice panel with the payload. Under Sales > Operations > GST e-Invoices the team sees every record, generates in bulk, cancels an IRN within 24 hours and creates e-way bills by IRN. A GSTR-1 style CSV export lists B2B invoices and a B2C summary. Merchants enter seller details, API credentials, default HSN, shipping SAC and whether B2C is skipped. Indian B2B sellers are typical users.
Features
- IRN generation in three modes: Mock (deterministic IRNs, no API calls), Sandbox and Production (NIC IRP API)
- Optional automatic generation: when an invoice is created for a buyer with a GSTIN, generation is queued on the message queue topic
- Buyer GSTIN: a address attribute is added to quote and order addresses, the checkout shipping and billing forms and the customer address form
- Product attribute (varchar); the configured default HSN is used when empty
- IRN cancellation, retrieval of an existing IRN by document, and e-way bill generation by IRN
- Signed QR code and IRN on the invoice PDF; e-invoice panel and payload viewer in the admin invoice view
- Admin grid of e-invoices with mass "generate"
- Cron retry of failed and stale pending records (max 5 attempts per record)
- GSTR-1 style CSV export (B2B invoices and a B2C summary)
Where you find it in the admin
- Sales > Operations > GST e-Invoices
Good to know
This module supports GST e-invoicing compliance. It does not certify compliance and is not tax or legal advice. Verify HSN/SAC codes, tax rates, seller details and IRP credentials with your tax advisor before going live.
Screenshots

Installation
After purchase you get the package and the PDF user guide. Install it with Composer, or ask us to install it for you:
composer require modvanta/module-gst-einvoice
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flushIndia GST EInvoice IRN: questions
Which Magento versions does India GST EInvoice IRN support?
Magento Open Source and Adobe Commerce 2.4 (developed and tested on 2.4.9), with PHP 8.1 to 8.5 and Luma-based themes. If your store runs Hyva or a headless front end, tell us first and we check it before you buy.
How much does India GST EInvoice IRN cost?
$30 as a one-time payment for one Magento installation. You get the full source code and a PDF user guide. There is no yearly fee.
How do I install India GST EInvoice IRN?
With Composer: composer require modvanta/module-gst-einvoice, then bin/magento setup:upgrade. We can also install and configure it on your store.
More accounting & finance extensions
India GST EWay Bill
India GST e-way bills. Builds Part A and Part B from an invoice (and its shipment), checks the threshold, and generates through a mock or the NIC e-way bill API (via a GSP), or by IRN when...
$25India GST TCS & TDS
India marketplace taxes stores that act as an e-commerce operator for other sellers: GST TCS under section 52 of the CGST Act, 2017 and income-tax TDS under section 194-O.
$25Net Terms Pay On Account
Let approved business customers order now and pay later. Each customer has a credit account with a limit and payment terms, and pays by invoice with a due date.
$30Order Automation Rules
Rule engine for post-order automation: "when an order is placed / invoiced / shipped / changes status / N hours after..., and the order matches these conditions, do these actions".
$30