How to Generate a UPI QR Code with a Pre-Filled Amount
Learn how to build dynamic UPI QR codes containing preset payment amounts and notes, ideal for digital billing, tickets, and checkout counters.
A standard static UPI QR code allows the customer to scan and manually enter any amount they wish. While useful, it leaves room for human error—such as entering a wrong digit, underpaying, or forgetting to pay the full invoice value.
Generating a dynamic UPI QR code with a pre-filled amount locks the payment screen, ensuring the customer scans and pays the exact specified amount instantly. This is the same mechanism used by large supermarket cashiers and online checkouts to prevent payment mismatches.
In this guide, we will dive deep into how pre-filled UPI QR codes work, explore the underlying NPCI protocol parameters, and walk through step-by-step implementation for various billing workflows.
How it Works: The UPI URL Scheme
The technology behind pre-filled amounts is based on standard URL query parameters. By appending the am (amount) and tn (transaction note) variables to your base payment schema, the scanner automatically configures the fields on the customer’s phone.
The standardized format follows this exact structure:
upi://pay?pa=shop@bank&pn=ShopName&am=450&cu=INR&tn=Invoice405
Let’s break down the query parameters:
pa(Payment Address): The recipient’s virtual payment address / VPA (e.g.shopname@okaxis).pn(Payee Name): The display name of the recipient business or individual.am(Amount): The requested transaction value. It supports decimal values (e.g.120.50).cu(Currency): The currency code, which must always beINRfor Indian domestic transactions.tn(Transaction Note): The reference description visible on the user’s scan screen.
When scanned, this code automatically opens GPay, Paytm, or PhonePe, locks the payee to “ShopName”, locks the amount to “₹450”, and adds the note “Invoice405”. The customer only needs to tap ‘Pay’ and enter their 4-digit or 6-digit UPI PIN to authorize the transaction.
Comparison: Static QR vs. Pre-Filled (Dynamic) QR
Depending on your store checkout layout, choosing the right QR structure is key to customer throughput.
| Capability | Static UPI QR (No Amount) | Pre-Filled UPI QR (Fixed Amount) |
|---|---|---|
| Customer Input | Customer manually enters the billing amount. | Amount is pre-filled and locked; cannot be edited. |
| Error Rate | High (customer may make typing errors or transfer wrong amounts). | 0% (exact amount is requested directly). |
| Reconciliation | Difficult (matching random payments to specific invoices). | Easy (the transaction note or amount identifies the invoice). |
| Best For | Casual counter tips, donation boxes, street vendors. | Ticket counters, specific product checkouts, invoices. |
| Scan Limitations | None (can be scanned by unlimited users). | None (can be printed or displayed on invoice templates). |
Practical Business Use Cases
Pre-filling UPI payment amounts is highly beneficial across several retail and digital industries:
1. Invoicing & B2B Billings
Instead of sending raw bank details, email or message your clients a PDF invoice containing a custom pre-filled QR code. When they open the PDF on their screen, they can scan the QR with their phone to settle the exact invoice amount instantly.
2. Event Ticket Booths & Registrations
If you are hosting a workshop, conference, or charity run, print posters for each ticket category (e.g., “General Admission: ₹500” and “VIP Pass: ₹1,500”). Customers can scan the respective poster and complete the transaction without asking the coordinator for price verification.
3. Quick-Service Restaurants & Cafes
For fast-moving items or combo deals (e.g. “Combo Meal - ₹199”), place a table tent card showing the pre-filled amount. Customers scan and pay directly from their table, reducing cashier wait times.
4. School & Tuition Centers
Generate recurring fee cards for students (e.g. “July Term Fee - ₹3,500”). Parents can pay from home by scanning the digital image, with the transaction note containing the student’s roll number.
Step-by-Step Generator Guide
- Go to the Pro UPI QR Generator.
- Enter your Payee Name and UPI ID / VPA.
- Under the Amount field, enter the exact price you wish to collect (e.g.,
250). - In the Note field, enter a brief description (e.g.,
Order #908). - Choose a custom template layout from the options (e.g., Shop Standee, Table Card, or Minimalist Card).
- Click Generate Poster.
- Download the high-quality PNG poster for physical printing or share the link digitally.
Frequently Asked Questions
Q1. Can customers edit the pre-filled amount after scanning?
On standard UPI apps (like Google Pay, PhonePe, Paytm, and BHIM), if a merchant UPI ID (business VPA) is used with the am parameter, the amount field is locked and cannot be edited by the customer. However, for personal peer-to-peer (P2P) VPAs, some banking apps may allow the sender to modify the amount before paying.
Q2. Is there an additional fee for locking the transaction amount?
No. Appending the amount parameter to the UPI link is a built-in feature of the NPCI network protocol. Our generator does not charge any processing fees, platform fees, or transaction commissions. You receive the full payment amount directly into your bank account.
Q3. Can I pre-fill the transaction note without setting an amount?
Yes. You can leave the amount field empty and only fill in the note field. In this setup, the scanner will pre-fill the payee name, UPI ID, and note, but leave the amount field open for the customer to fill in manually. This is ideal for tips, donations, and open bill settlements.
Ready to Generate Your QR?
Stop dealing with payment reconciliation problems. Design and download your custom UPI QR Code with Amount now.
Pro UPI QR Team
Payment technology research team building privacy-first UPI utilities, merchant tools, and printable standees for Indian business owners.
Related Articles
Static vs Dynamic UPI QR Code
When to use fixed-VPA standees vs amount-locked payment QRs.
UPI QR for Freelancer Invoices
Add scan-to-pay QR to invoices without payment gateway fees.
Universal UPI QR Code Generator for Bank Account — Complete Guide
Learn how universal UPI QR codes work, how to connect any bank account, and accept PhonePe, GPay & Paytm payments.
Other UPI QR Generators
Purpose-built tools for every major payment app.
PhonePe QR Generator
Create a PhonePe-compatible UPI QR with optional amount and note.
Google Pay QR Generator
Build a GPay-friendly standee customers can scan from any UPI app.
Paytm QR Generator
Generate a Paytm-compatible payment QR for shops and local businesses.
Donation QR Generator
Set up a commission-free donation poster for temples, NGOs, and causes.
BHIM UPI QR Generator
Generate standard BHIM UPI QR codes for instant direct bank payments.
WhatsApp Pay QR Generator
Create a WhatsApp Pay compatible UPI QR code for direct chat-to-bank payments.
Amazon Pay QR Generator
Build Amazon Pay compatible UPI QR code standees and bill posters.
SBI UPI QR Generator
Generate State Bank of India (SBI) UPI QR codes for retail checkouts.
HDFC Bank UPI QR Generator
Create HDFC Bank compatible UPI payment posters for invoicing.
ICICI Bank UPI QR Generator
Generate ICICI Bank compatible UPI billing QR codes.
Axis Bank UPI QR Generator
Create Axis Bank compatible UPI payment posters and counter standees.
Kotak Bank UPI QR Generator
Generate Kotak Mahindra Bank compatible UPI payment QR codes.
PNB UPI QR Generator
Create Punjab National Bank compatible UPI collection QRs for business.
Canara Bank UPI QR Generator
Generate Canara Bank compatible payment QR codes for local stores.
Bank of Baroda QR Generator
Build Bank of Baroda UPI payment posters and standee cards.
IndusInd Bank QR Generator
Create IndusInd Bank compatible UPI payment QR codes.
Union Bank UPI QR Generator
Generate Union Bank of India UPI billing and collection QR codes.
Kirana Shop UPI QR Generator
Generate counter-ready UPI QR posters for grocery stores and local shops.
Taxi & Auto UPI QR Generator
Create scan-to-pay payment posters for cab drivers, auto rickshaws & transit.
Freelance Payment QR Generator
Generate zero-fee payment QRs for client invoices and remote work billing.
Restaurant & Cafe QR Generator
Build table tent payment QRs for cafes, restaurants, and cloud kitchens.
IDFC FIRST Bank QR Generator
Create IDFC FIRST Bank compatible UPI payment posters and QR cards.
IDBI Bank UPI QR Generator
Generate IDBI Bank compatible UPI payment collection QRs.
Yes Bank UPI QR Generator
Create Yes Bank compatible payment QR posters for merchants.
RBL Bank UPI QR Generator
Generate RBL Bank compatible payment QR codes for checkout counters.
Central Bank UPI QR Generator
Build Central Bank of India compatible UPI payment posters.
Gym & Fitness UPI QR Generator
Create membership fee & trainer payment QRs for fitness studios.
Salon & Spa UPI QR Generator
Generate beauty salon and spa billing payment QRs for front desks.
Parking Lot UPI QR Generator
Build rapid scan-to-pay parking fee posters for valet & vehicle lots.
Temple & NGO Donation QR Generator
Generate zero-commission donation QRs for temples, trusts, and NGOs.
SBI Business QR Code Generator
Create a free State Bank of India (SBI) business & merchant payment QR standee.
Universal UPI QR Code Generator for Bank Account
Link any Indian bank account to a free universal payment QR code.
HDFC Business QR Code Generator
Generate HDFC Bank merchant payment QRs for counter standees & billing.
ICICI Business UPI QR Generator
Create ICICI Bank business collection QRs with zero commission.
Doctor & Clinic UPI QR Generator
Generate payment QR codes for clinics, hospitals, and consultation desks.
Related Guides
Step-by-step articles on printing, setup, and security.
How to Generate Bulk UPI QR Codes from Excel CSV
Learn how to batch generate hundreds of custom-amount UPI payment QR codes from an Excel spreadsheet.
How to Print Free UPI QR Code Sticker Sheets on A4 Paper
Step-by-step tutorial to print 4, 6, or 12 high-resolution QR stickers for shop counters and packaging boxes.
Universal UPI QR Code Generator for Bank Account — Complete Guide
Learn how universal UPI QR codes work, how to connect any bank account, and accept PhonePe, GPay & Paytm payments.
Universal UPI QR Code Generator App — Mobile Web Guide
How to use Pro UPI QR as a mobile web app without app store downloads. Generate UPI QR posters right from your phone.