Punjab National Bank UPI credit SMS format

PNB_UPI_CREDIT_V1

Last updated

Punjab National Bank·UPICreditVerified

Quick answer

A Punjab National Bank UPI credit SMS looks like this: “Ac XX7582 Credited with Rs.4750.00 11-07-2025 08:53:21 thru UPI . Aval Bal Rs.82431.67 CR. (UPI Ref ID:714628305917) Helpline 18001800/18002021-PNB” It is a credit (money received) alert. The parts that change in each message are the amount, the last digits of the account or card, the date, a reference number and the available balance or credit limit; everything else is fixed text, so it can be matched with the regex below.

Template

Ac Credited with currency.amount date time thru UPI . Aval Bal currency2.balance CR. (UPI Ref ID:upi_ref)

Sample SMS

Template matches this sample

Ac Credited with Rs.4750.00 11-07-2025 08:53:21 thru UPI . Aval Bal Rs.82431.67 CR. (UPI Ref ID:714628305917) Helpline 18001800/18002021-PNB

FieldExtracted value
XX
7582
currencyRs
amount4750.00
date11-07-2025
time08:53:21
currency2Rs
balance82431.67
upi_ref714628305917

Compiled regex

flags: i
^Ac \s*(?<masked>[\s\S]+?)\s*\s*(?<last_four>\d{4})\s* Credited with \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* \s*(?<date>(?:\d{2}-[A-Z]{3}-\d{2,4}|\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* \s*(?<time>(?:\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* thru UPI \. Aval Bal \s*(?<currency2>[A-Z]{2,4})\s*\.\s*(?<balance>[\s\S]+?)\s* CR\. \(UPI Ref ID:\s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\)
JSON/api/templates/pnb-upi-credit-v1
{
  "id": "pnb-upi-credit-v1",
  "name": "PNB_UPI_CREDIT_V1",
  "bank": {
    "code": "PNB",
    "name": "Punjab National Bank",
    "slug": "pnb"
  },
  "category": "UPI",
  "payment_mode": "UPI",
  "direction": "credit",
  "keywords": [
    "Credited with",
    "thru UPI",
    "-PNB"
  ],
  "template": "Ac {masked}{last_four} Credited with {currency}.{amount} {date} {time} thru UPI . Aval Bal {currency2}.{balance} CR. (UPI Ref ID:{upi_ref})",
  "regex": "^Ac \\s*(?<masked>[\\s\\S]+?)\\s*\\s*(?<last_four>\\d{4})\\s* Credited with \\s*(?<currency>[A-Z]{2,4})\\s*\\.\\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* \\s*(?<date>(?:\\d{2}-[A-Z]{3}-\\d{2,4}|\\d{2}[A-Z]{3}\\d{4}|[\\dA-Z\\-/ :T]{4,32}))\\s* \\s*(?<time>(?:\\d{2}[A-Z]{3}\\d{4}|[\\dA-Z\\-/ :T]{4,32}))\\s* thru UPI \\. Aval Bal \\s*(?<currency2>[A-Z]{2,4})\\s*\\.\\s*(?<balance>[\\s\\S]+?)\\s* CR\\. \\(UPI Ref ID:\\s*(?<upi_ref>[A-Za-z0-9\\-]{4,32})\\s*\\)",
  "regex_flags": "i",
  "sample": "Ac XX7582 Credited with Rs.4750.00 11-07-2025 08:53:21 thru UPI . Aval Bal Rs.82431.67 CR. (UPI Ref ID:714628305917) Helpline 18001800/18002021-PNB",
  "verified": true,
  "source": "pennywise"
}

Other PNB UPI formats

PNB_UPI_CREDIT_V2UPICreditVerified

A/c credited currency amount From merchantName/UPI:upi_ref. Bal INR balance-PNB

A/c credited INR 125.00 From Example Shop Ltd/UPI:000000000003. Bal INR 9000.00-PNB

PNB_UPI_DEBIT_V1UPIDebitVerified

A/c debited currency amount Dt date time to merchantName thru UPI:upi_ref.

A/c debited INR 250.00 Dt 02-01-26 12:00:00 to Swiggy Ltd thru UPI:000000000002.Bal INR 8750.00-PNB

Frequently asked questions

What does a Punjab National Bank UPI credit SMS look like?

Ac XX7582 Credited with Rs.4750.00 11-07-2025 08:53:21 thru UPI . Aval Bal Rs.82431.67 CR. (UPI Ref ID:714628305917) Helpline 18001800/18002021-PNB — the parts that change are the amount, the last digits of the account or card, the date, a reference number and the available balance or credit limit.

How do I parse a Punjab National Bank UPI SMS?

First check that the message contains “Credited with”, “thru UPI”, “-PNB”. Then match it with this case-insensitive regular expression: ^Ac \s*(?<masked>[\s\S]+?)\s*\s*(?<last_four>\d{4})\s* Credited with \s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* \s*(?<date>(?:\d{2}-[A-Z]{3}-\d{2,4}|\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* \s*(?<time>(?:\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s* thru UPI \. Aval Bal \s*(?<currency2>[A-Z]{2,4})\s*\.\s*(?<balance>[\s\S]+?)\s* CR\. \(UPI Ref ID:\s*(?<upi_ref>[A-Za-z0-9\-]{4,32})\s*\). The named groups give you the amount, the last digits of the account or card, the date, a reference number and the available balance or credit limit.

Is this Punjab National Bank SMS format verified?

Yes. The template is checked automatically against a real, redacted message on every build, and the build fails if it stops matching.

Does Punjab National Bank use more than one UPI SMS format?

Yes. Punjab National Bank sends 3 different UPI formats catalogued here; banks often keep older wordings alive alongside new ones, so a parser should try all of them.

Punjab National Bank UPI credit SMS format (PNB_UPI_CREDIT_V1) | Iris SMS Templates