Figment Global Solutions
e-Invoice API by an authorised GST Suvidha Provider e-Invoice API · GSTN-Authorised GSP

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

NPCI
Tata Mutual Fund
HSBC Mutual Fund
IDBI Bank
SBI
PNB
LIC
Mahindra Finance
Godrej Industries
Zomato
Piramal Pharma
MOIL Limited
SRF
Central Bank of India
BSE
J&K Bank
Cipla
SEBI
ONGC
Adani
Power Grid
NTPC
SAIL
Red Tape
CSB Bank
Titan
Holcim
Bata
Dhanlaxmi Bank
Samsung
Magicbricks
Nivea

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.

Request sandbox access
Live e-Invoice (IRN)

IRN GENERATED

Signed invoice and QR code returned

680 ms
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

  1. STEP 1

    Bill in your ERP

    Your team raises the invoice in SAP, Oracle, Tally or your own ERP, exactly as today.

  2. 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.

  3. 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
    Automatic failover
  4. 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. 1

    Request access

    Share your company, the APIs you need and your ERP or software.

    2 minutes
  2. 2

    Our API team gets in touch

    We confirm your use case and set up your sandbox.

    Personal onboarding
  3. 3

    Sandbox credentials by email

    With test GSTINs, sample payloads, the Postman collection and documentation.

    Separate from production
  4. 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
  1. 01

    Today

    ERP / Tally Current provider IRP
    LIVE
  2. 02

    Test Figment in parallel

    ERP / Tally
    Current provider IRP
    Figment sandbox
    NO CHANGE TO LIVE BILLING
  3. 03

    Cut over between billing cycles

    ERP / Tally Figment GSP IRP
    Current provider: off ONE API AT A TIME

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.