ICICI Bank Account debit credit SMS format
ICICI_CREDIT_INFO_V1
Last updated
Quick answer
An ICICI Bank Account debit / credit credit SMS looks like this: “ICICI Bank Account XX566 credited:Rs. 18,832.00 on 28-Feb-25. Info INF*000169831922*IQBO SAL FE. Available Balance is Rs. 28,076.14.” 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, 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
ICICI Bank Account XXacct_tail credited:currency. amount on date. Info merchantName. Available Balance is currency2. balance.
Sample SMS
ICICI Bank Account XX566 credited:Rs. 18,832.00 on 28-Feb-25. Info INF*000169831922*IQBO SAL FE. Available Balance is Rs. 28,076.14.
| Field | Extracted value |
|---|---|
| acct_tail | 566 |
| currency | Rs |
| amount | 18,832.00 |
| date | 28-Feb-25 |
| merchantName | INF*000169831922*IQBO SAL FE |
| currency2 | Rs |
| balance | 28,076 |
Compiled regex
^ICICI Bank Account XX\s*(?<acct_tail>[\s\S]+?)\s* credited:\s*(?<currency>[A-Z]{2,4})\s*\. \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* on \s*(?<date>(?:\d{2}-[A-Z]{3}-\d{2,4}|\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s*\. Info \s*(?<merchantName>[\s\S]+?)\s*\. Available Balance is \s*(?<currency2>[A-Z]{2,4})\s*\. \s*(?<balance>[\s\S]+?)\s*\.JSON/api/templates/icici-credit-info-v1
{
"id": "icici-credit-info-v1",
"name": "ICICI_CREDIT_INFO_V1",
"bank": {
"code": "ICICI",
"name": "ICICI Bank",
"slug": "icici-bank"
},
"category": "Account debit / credit",
"payment_mode": "BANK",
"direction": "credit",
"keywords": [
"ICICI Bank Account",
"credited:",
"Info"
],
"template": "ICICI Bank Account XX{acct_tail} credited:{currency}. {amount} on {date}. Info {merchantName}. Available Balance is {currency2}. {balance}.",
"regex": "^ICICI Bank Account XX\\s*(?<acct_tail>[\\s\\S]+?)\\s* credited:\\s*(?<currency>[A-Z]{2,4})\\s*\\. \\s*(?<amount>[\\d,]+(?:\\.\\d{1,2})?)\\s* on \\s*(?<date>(?:\\d{2}-[A-Z]{3}-\\d{2,4}|\\d{2}[A-Z]{3}\\d{4}|[\\dA-Z\\-/ :T]{4,32}))\\s*\\. Info \\s*(?<merchantName>[\\s\\S]+?)\\s*\\. Available Balance is \\s*(?<currency2>[A-Z]{2,4})\\s*\\. \\s*(?<balance>[\\s\\S]+?)\\s*\\.",
"regex_flags": "i",
"sample": "ICICI Bank Account XX566 credited:Rs. 18,832.00 on 28-Feb-25. Info INF*000169831922*IQBO SAL FE. Available Balance is Rs. 28,076.14.",
"verified": true,
"source": "pennywise"
}Frequently asked questions
What does an ICICI Bank Account debit / credit credit SMS look like?
ICICI Bank Account XX566 credited:Rs. 18,832.00 on 28-Feb-25. Info INF*000169831922*IQBO SAL FE. Available Balance is Rs. 28,076.14. — 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 an ICICI Bank Account debit / credit SMS?
First check that the message contains “ICICI Bank Account”, “credited:”, “Info”. Then match it with this case-insensitive regular expression: ^ICICI Bank Account XX\s*(?<acct_tail>[\s\S]+?)\s* credited:\s*(?<currency>[A-Z]{2,4})\s*\. \s*(?<amount>[\d,]+(?:\.\d{1,2})?)\s* on \s*(?<date>(?:\d{2}-[A-Z]{3}-\d{2,4}|\d{2}[A-Z]{3}\d{4}|[\dA-Z\-/ :T]{4,32}))\s*\. Info \s*(?<merchantName>[\s\S]+?)\s*\. Available Balance is \s*(?<currency2>[A-Z]{2,4})\s*\. \s*(?<balance>[\s\S]+?)\s*\.. 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 ICICI 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.