e-Invoice API Provider for
IRN Generation from SAP & ERPs
Generate IRNs and signed QR codes directly from SAP, Oracle, Dynamics, Tally and other ERPs using Figment’s GSTN-authorised e-Invoice API, with routing across more than two IRPs. Get sandbox access, test with sample payloads and go live in about two weeks.
- GSTN-Authorised GSP
- More Than 2 IRPs
- 99% API Uptime
- Data Hosted in India
- Go-Live in ~2 Weeks
Trusted by Banks, PSUs and Leading Enterprises Across India
e-Invoicing Rules Your ERP Must Handle
An e-Invoice API is only as good as its handling of the rules. Figment’s API validates each of these before the invoice reaches the IRP.
Who must generate e-Invoices
Every GST-registered business whose aggregate turnover crossed ₹5 crore in any financial year from 2017-18 onward, for B2B supplies, exports and supplies to government.
30-day reporting limit
Businesses with aggregate turnover of ₹10 crore or more must report an invoice to the IRP within 30 days of its date. Older invoices are rejected.
Cancellation within 24 hours
An IRN can be cancelled only within 24 hours of generation, and only in full. After that, the correction is made through a credit or debit note.
One IRN per invoice
The IRN is unique to the supplier GSTIN, document type, number and financial year. Re-sending the same invoice is rejected as a duplicate, so Figment returns the existing IRN instead.
Dynamic QR for B2C invoices
Businesses with aggregate turnover above ₹500 crore must print a dynamic payment QR code on B2C invoices.
Who is exempt
SEZ units, insurers, banking companies and NBFCs, goods transport agencies, passenger transport services, multiplex admissions, and government departments and local authorities.
e-Invoice APIs Available Through Figment GSP
REST/JSON APIs on the IRP’s official interface, with sandbox access, a Postman collection and sample payloads.
IRN Generation API
Registers the invoice on the IRP and returns the IRN, Ack No, signed invoice and signed QR code.
Bulk IRN Generation API
Generates IRNs for a full billing run in one batch.
IRN Cancellation API
Cancels an IRN within 24 hours of generation.
e-Invoice Lookup API
Fetches an e-Invoice by IRN, or by document type, number and date.
Rejected IRN API
Lists IRN requests rejected by the IRP, with the reason for each.
IRP GSTIN Details API
GSTIN details as held on the IRP, to validate buyer data before billing.
e-Way Bill by IRN API
Generates the e-Way Bill from an existing IRN, with no re-entry of invoice data.
B2C Dynamic QR API
Generates the dynamic payment QR code required on B2C invoices.
IRN GENERATED
Signed invoice and QR code returned
- Ack no.
- 112610000000001
- Ack date
- 01 Oct 2026, 11:45
- Signed QR
- ✓ Received
- e-Way Bill
- 181000000001
Illustrative demo data. Not a real taxpayer.
How an Invoice Becomes an e-Invoice in Seconds
- STEP 1
Bill in your ERP
Your team raises the invoice in SAP, Oracle, Tally or your own ERP, exactly as today.
- STEP 2
Send to Figment GSP
The ERP posts the invoice JSON to the IRN Generation API. Figment validates it against the e-Invoice schema.
- STEP 3
Register on an IRP
Figment routes the request to an available IRP, switching to another if one is slow or down.
- IRP 1
- IRP 2
- More IRPs
- STEP 4
IRN and QR back in the ERP
The IRN, signed QR code and, if needed, the e-Way Bill number come back and print on the invoice.
e-Invoice API Integration: What Happens After You Request Sandbox Access
You talk to our API team, get a sandbox and go live with their help.
- 1
Request access
Share your company, the APIs you need and your ERP or software.
2 minutes - 2
Our API team gets in touch
We confirm your use case and set up your sandbox.
Personal onboarding - 3
Sandbox credentials by email
With test GSTINs, sample payloads, the Postman collection and documentation.
Separate from production - 4
Go live
On the e-Invoice portal: API Registration → User Credentials → Create API User → Through GSP → Figment Global Solutions.
~2 weeks from sandbox
Common e-Invoice API Errors and Fixes
Duplicate IRN (error 2150)
The invoice is already registered. Figment returns the existing IRN by document details instead of failing the billing run.
Invoice older than 30 days
Businesses with aggregate turnover of ₹10 crore or more cannot report it. Alert on unreported invoices in your ERP well before day 30.
IRP slow, down or timing out
Figment routes the request to another IRP and queues retries, with checks that stop one invoice getting two IRNs.
Multi-IRP Failover for Uninterrupted Invoicing
When your e-Invoice API fails, nothing leaves the warehouse. Figment’s GSP is integrated with more than two IRPs and built with redundancy at every layer.
Redundant Links
Redundant links from Figment GSP to the IRPs, with automatic switchover if a link drops.
DR Site, Data in India
A dedicated disaster-recovery site, with all data hosted in India only.
Queued Retries, No Duplicates
Timeouts are retried automatically, with checks that stop one invoice getting two IRNs or two e-Way Bills.
99% API Uptime
Redundancy at every layer keeps the API available 99% of the time, including month-end billing peaks.
e-Invoice API for SAP, Oracle, Dynamics and Tally
The API takes the same e-Invoice JSON from any system, so integration is about where your billing document lives.
SAP ECC and S/4HANA
Post the billing document to the IRN Generation API at invoice save, and write the IRN, Ack No and signed QR back to the document for printing.
Oracle
Send invoices from Oracle receivables through your integration layer, with bulk runs for month-end billing.
Microsoft Dynamics 365
Call the API from the sales invoice posting flow, and store the IRN and QR code on the posted invoice.
Tally Prime
Connect Tally Prime through your Tally partner or middleware; the API receives the same e-Invoice JSON as from any ERP.
In-house ERPs and billing software
Any system that can make an HTTPS call with JSON can generate IRNs. ERP and accounting software companies can offer e-Invoicing without their own GSP licence.
Trusted for e-Invoicing by PSUs and Enterprises
Oil, Gas & Petrochemicals
Client: ONGC
High-value, high-frequency invoices from plants, depots and terminals, with IRN and e-Way Bill in one flow.
Mining & Metals
Client: MOIL Limited
Bulk ore sales invoiced and dispatched from mines, with IRNs generated at the point of billing.
Manufacturing & FMCG
Client: ITC
IRNs generated from SAP billing documents across plants and state GSTINs, with bulk runs at month-end.
ERP & Accounting Software
Add e-Invoicing to your product through Figment GSP, without your own GSP licence.
e-Invoice API Pricing: What Decides the Cost
e-Invoice API pricing in India is usually based on usage. These are the factors that decide your quote.
IRN volume
How many e-Invoices you generate a month, including month-end peaks.
GSTINs and entities
The number of registrations and companies billing through the API.
APIs used
e-Invoice alone, or with e-Way Bill, GSTIN verification and return filing APIs.
Support and SLA
Uptime commitments, support hours and tender or audit documentation you need.
Switching Your e-Invoice API Provider?
If your current provider has no IRP fallback, slow support or sandbox delays, test Figment alongside it and move when you are ready.
- Sandbox access while your current provider keeps running
- Help mapping your current payloads, authentication and error codes
- Cut-over between billing cycles, with no change to how your team invoices
- 01
Today
ERP / Tally Current provider IRPLIVE - 02
Test Figment in parallel
ERP / TallyCurrent provider IRPFigment sandbox LIVE ↑TEST ↓NO CHANGE TO LIVE BILLING - 03
Cut over between billing cycles
ERP / Tally Figment GSP IRPCurrent provider: off ONE API AT A TIME
Related Figment APIs and Products
e-Way Bill API →
Generate, update, extend and cancel e-Way Bills.
All GSP APIs →
GSTIN verification, GST return filing, e-Invoice and e-Way Bill APIs.
GSTCPC →
Ready GST software with e-Invoice, returns and reconciliation.
e-Invoice API Guides
Start Generating IRNs Through Figment GSP
Get sandbox keys today. Most e-Invoice integrations go live in about two weeks.
Frequently Asked Questions
Something not covered here?
Ask us directly.An e-Invoice API lets your ERP or billing software register invoices on the Invoice Registration Portal (IRP) directly and get back the IRN and signed QR code, without anyone uploading invoices on the e-Invoice portal. Figment provides it as a GSTN-authorised GST Suvidha Provider.
Every GST-registered business whose aggregate turnover exceeded ₹5 crore in any financial year from 2017-18 onward must generate e-Invoices for B2B supplies, exports and supplies to government. SEZ units, insurers, banks and NBFCs, goods transport agencies, passenger transport services, multiplex admissions and government departments are exempt.
Yes. Businesses with aggregate turnover of ₹10 crore or more must report an invoice to the IRP within 30 days of the invoice date. The IRP rejects invoices older than that, so Figment’s API flags them before submission.
Figment GSP is integrated with more than two IRPs. If one IRP is slow or unavailable, IRN requests are routed to another automatically, and timeouts are retried without creating duplicate IRNs.
Yes. The IRN Cancellation API cancels an IRN within 24 hours of generation. Partial cancellation is not allowed, and after 24 hours the correction must be made through a credit or debit note.
Yes. Send transport details with the invoice and the e-Way Bill is generated together with the IRN, or generate it later from the IRN using the e-Way Bill by IRN API.
Yes. Figment’s e-Invoice API works with SAP ECC and S/4HANA, Oracle, Microsoft Dynamics 365, Tally Prime and in-house ERPs, so IRNs are generated from the billing document itself. A typical integration goes live in about two weeks.
Yes. The Bulk IRN Generation API registers a full billing run in one batch, which suits month-end and high-volume billing.
Log in to the e-Invoice portal with your GSTIN, open API Registration, then User Credentials, and choose Create API User. Select "Through GSP", choose Figment Global Solutions as your GSP and set the API username and password your ERP will use to generate IRNs.
An API user is a separate username and password created on the e-Invoice portal for system-to-system access. Your ERP or billing software uses it, through the GSP, to generate and cancel IRNs without anyone logging in to the portal.
Yes. Figment gives you sandbox credentials with test GSTINs, sample payloads for B2B, export, SEZ and credit-note invoices, and a Postman collection. Nothing in the sandbox reaches a live IRP.
e-Invoice API pricing usually depends on your monthly IRN volume, the number of GSTINs, which APIs you use (e-Invoice alone or with e-Way Bill and GSTIN checks) and the support level you need. Contact Figment for a quote based on your volumes.
An ASP (Application Service Provider) is the software that prepares the invoice, such as your ERP or billing tool. A GSP (GST Suvidha Provider) is the authorised channel that carries it to the IRP. Figment is the GSP; your ERP or software is the ASP.
Yes. Tally Prime can be connected through your Tally partner or middleware, and the API receives the same e-Invoice JSON as from SAP, Oracle or any other ERP.
Yes. Get sandbox access while your current provider keeps running. Figment's API team maps your existing payloads, authentication and error codes, and you cut over between billing cycles. If your current provider is down, ask for priority onboarding.