e-Invoice API Provider for
IRN Generation from SAP & ERPs
Generate IRNs and signed QR codes straight from your billing run through Figment’s GSTN-authorised GSP, integrated with more than two Invoice Registration Portals, so an IRP outage never stops your invoicing.
- 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.
{
"AckNo": 112610000000001,
"AckDt": "2026-09-30 11:45:00",
"Irn": "6b1f0c9d2e4a...8f3a7e9c2 (64-character hash)",
"SignedInvoice": "eyJhbGciOiJSUzI1NiIsImtpZCI6...",
"SignedQRCode": "eyJhbGciOiJSUzI1NiIsImtpZCI6...",
"Status": "ACT",
"EwbNo": 181000000001,
"EwbDt": "2026-09-30 11:45:00",
"EwbValidTill": "2026-10-01 23:59:00"
}Illustrative demo data. Not a real taxpayer.
How an Invoice Becomes an e-Invoice in Seconds
- 01
Bill in your ERP
Your team raises the invoice in SAP, Oracle, Tally or your own ERP, exactly as today.
- 02
Send to Figment GSP
The ERP posts the invoice JSON to the IRN Generation API. Figment validates it against the e-Invoice schema.
- 03
Register on an IRP
Figment routes the request to an available IRP, switching to another if one is slow or down.
- 04
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.
Works with SAP ECC & S/4HANA, Oracle, Microsoft Dynamics 365, Tally Prime and in-house ERPs. Typical go-live: about two weeks from sandbox access.
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.
More Than 2 IRPs
If one Invoice Registration Portal is slow or unavailable, IRN requests are routed to another automatically.
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.
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.
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.
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.