linkedin
Q:

How should SaaS invoicing tool export UPI reference IDs for insurance premiums into our GST e-invoice PDF?

  • uday monani
  • Nov 09, 2025

1 Answers

A:

  • Capture the Right Reference at the Source

When the payment completes, your PSP (Razorpay, Paytm, Cashfree, etc.) will send back a few key IDs in the callback or webhook payload — typically:

upi_txn_id (NPCI’s unique reference)

rrn (retrieval reference number — often used for settlement tracing)

payment_gateway_txn_id (your PSP’s own reference)

Always prefer the NPCI RRN or UPI Txn ID for the invoice. That’s what banks and auditors can trace on the UPI network.

  • Store It in Your Payments Table

When your webhook confirms a success, write that UPI ID to your internal payments or receipts table against the invoice record:

{
invoice_id: INV-2025-0012,
upi_txn_id: 324818273827@upi,
rrn: 312901239123,
payment_date: 2025-10-17
}


This ensures your invoice generator can fetch it later when building the PDF.

  • Extend Your GST E-Invoice Schema

In the JSON you send to the GSTN (via IRP), use the optional PaymentInfo or AddlPaymentInfo section if supported by your middleware (like ClearTax or Tally Connector).
If that’s not available, you can add it to your PDF representation instead auditors accept visible payment metadata as long as the IRN and QR are intact.

  • Add It to the PDF Layout

Under the Payment Details section of your GST e-invoice PDF, show something like:

Payment Mode: UPI
UPI Txn ID (RRN): 312901239123
Transaction Date: 17 Oct 2025
Purpose Code: INS_PRM (Insurance Premium)


If your template engine supports variables (e.g., Mustache, Jinja, or Liquid), just insert:

{{ payment.upi_rrn }}

  • Support Multiple Payments per Invoice

If your tool allows partial payments (like splitting an ₹8 lakh premium over two UPI transfers), list both reference IDs:

UPI References:
312901239123 (₹4,00,000 on 17 Oct)
312901245678 (₹4,00,000 on 18 Oct)


This helps reconciliation teams link them correctly to GST returns later.

  • Keep It Human-Readable and Machine-Readable

You can add the UPI reference in both:

Visible text (for printout review), and

PDF metadata / JSON (if your tool exports structured data for audit bots).

That way, you stay compliant and future-proof when GSTN starts cross-validating payment references.

  • Automate Error Checks

Before finalizing the PDF:

Validate that a upi_txn_id or rrn exists for all UPI-tagged payments.

If not, mark the invoice Pending Payment Confirmation instead of Paid.
This prevents auditors from flagging missing references later.

  • Bonus Tip, Sync with IRN QR Data

If you’re already embedding the IRN QR code, you can also add the UPI Txn ID in the QR’s text block under Payment Reference. It’s optional, but insurers love this level of detail for claims auditing.

  • Adil Ahmad
  • Nov 11, 2025

0 0

Related Question and Answers

A:

Configure the engine to map real estate token plans/charges to the correct RBI/NPCI UPI purpose code in its product/payment settings.

When generating the UPI intent/collect request, auto-attach this purpose code into the transaction metadata sent to the PSP/gateway.

Persist the tagged code on the invoice, payment record, and settlement entries, and expose it in exports/reports to simplify audits and regulatory checks.

  • Rahul Kumar
  • Jan 14, 2026

A:

At the time of initiation, the engine should check the transaction category and amount against a real-time UPI limit master for Real Estate Token payments.

If eligible for a higher cap, it should show a dynamic in-app/checkout message confirming the enhanced limit before UPI intent creation.

This check for eligibility needs to be API-driven, configuration-controlled, and audit-logged for compliance.

  • Messiah
  • Jan 18, 2026

A:

The mobile app checkout should map real estate token transactions to the correct RBI/NPCI UPI purpose code in its payment configuration.

At UPI intent creation, this code must be auto-attached to the transaction metadata sent to the gateway.

The tagged purpose code should be stored with the payment record and settlement logs for audit and compliance.

  • Mohsina hassan
  • Feb 24, 2026

A:

Enable daily aggregate threshold alerts when total UPI collections for real estate tokens approach or cross RBI/NPCI caps.

Set project-wise and gateway-wise volume alerts to detect abnormal concentration of payments.

Configure exception alerts for sudden spikes, high failure rates, or reversal-heavy days for immediate finance review.

  • Nagarajan P
  • Jan 22, 2026

A:

Have the app fetch the effective-dated UPI limit table (post–15 Sep 2025) from your backend for the real estate token category at checkout.

Before creating the UPI intent, compare token amount + any prior same-day token UPI payments against that category limit.

If it breaches, block the UPI option, show a clear higher-cap / fallback message, and log the decision with category + date for audit.

  • Nishtha Sharma
  • Jan 26, 2026

Find the Best Payment Gateway

Explore all products with features, pricing, reviews and more

View All Software
img

Have a Question?

Get answered by real users or software experts

Ask Question

Help the community

Be the First to Answer these questions

How do I configure risk controls in a payment gateway integration to respect new NPCI per-transaction caps by use case?

Write Answer

What alerts should finance teams enable in ERP finance module to watch daily aggregate UPI usage for club memberships transactions?

Write Answer

How do we test refunds and chargebacks in ERP finance module for international remittances via FX retail under the new UPI cap structure?

Write Answer

How can ERP finance module tag UPI collections for club memberships with the correct purpose code to simplify audits?

Write Answer

Still got Questions on your mind?

Get answered by real users or software experts

Disclaimer

Techjockey’s software industry experts offer advice for educational and informational purposes only. A category or product query or issue posted, created, or compiled by Techjockey is not meant to replace your independent judgment.

Software icon representing 20,000+ Software Listed 20,000+ Software Listed

Price tag icon for best price guarantee Best Price Guaranteed

Expert consultation icon Free Expert Consultation

Happy customer icon representing 2 million+ customers 2M+ Happy Customers