Bank of Baroda Account debit SMS format

BOB_TRANSFER_V1

Last updated

Quick answer

A Bank of Baroda Account debit / credit debit SMS looks like this: “Rs.1500.00 transferred from A/c ...1234 to:John Smith. Total Bal:Rs.15000.00CR. Avlbl Amt:Rs.15000.00(10-11-2025 10:30:00) - Bank of Baroda” It is a debit (money spent or sent) alert. The parts that change in each message are the amount, the last digits of the account or card, the date, the merchant or payee and the available balance or credit limit; everything else is fixed text, so it can be matched with the regex below.

Template

currency.amount transferred from A/c ... to:merchantName. Total Bal:currency2.balanceCR. Avlbl Amt:skip(date time) - Bank of Baroda

Sample SMS

Template matches this sample

Rs.1500.00 transferred from A/c ... to:John Smith. Total Bal:Rs.15000.00CR. Avlbl Amt:Rs.15000.00(10-11-2025 10:30:00) - Bank of Baroda

FieldExtracted value
currencyRs
amount1500.00
1234
merchantNameJohn Smith
currency2Rs
balance15000.00
skipRs.15000.00
date10-11-2025
time10:30:00

Compiled regex

flags: i
^\s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* transferred from A/c \.\.\.\s*(?<last_four>\d{4})\s* to:\s*(?<merchantName>[\s\S]+?)\s*\. Total Bal:\s*(?<currency2>[A-Z]{2,4})\s*\.\s*(?<balance>[\s\S]+?)\s*CR\. Avlbl Amt:\s*(?<skip>[\s\S]+?)\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*\) - Bank of Baroda
JSON/api/templates/bob-transfer-v1
{
  "id": "bob-transfer-v1",
  "name": "BOB_TRANSFER_V1",
  "bank": {
    "code": "BOB",
    "name": "Bank of Baroda",
    "slug": "bank-of-baroda"
  },
  "category": "Account debit / credit",
  "payment_mode": "BANK",
  "direction": "debit",
  "keywords": [
    "transferred from A/c",
    "Bank of Baroda"
  ],
  "template": "{currency}.{amount} transferred from A/c ...{last_four} to:{merchantName}. Total Bal:{currency2}.{balance}CR. Avlbl Amt:{skip}({date} {time}) - Bank of Baroda",
  "regex": "^\\s*(?<currency>[A-Z]{2,4})\\s*\\.\\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* transferred from A/c \\.\\.\\.\\s*(?<last_four>\\d{4})\\s* to:\\s*(?<merchantName>[\\s\\S]+?)\\s*\\. Total Bal:\\s*(?<currency2>[A-Z]{2,4})\\s*\\.\\s*(?<balance>[\\s\\S]+?)\\s*CR\\. Avlbl Amt:\\s*(?<skip>[\\s\\S]+?)\\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*\\) - Bank of Baroda",
  "regex_flags": "i",
  "sample": "Rs.1500.00 transferred from A/c ...1234 to:John Smith. Total Bal:Rs.15000.00CR. Avlbl Amt:Rs.15000.00(10-11-2025 10:30:00) - Bank of Baroda",
  "verified": true,
  "source": "pennywise"
}

Frequently asked questions

What does a Bank of Baroda Account debit / credit debit SMS look like?

Rs.1500.00 transferred from A/c ...1234 to:John Smith. Total Bal:Rs.15000.00CR. Avlbl Amt:Rs.15000.00(10-11-2025 10:30:00) - Bank of Baroda — the parts that change are the amount, the last digits of the account or card, the date, the merchant or payee and the available balance or credit limit.

How do I parse a Bank of Baroda Account debit / credit SMS?

First check that the message contains “transferred from A/c”, “Bank of Baroda”. Then match it with this case-insensitive regular expression: ^\s*(?<currency>[A-Z]{2,4})\s*\.\s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* transferred from A/c \.\.\.\s*(?<last_four>\d{4})\s* to:\s*(?<merchantName>[\s\S]+?)\s*\. Total Bal:\s*(?<currency2>[A-Z]{2,4})\s*\.\s*(?<balance>[\s\S]+?)\s*CR\. Avlbl Amt:\s*(?<skip>[\s\S]+?)\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*\) - Bank of Baroda. The named groups give you the amount, the last digits of the account or card, the date, the merchant or payee and the available balance or credit limit.

Is this Bank of Baroda 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.

Bank of Baroda Account debit SMS format (BOB_TRANSFER_V1) | Iris SMS Templates