Business Software
GST e-Invoicing Integration With Your ERP
Affix Center · · 6 min read

For many GST-registered businesses, e-invoicing still means an accounts executive exporting invoice data from the ERP, uploading it to the Invoice Registration Portal (IRP), downloading the signed response and attaching the QR code by hand. This works when volumes are small. As volumes grow, it causes delays, missed invoices and mismatches in GST returns. A proper GST e-invoicing integration with your ERP removes these manual steps.
The stakes are higher now because the rules leave less room for delay. Larger taxpayers face a strict window to report invoices, and an invoice that cannot get an Invoice Reference Number (IRN) is not a valid tax invoice for a notified person. This article explains the current rules, the integration options and the steps to get a stable, audit-ready setup.
Current e-Invoicing Rules You Must Design For
- Applicability: e-invoicing is mandatory for registered persons whose aggregate annual turnover (AATO) has exceeded Rs 5 crore in any financial year from 2017-18 onwards. This threshold has applied since 1 August 2023.
- Documents covered: B2B tax invoices, credit notes and debit notes, and exports. B2C invoices are outside the e-invoicing requirement.
- Exempt categories: certain sectors such as banking, insurance and NBFCs, goods transport agencies, passenger transport services, multiplex cinema admissions and SEZ units are exempt.
- 30-day reporting limit: from 1 April 2025, taxpayers with AATO of Rs 10 crore or more cannot report an invoice, credit note or debit note to the IRP more than 30 days after the document date. The portal blocks late reporting.
- Cancellation: an IRN can be cancelled on the IRP only within 24 hours of generation. After that, a credit note is needed.
These rules should be built into your ERP logic, not left to staff memory. Check the GST portal and IRP advisories regularly, as validations and schema details are updated from time to time.
How e-Invoicing Works End to End
- The ERP creates the invoice and converts it into the notified JSON schema.
- The JSON is sent to an IRP, directly through API or through a GST Suvidha Provider (GSP).
- The IRP validates the data, checks for duplicates and generates the IRN.
- The IRP returns the signed invoice data and a signed QR code.
- The ERP stores the IRN, acknowledgement number, date and QR code, and prints the QR code on the invoice.
- Invoice details flow to the GST system for GSTR-1 and, where transport details are given, can be used to generate an e-way bill.
Integration Options for GST e-Invoicing With Your ERP
Direct API integration
Your ERP connects to the IRP APIs directly. This gives the most control and avoids a middle layer, but needs development effort, secure credential handling and ongoing updates when APIs change. It suits larger companies with in-house IT teams.
Through a GSP or middleware
The ERP sends data to a GSP or integration platform, which handles the IRP connection, retries and reports. This is quicker to set up and suits most mid-sized businesses. Check the provider's uptime, support, data storage location and exit terms.
Built-in ERP connectors
Many ERP and accounting products include e-invoicing modules. These are easy to enable but may not handle custom invoice formats, multiple GSTINs or special cases well. Test them with your real invoice variety.
Offline or bulk upload
The IRP offers bulk upload tools. These can work as a fallback, but are not a sound long-term approach for businesses with daily invoice volume.
Step-by-Step Integration Plan
- Map invoice types: list every document type the ERP produces, including exports, SEZ supplies, reverse charge cases, credit notes and debit notes.
- Clean master data: validate customer GSTINs, state codes, PIN codes and HSN codes. Most IRP rejections come from bad master data.
- Build the schema mapping: map ERP fields to the e-invoice JSON, including item-level tax values and rounding rules.
- Set trigger points: decide whether IRN generation happens on invoice posting, on approval or in scheduled batches.
- Handle errors: capture IRP error codes, show them to users in plain language and create a queue for correction and resubmission.
- Enforce time limits: add alerts for documents approaching the 30-day limit and for IRNs that may need cancellation within 24 hours.
- Update print formats: add the IRN and QR code to invoice layouts.
- Test in the sandbox: run all invoice types through the IRP sandbox before going live.
- Go live in phases: start with one GSTIN or branch, monitor, then extend.
Our product engineering team often builds these connectors and error queues for ERPs that do not have a suitable built-in option.
Reconciliation, Reporting and Controls
Integration does not end at IRN generation. Set up controls so finance teams can trust the data:
- A daily report of invoices posted in the ERP without an IRN.
- Matching of ERP sales registers with e-invoice data auto-populated in GSTR-1.
- Tracking of cancelled IRNs and related credit notes.
- Role-based access to IRP credentials, stored securely and rotated when staff change.
- Dashboards showing rejection rates, pending documents and ageing by branch.
Clean, structured e-invoice data also supports better sales and tax analytics. Our data and AI services can turn this data into useful reports for finance leaders.
Common Integration Problems and How to Avoid Them
- Invalid or inactive buyer GSTINs: validate GSTINs when the customer is created, not when the invoice is raised.
- Rounding differences: the IRP checks that item values add up to invoice totals. Align ERP rounding with the schema rules.
- Duplicate submissions: network timeouts can lead to resending the same invoice. Check the IRP response and fetch existing IRN details instead of creating new documents.
- Manual edits after IRN: lock invoices once an IRN is generated so the printed copy always matches the reported data.
- Multiple GSTINs and branches: a company with units in Mumbai, Nashik and Gujarat needs separate credentials and series for each GSTIN. Plan this in the design.
- Month-end rush: batch jobs that run only at month-end risk crossing the 30-day limit. Generate IRNs as invoices are posted.
A short hypercare period after go-live, with daily review of errors, catches most of these issues early. Keep a simple log of each error type and its fix for future reference.
Frequently Asked Questions
What is the e-invoicing turnover limit under GST?
E-invoicing applies to registered persons whose aggregate annual turnover exceeded Rs 5 crore in any financial year from 2017-18 onwards, unless they fall in an exempt category.
What is the 30-day rule for e-invoices?
Taxpayers with AATO of Rs 10 crore or more must report invoices, credit notes and debit notes to the IRP within 30 days of the document date. Later reporting is blocked.
Can an e-invoice be cancelled?
Yes, but only within 24 hours of IRN generation on the IRP. After that, issue a credit note.
Do we need to change ERP systems for e-invoicing?
Usually not. Most ERPs can be integrated through APIs, a GSP or a connector. The right option depends on volume, invoice types and in-house skills.
How Affix Center Can Help
We help businesses in Mumbai, Pune and across India assess e-invoicing readiness, clean master data, build ERP integrations, set up error handling and create reconciliation reports. Our team works alongside your tax advisers so the system reflects the latest rules.
To plan or fix your e-invoicing setup, reach out to Affix Center.