Skip to main content
Apragya AIFree quotation builderQuotation builderQuote builderno signup
GST integration

NIC e-Invoice Portal ERP Integration: IRN and e-Way Bills from the Invoice

For finance and billing teams that raise e-invoices and e-way bills every day and want them generated from the invoice, with rejections explained.

An accountant stamping an invoice sheet in a hosiery factory office

A NIC e-invoice portal ERP integration removes the upload step between raising an invoice and getting its IRN. Without it, someone exports a file, uploads it, waits, and copies the IRN and QR code back onto the invoice.

Apragya's NIC connector talks to NIC directly, not through a GST Suvidha Provider. It can generate an IRN, cancel an IRN, fetch an IRN, generate and cancel e-way bills, and look up GSTIN details. Credentials are stored encrypted in the connection.

Direct API access from NIC has its own eligibility and registration steps, so check the current conditions on the e-invoice portal before you plan.

Before and after connecting to NIC

From the invoice

  • IRN requested when the invoice is ready
  • IRN and signed QR saved on the invoice
  • Rejections explained in plain English
  • E-way bill generated from the same document

An example: a Ludhiana hosiery manufacturer

Take an illustrative 120-person manufacturer raising dozens of B2B invoices a day. One morning an invoice to a Kolkata buyer was rejected by NIC.

The rejected invoice, explained

Tax invoice, IRN request

  1. Token issued for this GSTIN, reused for six hours.

  2. Checked against NIC's GSTIN details.

  3. Did not match the buyer's state code.

  4. Error code translated into a plain sentence.

  5. Derived from the buyer's GSTIN; not auto-applied.

  6. Corrected, resubmitted and IRN received.

The fix was suggested only because the payload itself proved it.

The accountant read the explanation, accepted the corrected place of supply and resubmitted. The IRN and QR code landed on the invoice, and the e-way bill for the consignment was generated from the same document before the truck left.

A sealed invoice clipped to transport papers on a carton beside a small truck
Corrected, sealed and on its way, before the truck left the gate.

How the e-invoice API integration works

Step 1 of 5

Add credentials

Enter the NIC API details and the GSTIN the connection signs in as.

  1. Add credentials: Enter the NIC API details and the GSTIN the connection signs in as.
  2. Sandbox or live: The same connector uses NIC's sandbox host for testing.
  3. Generate the IRN: Request it from the invoice and store the IRN and signed QR.
  4. E-way bill: Generate or cancel the e-way bill for the same document.
  5. Failure triage: An agent explains rejections and suggests safe fixes for review.

Choosing IRN generation software that explains itself

Generating an IRN is the easy part. The time goes on rejections, which NIC reports by code and field position. Apragya translates those into sentences, and proposes a corrected value only where the invoice itself proves it, such as a place of supply that must match a GSTIN already on the document.

Manual upload against Apragya's NIC connector

FeaturePortal uploadApragya
IRN requestFile exported and uploadedFrom the invoice
QR code on the invoiceCopied by handSaved automatically
Rejection reasonsError codesPlain-English explanation
Suggested fixesNoneOnly where provable, never auto-applied
TestingSeparate sandbox stepsSame connector, sandbox flag

Checked against public information on 16 September 2026.

What sits around the connector

GST on every document

GSTIN validation, place of supply and HSN.

GSTR-1 ready

E-invoiced sales flow into the return.

GSTR-2B reconciliation

Purchases matched against the portal data.

Human review

Nothing is changed on a tax document without a person.

Multi-GSTIN

Tokens are kept per GSTIN, so branches do not collide.

Audit log

Who requested, cancelled or corrected, and when.

Read the e-invoicing feature, the IRN cancellation guide and the e-way bill generation guide.

Getting started

  1. Confirm your eligibility and register for API access with NIC.
  2. Create a sandbox connection and test with sample invoices.
  3. Check HSN codes and GSTINs on your masters.
  4. Switch the connection to live for one GSTIN.
  5. Add other GSTINs once the first runs cleanly.

The sandbox run usually surfaces master-data gaps worth fixing before the first live invoice.

What it costs to start

Free
Up to 3 users
CRM, HR and Vendor Onboarding
INR 3,999
Starter, a month
Up to 10 users, CRM and HR plus a choice of apps
INR 7,999
Pro, a month
Up to 25 users and every enterprise app

NIC e-invoice integration, answered

Does Apragya go through a GSP?
No. The connector calls NIC directly using the credentials in your connection.
Can we test before going live?
Yes. NIC's sandbox is the same API on another host, and the connector switches with a flag.
Will the system change invoice values on its own?
No. Suggested fixes sit beside the failure and a person decides.
Can it cancel an IRN?
Yes, within the window NIC allows. Check the current cancellation rules on the portal.
What does it cost to start?
The free plan covers up to 3 users with CRM, HR and Vendor Onboarding and 1,000 AI Credits a month. Starter is INR 3,999 a month for up to 10 users, with CRM and HR plus a choice of apps such as Sales and POS, Inventory, Payroll, Purchase and Payables, Support and Manufacturing. Pro is INR 7,999 a month for up to 25 users with every enterprise app, including Finance and Accounting, plus 5,000 AI Credits, single sign-on and audit logs.

Get the IRN from the invoice itself

Connect to NIC, test in the sandbox and stop uploading files.