Created
April 18, 2017 17:00
-
-
Save vs4vijay/925ebb800407535ad412982033771faa to your computer and use it in GitHub Desktop.
Jio SMS Rules JSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"blacklist_regex": "(?i).*[^a-z](password|otp|verification|activation|passcode)[^a-z].*", | |
"min_app_version": "131", | |
"rules": [ | |
{ | |
"name": "Airtel", | |
"telco": true, | |
"patterns": [ | |
{ | |
"regex": "(?i)Bill.*\\sfor\\sRs.\\s?([\\d,\\,]*(?:.\\d{2})?).*mobile\\s?(\\d{10})?.*Due\\sDate:\\s?([\\d,\\-,A-Z]*)", | |
"account_type": "phone", | |
"pattern_UID": "60001", | |
"sort_UID": "60001", | |
"obsolete": true, | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediate'" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*due.*(\\d{2}\\-[a-z]{3}-\\d{2})", | |
"account_type": "phone", | |
"pattern_UID": "60002", | |
"sort_UID": "60002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": -1 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "9000006", | |
"senders": [ | |
"ARWSVC", | |
"AIREXP", | |
"121", | |
"AIROTP", | |
"AIRINF", | |
"ARWINF" | |
] | |
}, | |
{ | |
"name": "Airtel DTH", | |
"telco": false, | |
"patterns": [ | |
{ | |
"regex": "(?i).*", | |
"pattern_UID": "110001", | |
"sort_UID": "110001", | |
"account_type": "generic", | |
"sms_type": "generic" | |
} | |
], | |
"sender_UID": "90000011", | |
"senders": [ | |
"AIRDTH", | |
"AIRDTV" | |
] | |
}, | |
{ | |
"name": "Allahbad Bk", | |
"telco": false, | |
"patterns": [ | |
{ | |
"regex": "(?i)X+(\\d{4}).*debited.*?(ATM).*?(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*bal : (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "360001", | |
"sort_UID": "360001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c no..*?(\\d+).*debited.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*payment to (.*?) --", | |
"account_type": "debit_card", | |
"pattern_UID": "360002", | |
"sort_UID": "360002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+(\\d{4}).*debited by (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*bal.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "360003", | |
"sort_UID": "360003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)neft.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) to (.*) will.*(ref no : \\w+)", | |
"account_type": "bank", | |
"pattern_UID": "360004", | |
"sort_UID": "360004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c no. [-\\w]+(\\d{4}).*debited.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) through Internet Banking fund transfer\\. -- (\\d{2}\\/\\d{2}\\/\\d{2} \\d{2}:\\d{2})", | |
"account_type": "bank", | |
"pattern_UID": "360005", | |
"sort_UID": "360005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy HH:mm" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)account x+(\\d+).*debited.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) for (.+) through Internet Banking\\. -- (\\d{2}\\/\\d{2}\\/\\d{2} \\d{2}:\\d{2})", | |
"account_type": "debit_card", | |
"pattern_UID": "360006", | |
"sort_UID": "360006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy HH:mm" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*(\\d{4}) is credited .*by (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* clr bal : (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "360007", | |
"sort_UID": "360007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)account no\\s*:\\s*x*(\\d{4}) balance\\s*:\\s*(?:INR|Rs)[\\.,\\s\\+]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "360008", | |
"sort_UID": "360008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000036", | |
"senders": [ | |
"ALBANK" | |
] | |
}, | |
{ | |
"name": "AmEx", | |
"telco": false, | |
"patterns": [ | |
{ | |
"regex": "(?i)A charge .* [\\.,\\s]?([\\d,,]*\\.?\\d{2}) has .*Card No. \\*\\*\\*(\\d{5}) at (.*) on (.*) IST.", | |
"account_type": "credit_card", | |
"pattern_UID": "40001", | |
"sort_UID": "40001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy' at 'hh:mma" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Card \\*+(\\d{5}).*total payment (?:of )?(?:INR|Rs)[\\.,\\s]?([\\d,,]*\\.?\\d{2}) is due by ([\\d,\\/]*)", | |
"account_type": "credit_card", | |
"pattern_UID": "40002", | |
"sort_UID": "40002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediately'" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "9000004", | |
"senders": [ | |
"MYAMEX", | |
"AMEXEP", | |
"XXAMEX" | |
] | |
}, | |
{ | |
"name": "Andhra Bnk", | |
"telco": false, | |
"patterns": [ | |
{ | |
"regex": "(?i)pos tran.*?(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*x+(\\d{4}).*is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "350001", | |
"sort_UID": "350001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)withdrawn (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*x+\\s?(\\d{4}).*atm.*is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "350002", | |
"sort_UID": "350002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(Chq \\d+) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*debited.*x+(\\d{4}).*balance is (?:INR|Rs)[\\.:,\\s]*-?([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "350003", | |
"sort_UID": "350003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "350004", | |
"sort_UID": "350004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*debited.*x+(\\d{4}) on (\\d{2}-\\d{2}-\\d{4})(?: towards)?(.*)\\..*balance is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "350005", | |
"sort_UID": "350005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)transaction of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*\\*+(\\d{4}) at (.*) at", | |
"account_type": "credit_card", | |
"pattern_UID": "350006", | |
"sort_UID": "350006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance .* x*(\\d{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "350007", | |
"sort_UID": "350007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*credited.* x*(\\d{4}).* balance is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "350008", | |
"sort_UID": "350008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c x*(\\d{3,4}) is credited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*(?:balance|bal\\.) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "350009", | |
"sort_UID": "350009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)deposited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* x*(\\d{4}) .* balance is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "350010", | |
"sort_UID": "350010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000035", | |
"senders": [ | |
"ANDBNK", | |
"ANDHBK" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"5676782", | |
"+919717000002" | |
], | |
"format": "BAL" | |
}, | |
{ | |
"type": "voice", | |
"numbers": [ | |
"18004195959" | |
] | |
} | |
] | |
}, | |
{ | |
"account_type": "credit_card", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"5676782" | |
], | |
"format": "CARDBAL XXXX" | |
} | |
] | |
} | |
] | |
}, | |
"name": "Axis", | |
"telco": false, | |
"patterns": [ | |
{ | |
"regex": "(?i)Your a\\/c \\d*(\\d{6}) is debited (?:INR|Rs)\\s?(\\d*\\.?\\d{0,2}).*?(?:(?:INR|Rs) (\\d*\\.\\d{2}))? Info: INB\\/(.*?)\\/([^\\/\\n]*)\\/?", | |
"account_type": "bank", | |
"pattern_UID": "30000", | |
"sort_UID": "30000", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Your a\\/c \\d*(\\d{6}) is debited.*?[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) on ([\\d,-]* (?:[\\d,:]*)?) Info: ([^\\/,\\n]*)\\/([^\\/,\\n]*)\\/?([^\\/,\\n]*)\\/?", | |
"account_type": "bank", | |
"pattern_UID": "30001", | |
"sort_UID": "30001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MM-yy HH:mm:ss" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "yy-MM-dd" | |
} | |
] | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "cash-atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"acc_type_override": "ignore", | |
"value": "ecom" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"acc_type_override": "debit_card", | |
"value": "pur" | |
}, | |
{ | |
"txn_type": "ecs", | |
"value": "ecs" | |
}, | |
{ | |
"txn_type": "default", | |
"value": "" | |
} | |
], | |
"group_id": 4 | |
}, | |
"pos": { | |
"group_id": 5 | |
}, | |
"location": { | |
"group_id": 6 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*spent on your Credit Card X+([\\d]{4}) on (.*) at (.*)\\. Avbl.*?(?:INR|Rs)[\\.:,\\s]*(-?[\\d,]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "30002", | |
"sort_UID": "30002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Credit Card X+(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*due date (\\S*)", | |
"account_type": "credit_card", | |
"pattern_UID": "30003", | |
"sort_UID": "30003", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediate'" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Your Credit card.*?xx(\\d{4}) payment of (?:INR|Rs)[\\.,\\s]?(\\d*\\.?\\d{2}).*? is due on ([a-z:0-9:-]*).", | |
"account_type": "credit_card", | |
"pattern_UID": "30004", | |
"sort_UID": "30004", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediate'" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Your a\\/c \\d*(\\d{6}) is debited.*?[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*balance is.*?[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*Info: (.*)", | |
"account_type": "bank", | |
"pattern_UID": "30005", | |
"sort_UID": "30007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Your a\\/c \\d*(\\d{6}) is debited.*?[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) on (.*) a\\/c bal.*?[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) Info: ([^\\/,\\n]*)\\/([^\\/,\\n\\.?]*)\\/?([^\\/,\\n]*)\\/?", | |
"account_type": "bank", | |
"pattern_UID": "30006", | |
"sort_UID": "30006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "yy-MM-dd" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "cash-atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"acc_type_override": "ignore", | |
"value": "ecom" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"acc_type_override": "debit_card", | |
"value": "pur" | |
}, | |
{ | |
"txn_type": "ecs", | |
"value": "ecs" | |
}, | |
{ | |
"txn_type": "default", | |
"value": "" | |
} | |
], | |
"group_id": 5 | |
}, | |
"pos": { | |
"group_id": 6 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)your balance for account no. (\\d+) is (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "30007", | |
"sort_UID": "30008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)your account number \\d*(\\d{6}) has clear balance of (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "30008", | |
"sort_UID": "30009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance.*axis bank credit card \\d+\\**(\\d{4}).*is (?:INR|Rs)[\\.:,\\s|]*(-?[\\d,]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "30009", | |
"sort_UID": "30010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"outstanding_balance": { | |
"txn_direction": "incoming", | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance in savings a\\/c (\\d{6}).*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "30010", | |
"sort_UID": "30011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c \\d*(\\d{6}) is credited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .*balance is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "30012", | |
"sort_UID": "30012", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) account \\d*(\\d{6}) .*balance: [\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "30013", | |
"sort_UID": "30013", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
} | |
], | |
"sender_UID": "9000003", | |
"senders": [ | |
"AXISBK" | |
] | |
}, | |
{ | |
"name": "BOB", | |
"telco": false, | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) is debited.*(\\d{4}).*Bal.*(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}).*(?:at|by) (atm|pos|ebanking|mbanking|neft|rtgs)", | |
"account_type": "debit_card", | |
"pattern_UID": "210001", | |
"sort_UID": "210002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4, | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos", | |
"pos_override": "debit card swipe" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "mbanking", | |
"pos_override": "Mobile Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "ebanking", | |
"pos_override": "E-Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "neft", | |
"pos_override": "Internet Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "rtgs", | |
"pos_override": "Internet Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "imps", | |
"pos_override": "Internet Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "" | |
} | |
], | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*cheque.*(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) is debited.*(\\d{4}) on.*clear bal (?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}).*(?:at|by)[\\.,\\s]*([\\w\\-: ]*)", | |
"account_type": "bank", | |
"pattern_UID": "210005", | |
"sort_UID": "210001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Cheque Transfer", | |
"set_no_pos": true | |
}, | |
"transaction_type": "cheque" | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) is debited.*?(\\d{4}).*?Bal.*?(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "210002", | |
"sort_UID": "210003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "debit", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}) for (?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) on (.*) at (.*) (.* .*) is successful\\.(?:your)?(?: avl)?(?: limit)?(?: is )?(?:INR|Rs)?[\\.,\\s]*(.*)?", | |
"account_type": "credit_card", | |
"pattern_UID": "210003", | |
"sort_UID": "210004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 6 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) due on ([\\d\\.]+)", | |
"account_type": "credit_card", | |
"pattern_UID": "210004", | |
"sort_UID": "210005", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"value": "XXXX" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd.MM.yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediate'" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) is credited to a\\/c \\.*(\\d{4}) on .* bal (?:INR|Rs)[\\.,\\s]*([\\d,-]+\\.?\\d{0,2}).*", | |
"account_type": "bank", | |
"pattern_UID": "210006", | |
"sort_UID": "210006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"transaction_type": "credit" | |
} | |
}, | |
{ | |
"regex": "(?i)clear bal .* a\\/c no. x*(\\d{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "210007", | |
"sort_UID": "210007", | |
"sms_type": "transaction", | |
"reparse": true, | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c no. x*(\\d{4}) (?:INR|Rs)[\\.,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "210021", | |
"sort_UID": "210021", | |
"sms_type": "transaction", | |
"reparse": true, | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000021", | |
"senders": [ | |
"BOBTXN", | |
"BOBCRD", | |
"BOBADC", | |
"BOBSMS" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "voice", | |
"numbers": [ | |
"09015135135" | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "BOI", | |
"telco": false, | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) has been Debited to Your Account X*(\\d{4}) from (ATM) On \\d{2}-\\d{2}-\\d{4}.Available Balance [\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "280001", | |
"sort_UID": "280001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) has been Debited to your account X*(\\d{4}) from.*[-](.*) on \\d{2}-\\d{2}-\\d{4}.*.Available Balance [\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "280002", | |
"sort_UID": "280002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) has been Debited.* account X*(\\d{4}).* (IB|NEFT|RTGS) .*Avail.* Bal.* [\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "280003", | |
"sort_UID": "280003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pos": { | |
"value": "Online Transfer", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(Cheque No [\\d]*) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) has been debited.* account x*(\\d{4}).*(?:Available|avail) (?:bal|balance) [\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "280004", | |
"sort_UID": "280004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"pos": { | |
"value": "Cheque Transfer", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balances are \\d+x+(\\d{4}):\\s*[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "280005", | |
"sort_UID": "280005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .*(?:deposited|credited).* account x*(\\d{3,4}) .*(?:avail|available) (?:bal|balance) (?:INR|Rs)?[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "280006", | |
"sort_UID": "280006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000028", | |
"senders": [ | |
"BOIIND", | |
"STARBI" | |
] | |
}, | |
{ | |
"name": "BOM", | |
"telco": false, | |
"patterns": [ | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited by (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*(?:a/c|account) bal(?:ance)? is :?\\s*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "260001", | |
"sort_UID": "260001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "default", | |
"pos": { | |
"value": "debit", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}) .*debited vide (Cheque no:\\d*).* to payee (.*) by (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on (\\d{2}-[a-z]{3}-\\d{4}).* avl bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "260002", | |
"sort_UID": "260002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 4 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 6 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}) .*credited by (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* avl bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "260003", | |
"sort_UID": "260003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"transaction_type": "credit" | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}) .*available balance is: [\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "260004", | |
"sort_UID": "260004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000026", | |
"senders": [ | |
"MAHABK" | |
] | |
}, | |
{ | |
"name": "BookMyShow", | |
"patterns": [ | |
{ | |
"regex": "(?i)Booking id: ([\\d\\w]*).*Seats: (.*) for (.*) on.*?, ?(.*) at (.*?)\\.", | |
"account_type": "generic", | |
"pattern_UID": "90001", | |
"sort_UID": "90001", | |
"sms_type": "event", | |
"data_fields": { | |
"event_type": "movie", | |
"pnr": { | |
"group_id": 1 | |
}, | |
"event_info": { | |
"group_id": 2 | |
}, | |
"name": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd MMM, yy hh:mma" | |
} | |
] | |
}, | |
"event_location": { | |
"group_id": 5 | |
}, | |
"event_reminder_span": { | |
"value": 30 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)invited.*for (.*) on.*?, ?(.*) at (.*?)\\.", | |
"account_type": "generic", | |
"pattern_UID": "90002", | |
"sort_UID": "90002", | |
"sms_type": "event", | |
"data_fields": { | |
"event_type": "movie", | |
"event_info": { | |
"value": "Invitation" | |
}, | |
"name": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd MMM, yy hh:mma" | |
} | |
] | |
}, | |
"event_location": { | |
"group_id": 3 | |
}, | |
"event_reminder_span": { | |
"value": 30 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Email ID for (.*?) on .*?, (.*?), at (.*?), seats: (.*?). Booking id: (\\w+).", | |
"account_type": "generic", | |
"pattern_UID": "90003", | |
"sort_UID": "90003", | |
"sms_type": "event", | |
"data_fields": { | |
"event_type": "movie", | |
"name": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd MMM, yy hh:mma" | |
} | |
] | |
}, | |
"event_location": { | |
"group_id": 3 | |
}, | |
"event_info": { | |
"group_id": 4 | |
}, | |
"pnr": { | |
"group_id": 5 | |
}, | |
"event_reminder_span": { | |
"value": 30 | |
} | |
} | |
} | |
], | |
"sender_UID": "9000009", | |
"senders": [ | |
"BMSHOW" | |
] | |
}, | |
{ | |
"name": "CORP BANK", | |
"patterns": [ | |
{ | |
"regex": "(?i)ATM withdrawal of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) done from your a\\/c (?:.*)(\\d{3}) At (.*) On (\\d{2}\\/\\d{2}\\/\\d{4}) .*.Avl bal is [\\.:,\\s+]*(-?[\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "270001", | |
"sort_UID": "270001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)An amount of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) has been debited from your A\\/c .*(\\d{4}) for an online transaction done at (.*) using CorpNet banking", | |
"account_type": "bank", | |
"pattern_UID": "270002", | |
"sort_UID": "270002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\.*(\\d{3}) .*debited.* (?:INR|Rs)[\\.,\\s\\+]*([\\d,]*\\.?\\d{0,2}) on.* (?:by|for) (.*)\\. avl bal is \\+?[\\.,\\s]*([\\d,\\-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "270003", | |
"sort_UID": "270003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"pos_override": "Cheque", | |
"value": "clg", | |
"txn_type": "cheque" | |
}, | |
{ | |
"pos_override": "Cheque", | |
"value": "cheque", | |
"txn_type": "cheque" | |
}, | |
{ | |
"pos_override": "Transfer", | |
"txn_type": "net_banking", | |
"value": "trf" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Net Baking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)A transaction of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) has been done using your CorpBank Credit Card \\d\\*{4}(\\d{4}) at (.*)[,].* at .*", | |
"account_type": "credit_card", | |
"pattern_UID": "270004", | |
"sort_UID": "270004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)POS.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*?\\.+(\\d{3}) at(.*)on.*Bal is [\\.:,\\s+]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "270005", | |
"sort_UID": "270005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\.*(\\d{3}) .*credited.* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* avl bal is \\+?[\\.,\\s]*([\\d,\\-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "270006", | |
"sort_UID": "270006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)credited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* a\\/c \\**\\d*.*(\\d{3}) by .*avl bal is \\+?[\\.,\\s]*([\\d,\\-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "270007", | |
"sort_UID": "270007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)bal .*\\.*(\\d{3}) in .* \\+?[\\.,\\s]*([\\d,\\-]*\\.?\\d{0,2}) as on", | |
"account_type": "bank", | |
"pattern_UID": "270008", | |
"sort_UID": "270008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000027", | |
"senders": [ | |
"CORPBK" | |
] | |
}, | |
{ | |
"name": "CSB", | |
"patterns": [ | |
{ | |
"regex": "(?i)a\\/c \\d*-\\d+(\\d{4})-\\d*.*\\n*\\s*debit [\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\.cur bal: [\\.:,\\s]*(-?[\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "410001", | |
"sort_UID": "410001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"enable_chaining": true, | |
"transaction_type": "net_banking", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true, | |
"incomplete": false | |
} | |
], | |
"child_override": [ | |
{ | |
"parent_field": "transaction_type", | |
"child_field": "transaction_type" | |
}, | |
{ | |
"parent_field": "pos", | |
"child_field": "pos" | |
}, | |
{ | |
"parent_field": "pan", | |
"child_field": "pan" | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "amount", | |
"child_field": { | |
"field": "amount" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "date", | |
"match_value": 86400000, | |
"child_field": { | |
"field": "date" | |
}, | |
"match_type": "delta" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "none" | |
} | |
] | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)otp .*with\\s(.*) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*debit card ending (\\d{4})", | |
"account_type": "debit_card", | |
"pattern_UID": "410002", | |
"sort_UID": "410002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"deleted": true, | |
"incomplete": true, | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c \\d*-\\d+(\\d{4})-\\d*\\:.* credit [\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).Cur Bal:[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "410003", | |
"sort_UID": "410003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance .* account:\\d*-\\d+(\\d{4})-\\d*.*\n* is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "410004", | |
"sort_UID": "410004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000041", | |
"senders": [ | |
"CSBBNK" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "voice", | |
"numbers": [ | |
"09015483483" | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "Canara", | |
"patterns": [ | |
{ | |
"regex": "(?i)X+(\\d{4}).*debited.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*towards POS.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "230001", | |
"sort_UID": "230001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "debit card swipe", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+(\\d{4}).*debited.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*towards ATM.*(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "230002", | |
"sort_UID": "230002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "atm", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*debited.*X+(\\d{4}).*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "230003", | |
"sort_UID": "230003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "netbanking spend", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)using.*(\\d{4}) at ME (.*)\\,.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "230004", | |
"sort_UID": "230004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)due date.*(\\d{4}) is (.*?)\\. Amount billed is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "230005", | |
"sort_UID": "230005", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediate'" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c x+(\\d{4}):\\s*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "230006", | |
"sort_UID": "230020", | |
"sms_type": "transaction", | |
"reparse": true, | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) .* credited .* x*(\\d{4}) .*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "230007", | |
"sort_UID": "230007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) spent.* canara card .* (\\d{4}) at (.*) on .* available limit (?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "230008", | |
"sort_UID": "230008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)account\\s?x*(\\d{4}) has gone .* avail.bal (?:INR|Rs)?[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "230009", | |
"sort_UID": "230009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000023", | |
"senders": [ | |
"CANBNK", | |
"CANCRD" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"+919880752484", | |
"52484" | |
], | |
"format": "BAL XXXX" | |
} | |
] | |
}, | |
{ | |
"account_type": "credit_card", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"+919880752484", | |
"52484" | |
], | |
"format": "CARDBAL XXXX" | |
} | |
] | |
} | |
] | |
}, | |
"name": "CitiBank", | |
"patterns": [ | |
{ | |
"regex": "(?i)([\\d,]+\\.?\\d{0,2}).*spent.*[\\d,X]{12}(\\d{4}) on (.*) at (.*?)\\.", | |
"account_type": "credit_card", | |
"pattern_UID": "20001", | |
"sort_UID": "20001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\*{12}(\\d{4}).*Total Due Rs.\\s?([\\d,\\,]*(?:.\\d{1,2})?).*Payment due\\s?((?:immediately)|(?:\\d{2}\\-[a-z]*\\-\\d{2}))", | |
"account_type": "credit_card", | |
"pattern_UID": "20002", | |
"sort_UID": "20002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediately'" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)debit card.*X+(\\d{4}).*purchase of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) at (.*) on ([^\\.]*)", | |
"account_type": "debit_card", | |
"pattern_UID": "20003", | |
"sort_UID": "20003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)debit card.*X+(\\d{4}).*purchase of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on (.*) at ([^\\.]*)", | |
"account_type": "debit_card", | |
"pattern_UID": "20004", | |
"sort_UID": "20004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*withdrawn.*ATM .*X+(\\d{4}).*balance is now (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "20005", | |
"sort_UID": "20005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+(\\d{4}).*debited.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*\\((.*)\\)", | |
"account_type": "bank", | |
"pattern_UID": "20006", | |
"sort_UID": "20006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) from.*X(\\d{4}) to (.*) was accepted\\.\\s*(ref no .*)\\..*a\\/c balance is now (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "20007", | |
"sort_UID": "20007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)total outstanding on card.*?\\**(\\d{4}).*is (?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}).*cash limit is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*cr. limit is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "20008", | |
"sort_UID": "20008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"outstanding_balance": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance.*a\\/c no \\**(\\d{3,4}) is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) .*as on", | |
"account_type": "bank", | |
"pattern_UID": "20009", | |
"sort_UID": "20009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)as on.*balance.*(?:account|a\\/c) no.? x*(\\d{3,4}) is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "20010", | |
"sort_UID": "20010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)((?:cheque|chq) no.\\d*) for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) is debited from your a\\/c no. x*(\\d{4}) .*balance is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "20011", | |
"sort_UID": "20011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"note": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*(\\d{4}) .*credited.* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .*balance is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "20012", | |
"sort_UID": "20012", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "9000002", | |
"senders": [ | |
"CITIBK", | |
"CITIAT" | |
] | |
}, | |
{ | |
"name": "Cosmos", | |
"patterns": [ | |
{ | |
"regex": "(?i).*x+(\\d{4}).*debited.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*", | |
"account_type": "debit_card", | |
"pattern_UID": "290001", | |
"sort_UID": "290001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "debit", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*amount.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*X+(\\d{4}) through (.*) done.*", | |
"account_type": "bank", | |
"pattern_UID": "290002", | |
"sort_UID": "290002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*(\\d{4}) in .* credited for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* balance is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "290003", | |
"sort_UID": "290003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000029", | |
"senders": [ | |
"COSMOS" | |
] | |
}, | |
{ | |
"name": "DeutscheBk", | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn.*(\\w{4}).*for.*(\\batm\\b|\\bpos\\b)(?:.*\\/\\s?|.*)?(.*)\\..*balance: (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "380001", | |
"sort_UID": "380001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"pos_override": "ATM", | |
"value": "atm", | |
"txn_type": "debit_atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos" | |
} | |
], | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn.*(\\w{4}).*for (\\binet\\b).*\\/(.*)\\/.*balance: (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "380002", | |
"sort_UID": "380002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn.*(\\w{4}).*for (.*)\\. clear balance: (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).(\\bchq\\b)", | |
"account_type": "bank", | |
"pattern_UID": "380003", | |
"sort_UID": "380003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn.*(\\w{4}).*for (\\becs\\b):(.*)\\. clear balance: (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "380004", | |
"sort_UID": "380004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn.*(\\w{4}).*for (\\bnet\\b|\\brtgs\\b)(?:.*?[.] (?:ref no. is |utr no. is )?(.*?)?\\.*\\s*clear balance: (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\.)?", | |
"account_type": "bank", | |
"pattern_UID": "380005", | |
"sort_UID": "380005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) deposited in a\\/c .*x*([x\\d]{4}) on .* clear balance: (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "380006", | |
"sort_UID": "380006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000038", | |
"senders": [ | |
"DBALRT" | |
] | |
}, | |
{ | |
"name": "Docomo", | |
"telco": true, | |
"patterns": [ | |
{ | |
"regex": "(?i)(\\d+).*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\..*Due Date.*is ([a-z0-9-]+)", | |
"account_type": "phone", | |
"pattern_UID": "220001", | |
"sort_UID": "220001", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(\\d{9}).*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*due.*(?:on|is) ([a-z0-9-]+)", | |
"account_type": "phone", | |
"pattern_UID": "220002", | |
"sort_UID": "220002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*mobile (\\d{10}).*due.*(?:on|is) ([a-z0-9-]+)", | |
"account_type": "phone", | |
"pattern_UID": "220003", | |
"sort_UID": "220003", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "90000022", | |
"senders": [ | |
"DOCOMO" | |
] | |
}, | |
{ | |
"name": "Federal Bk", | |
"patterns": [ | |
{ | |
"regex": "(?i)x+(\\d{4}).*(?:for|debited with) (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*(?:at|through) \\+?(.*) ATM on.*bal.*is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "370001", | |
"sort_UID": "370001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)using (\\S+).*payment of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*x+(\\d{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "370002", | |
"sort_UID": "370002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*(ref no.? \\d+)", | |
"account_type": "bank", | |
"pattern_UID": "370003", | |
"sort_UID": "370003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)your (.*)? x+(\\d{4}).*(?:for|debited with) (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*(?:at|through) \\+?(.*) on.*bal.*is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "370004", | |
"sort_UID": "370004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_card", | |
"acc_type_override": "debit_card", | |
"value": "card" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "", | |
"pos_override": "net banking" | |
} | |
], | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}) thru (neft|rtgs).*bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2})", | |
"account_type": "bank", | |
"pattern_UID": "370005", | |
"sort_UID": "370005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*(standing instruction)(?: to )?(.*)? on.*is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2})", | |
"account_type": "bank", | |
"pattern_UID": "370006", | |
"sort_UID": "370006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) by (?:clg) (.*?)\\/.*\\/(.*) on.*is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "370007", | |
"sort_UID": "370007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) a\\/c x*(\\d{4}) is debited .* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*bal.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "370008", | |
"sort_UID": "370008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"transaction_type": "net_banking" | |
} | |
}, | |
{ | |
"regex": "(?i) closing bal.* x*(\\d{4}) .* is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "370009", | |
"sort_UID": "370009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) a\\/c x*(\\d{4}) is credited .* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*bal.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "370010", | |
"sort_UID": "370010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"transaction_type": "credit" | |
} | |
}, | |
{ | |
"regex": "(?i)available balance .*(\\d{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "370011", | |
"sort_UID": "370011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) debited .* a\\/c x+(\\d{4}) via \\+*(.* atm) on ([\\w]* [\\d\\:]*).bal-(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "370012", | |
"sort_UID": "370012", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "ddMMMyy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)card \\d*x+(\\d{4}).*(?:for|debited with) (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*(?:at|through) \\+?(.*) ATM on ([\\d\\-]* [\\d\\:]*)", | |
"account_type": "debit_card", | |
"pattern_UID": "370013", | |
"sort_UID": "370013", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) done .* card x+(\\d{4}) at (.*) on ([\\w]* [\\d\\:]*).bal-(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "370014", | |
"sort_UID": "370014", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "ddMMMyy HH:mm:ss" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000037", | |
"senders": [ | |
"FEDBNK" | |
] | |
}, | |
{ | |
"name": "FlipKart", | |
"patterns": [ | |
{ | |
"regex": "(?i).*", | |
"pattern_UID": "100001", | |
"sort_UID": "100001", | |
"account_type": "generic", | |
"sms_type": "generic" | |
} | |
], | |
"sender_UID": "90000010", | |
"senders": [ | |
"FLPKRT", | |
"FLIPKT", | |
"EKARTL", | |
"FPKART" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"5676712" | |
], | |
"format": "BAL" | |
}, | |
{ | |
"type": "voice", | |
"numbers": [ | |
"18002703333" | |
] | |
} | |
] | |
}, | |
{ | |
"account_type": "credit_card", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"5676712" | |
], | |
"format": "CCBAL XXXX" | |
} | |
] | |
} | |
] | |
}, | |
"name": "HDFC", | |
"patterns": [ | |
{ | |
"regex": "(?i)Thank you\\s.*HDFC Bank DEBIT.*ending\\s([0-9]{4})\\sfor\\s(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\stowards\\s(.*)in\\s(.*)at\\s(.*)\\son\\s([0-9-:]*)\\.", | |
"account_type": "debit_card", | |
"pattern_UID": "10001", | |
"sort_UID": "10001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"location": { | |
"group_id": 4 | |
}, | |
"note": { | |
"group_id": 5 | |
}, | |
"date": { | |
"group_id": 6, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\s.*HDFCBank\\sCREDIT.*ending\\s*([0-9]*)\\son\\s([0-9:-]*)\\sat\\s(.*)\\.Avl bal - (?:INR|Rs)[\\.,\\s]*(-?[\\d,]*\\.?\\d{0,2}), curr o/s - (?:INR|Rs)[\\.:,\\s]*(-?[\\d,]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "10002", | |
"sort_UID": "10002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"outstanding_balance": { | |
"group_id": 6 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Stmt.*ending\\s(\\d{4}).*Total Due (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*((?:immediately)|(?:\\d{2}\\/[a-z]*\\/\\d{4}))", | |
"account_type": "credit_card", | |
"pattern_UID": "10003", | |
"sort_UID": "10003", | |
"obsolete": true, | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MMM/yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediately'" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)An.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*debited .*x+(\\d{4}) for (.*?) (?:txn|requested|done|using)", | |
"account_type": "bank", | |
"pattern_UID": "10005", | |
"sort_UID": "10005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"incomplete": true, | |
"transaction_type": "net_banking", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": false, | |
"incomplete": false | |
} | |
], | |
"child_override": [ | |
{ | |
"deleted": true, | |
"incomplete": false | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "amount", | |
"child_field": { | |
"field": "amount" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pan", | |
"child_field": { | |
"group_id": 2 | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "date", | |
"match_value": 86400000, | |
"child_field": { | |
"field": "date" | |
}, | |
"match_type": "delta" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "none" | |
} | |
] | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Your (?:payment|recharge) for (.*) - (account .*) for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})(?: with )?(.*)? has been (?:processed|received)", | |
"account_type": "bill_pay", | |
"pattern_UID": "10006", | |
"sort_UID": "10006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "bill_pay", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "Bill payments" | |
}, | |
"pos": { | |
"group_ids": [ | |
1, | |
2 | |
] | |
}, | |
"amount": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Your unsuccessful (ATM).*on.*Card ending (\\d{4}) of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) at location (.*) on\\s([0-9-:]*) is reversed", | |
"account_type": "debit_card", | |
"pattern_UID": "10007", | |
"sort_UID": "10007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"txn_direction": "incoming", | |
"group_id": 3 | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)credit card ending (\\d{4}) for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) in.*(?:\\bat\\b|towards) (.*) on (.*?)\\.", | |
"account_type": "credit_card", | |
"pattern_UID": "10008", | |
"sort_UID": "10008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Thank you\\s.*Debit Card.*ending\\s([0-9]{4})\\sfor\\s(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\sin\\s(.*)at\\s(.*)\\son\\s([0-9-:]*)\\s*avl bal: (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "10009", | |
"sort_UID": "10009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"location": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 6 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*withdrawn.*Card.*ending\\s([0-9]{4})\\son\\s([0-9-:]*)\\sat\\s(.*)\\. Avl bal: (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "10010", | |
"sort_UID": "10010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}) Dr to.*X+(\\d{4}) towards (.*) Val.*Bal (?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "10011", | |
"sort_UID": "10011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "bill_pay", | |
"acc_type_override": "bill_pay", | |
"value": "cc" | |
}, | |
{ | |
"pos_override": "Cheque", | |
"value": "chq", | |
"txn_type": "cheque" | |
}, | |
{ | |
"pos_override": "Cheque", | |
"value": "cts", | |
"txn_type": "cheque" | |
}, | |
{ | |
"txn_type": "ecs", | |
"value": "emi" | |
}, | |
{ | |
"txn_type": "ecs", | |
"value": "ecs" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)ur transaction.*(CREDIT|DEBIT\/ATM).*ending (\\d{4}) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*reversed by (.*) on (\\S+)", | |
"account_type": "credit_card", | |
"pattern_UID": "10012", | |
"sort_UID": "10012", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"txn_direction": "incoming", | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_card", | |
"acc_type_override": "debit_card", | |
"value": "debit/atm" | |
}, | |
{ | |
"txn_type": "credit_card", | |
"acc_type_override": "credit_card", | |
"value": "credit" | |
} | |
], | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) debited.*x+(\\d{4}) towards (chq (?:no. |paid-).*)(?:\\.|,) value", | |
"account_type": "bank", | |
"pattern_UID": "10014", | |
"sort_UID": "10014", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)debited.*credit card for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*at (.*) on (.*?)\\.", | |
"account_type": "credit_card", | |
"pattern_UID": "10015", | |
"sort_UID": "10015", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"pan": { | |
"value": "XXXX" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(prepaid card).*x+(\\d{4}).*of [\\.,\\s]*([\\d,]*\\.?\\d{0,2}) inr.*balance is [\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "10017", | |
"sort_UID": "10017", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Dear Smart pay customer,We have successfully debited your HDFC Bank credit card to pay your (.*) bill for the amount (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "10018", | |
"sort_UID": "10018", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"pos": { | |
"group_id": 1, | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)outstanding.*credit card ending (\\d{4}) is [\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "10019", | |
"sort_UID": "10019", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"outstanding_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance in account.*?\\n*\\s*x+(\\d{4})\\s*is\\s*[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "10020", | |
"sort_UID": "10020", | |
"sms_type": "transaction", | |
"reparse": true, | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*x+(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*a/c (.*?) credited\\s\\((.*?)\\)", | |
"account_type": "bank", | |
"pattern_UID": "10021", | |
"sort_UID": "10021", | |
"sms_type": "transaction", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"incomplete": true, | |
"transaction_type": "net_banking", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true, | |
"incomplete": false | |
} | |
], | |
"child_override": [ | |
{ | |
"deleted": false, | |
"incomplete": false | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "amount", | |
"child_field": { | |
"field": "amount" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pan", | |
"child_field": { | |
"group_id": 1 | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "date", | |
"match_value": 86400000, | |
"child_field": { | |
"field": "date" | |
}, | |
"match_type": "delta" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "none" | |
} | |
] | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance in.*x+(\\d{4}) as of (.+) eod is (?:INR|Rs)[\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "10022", | |
"sort_UID": "10022", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Thank you\\s.*Debit\\/atm Card.*ending\\s([0-9]{4})\\sfor\\s(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\sin\\s(?:.*) at\\s(\\+)(.*)on ([0-9-:]*)", | |
"account_type": "debit_card", | |
"pattern_UID": "10023", | |
"sort_UID": "10023", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"pan": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"location": { | |
"group_id": 4 | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)your hdfc bank (.*) (?:card )ending with \\d*x*\\d*(\\d{4}) for (?:INR|Rs)*[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) at (.*) on ([\\d\\-\\w\\: ]*). .* is (?:INR|Rs)*[,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "10024", | |
"sort_UID": "10024", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"location": { | |
"group_id": 4 | |
}, | |
"pos": { | |
"group_id": 4, | |
"set_no_pos": false | |
}, | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy hh:mm a" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 6 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Thank you\\s.*Debit\\/atm Card.*ending\\s([0-9]{4})\\sfor\\s(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\sin\\s(?:.*) at\\s(.*)on ([0-9-:]*)", | |
"account_type": "debit_card", | |
"pattern_UID": "10025", | |
"sort_UID": "10025", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"pan": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": false | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2}) deposited to a\\/c no x+(\\d{4}) towards .* clr bal is (?:INR|Rs)[\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "10026", | |
"sort_UID": "10026", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)credit card ending (\\d{4}) for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) towards atm wdl on (\\d{4}-\\d{2}\\-\\d{2}\\:\\d{2}\\:\\d{2}\\:\\d{2})\\.Avl bal - (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}),\\s*curr o\\/s bal - (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "10027", | |
"sort_UID": "10027", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_atm", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:HH:mm:ss" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"outstanding_balance": { | |
"group_id": 5 | |
} | |
} | |
} | |
], | |
"sender_UID": "9000001", | |
"senders": [ | |
"5676712", | |
"HDFCBK", | |
"HDFCMP", | |
"TXNALE" | |
] | |
}, | |
{ | |
"name": "HSBC", | |
"patterns": [ | |
{ | |
"regex": "(?i)card(?: no.)? x+(\\d{4}).*for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*at (.*)\\. Call", | |
"account_type": "credit_card", | |
"pattern_UID": "170001", | |
"sort_UID": "170001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)card ending x*(\\d{4}).*Payment due on(.*), Total payment due (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2})", | |
"account_type": "credit_card", | |
"pattern_UID": "170002", | |
"sort_UID": "170002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "ddMMMyy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*(?:Account|A/c) (?:\\d+-)?(\\w+).*debited.*?(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*as (.*) \\..*is\\s?(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*", | |
"account_type": "bank", | |
"pattern_UID": "170003", | |
"sort_UID": "170003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "cash withdrawal", | |
"pos_override": "ATM" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "debit", | |
"pos_override": "net banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "payment debit", | |
"pos_override": "net banking" | |
} | |
], | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*Card X*(\\d{4}) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*at (.*). Call.*?is\\s?(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*", | |
"account_type": "debit_card", | |
"pattern_UID": "170004", | |
"sort_UID": "170004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Credit card no. x+(\\d{4}) for (?:INR|Rs)\\s?(\\d*\\.?\\d{0,2}).*\\. this txn", | |
"account_type": "credit_card", | |
"pattern_UID": "170005", | |
"sort_UID": "170005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000017", | |
"senders": [ | |
"HSBCIN", | |
"HSBCBK" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"+919215676766" | |
], | |
"format": "IBAL" | |
}, | |
{ | |
"type": "voice", | |
"numbers": [ | |
"+912230256767" | |
] | |
} | |
] | |
}, | |
{ | |
"account_type": "credit_card", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"+919215676766" | |
], | |
"format": "IBALCC XXXXXX " | |
} | |
] | |
} | |
] | |
}, | |
"name": "ICICI", | |
"patterns": [ | |
{ | |
"regex": "(?i)debit card purchase of (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}) on (.*). Info.(.*)\\*(.*). Your.*balance is (?:INR|Rs)[\\.,\\s]?([\\d\\,]*\\.?\\d{2})", | |
"account_type": "debit_card", | |
"pattern_UID": "120001", | |
"sort_UID": "120001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pan": { | |
"value": "XXXX" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd MMM" | |
} | |
] | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "cash wdl", | |
"pos_override": "ATM" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+(\\d{4}).*debited.*(?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}).*?([\\S]{3})\\*(.*?)\\*.*bal.*(?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2})", | |
"account_type": "debit_card", | |
"pattern_UID": "120002", | |
"sort_UID": "120006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "cash wdl", | |
"pos_override": "ATM" | |
}, | |
{ | |
"txn_type": "default", | |
"acc_type_override": "bank", | |
"value": "" | |
} | |
], | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited with (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2})\\s*.*info.\\s?(?:.*\\,\\s?)?(.*?)\\..*bal.*(?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2})", | |
"account_type": "bank", | |
"pattern_UID": "120003", | |
"sort_UID": "120003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"pos_override": "Cheque", | |
"value": "cheque", | |
"txn_type": "cheque" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)tranx of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).* credit card.*x+(\\d{3,4}).*at (.*) on (.*?)\\. avbl cr lmt:(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "120004", | |
"sort_UID": "120004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{1,2}).*x+(\\d{3,4}).*due.*((?:\\d{2}-\\S{3}-\\d{2})|(?:immediately))", | |
"account_type": "credit_card", | |
"pattern_UID": "120005", | |
"sort_UID": "120005", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediately'" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)made a purchase of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) using (.*) x+(\\d{4}) at (.*) on (.*)\\..*balance is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "120007", | |
"sort_UID": "120007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy HH:mm:ss" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 6 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balances for AC x+\\d+(\\d{4}) on (.*[ap].?m.?).*total Avbl. Bal:\\s*(?:INR|Rs)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})Avbl. bal:\\s*(?:INR|Rs)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})linked fd bal:\\s*(?:INR|Rs)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "120008", | |
"sort_UID": "120008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy HH:mm:ss a" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)card xx\\d*(\\d{4}).*total amt due:(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*total credit lmt:(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*available credit lmt:(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*as of (.*) \\w{3}", | |
"account_type": "bank", | |
"pattern_UID": "120009", | |
"sort_UID": "120009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"outstanding_balance": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy HH:mm:ss" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:tranx|transaction) of .* [\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).* credit card.*x+(\\d{3,4})..*at (.*) on (.*?)[\\.:,\\s]*(?:avbl|available)[\\.:,\\s]*(?:cr|credit)[\\.:,\\s]*(?:lmt|limit)[\\.:,\\s]*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})[\\.:,\\s]*(?:total|tot)[\\.:,\\s]*(?:cr|credit)[\\.:,\\s]*(?:lmt|limit)[\\.:,\\s]*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "120010", | |
"sort_UID": "1200010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance for (?:account|a\\/c|ac) x+\\d*(\\d{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) as on (\\d{2}\\-\\d{2}\\-\\d{4}\\s\\d{2}\\:\\d{2}\\:\\d{2})", | |
"account_type": "bank", | |
"pattern_UID": "120011", | |
"sort_UID": "120011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) transaction of [a-z]{3} [\\.,\\s]?([\\d,]*\\.?\\d{2}) on (\\d{2}\\-[a-z]{3}\\-\\d{2}) on card x*(\\d{4}) is made at (.*)\\. Available cr.limit is (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}).*", | |
"account_type": "credit_card", | |
"pattern_UID": "120012", | |
"sort_UID": "1200012", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) ac x*(\\d{4}) is credited.* (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) on.*(?:balance|bal) is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "120013", | |
"sort_UID": "120013", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited with (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}).*info.MMT\\*(.*)\\*\\*.*bal.*(?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2})", | |
"account_type": "bank", | |
"pattern_UID": "120014", | |
"sort_UID": "120002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"incomplete": true, | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true, | |
"incomplete": false | |
} | |
], | |
"child_override": [ | |
{ | |
"deleted": false, | |
"incomplete": false | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "note", | |
"child_field": { | |
"field": "note" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pan", | |
"child_field": { | |
"field": "pan" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "date", | |
"match_value": 86400000, | |
"child_field": { | |
"field": "date" | |
}, | |
"match_type": "delta" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "none" | |
} | |
] | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"transaction_type": "net_banking", | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited for (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}) on (\\d{2}-[a-z]{3}-\\d{4} \\d{2}:\\d{2}:\\d{2}) .*imps ref no (.*)\\).", | |
"account_type": "bank", | |
"pattern_UID": "120015", | |
"sort_UID": "120015", | |
"sms_type": "transaction", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"incomplete": true, | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": false, | |
"incomplete": false | |
} | |
], | |
"child_override": [ | |
{ | |
"deleted": true, | |
"incomplete": false | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "note", | |
"child_field": { | |
"field": "note" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pan", | |
"child_field": { | |
"field": "pan" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "date", | |
"match_value": 86400000, | |
"child_field": { | |
"field": "date" | |
}, | |
"match_type": "delta" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "none" | |
} | |
] | |
}, | |
"transaction_type": "net_banking", | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) pockets .*\\**(\\d{4}) .* debited with (?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2}).* balance .*(?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"set_account_as_expense": false, | |
"account_name_override": "Pockets", | |
"pattern_UID": "120016", | |
"sort_UID": "120016", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) transaction of (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}) .* made at (.*?)\\s*using Pockets .* x*(\\d{4}) on (\\d{2}-[a-z]{3}-\\d{4} \\d{2}:\\d{2}:\\d{2}).* balance is (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2})", | |
"account_type": "prepaid", | |
"set_account_as_expense": false, | |
"account_name_override": "Pockets", | |
"pattern_UID": "120017", | |
"sort_UID": "120017", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 2, | |
"set_no_pos": false | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) transaction of (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}) .* made at (.*?)\\s*using Pockets .* x*(\\d{4}) on (\\d{2}-[a-z]{3}-\\d{4} \\d{2}:\\d{2}:\\d{2}).*", | |
"account_type": "prepaid", | |
"set_account_as_expense": false, | |
"account_name_override": "Pockets", | |
"pattern_UID": "120018", | |
"sort_UID": "120018", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 2, | |
"set_no_pos": false | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) pockets .* x*(\\d{4}) .* credited with (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}).* balance .* (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2})", | |
"account_type": "prepaid", | |
"set_account_as_expense": false, | |
"account_name_override": "Pockets", | |
"pattern_UID": "120019", | |
"sort_UID": "120019", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}).* transferred .* Pockets .*(\\d{4}) to (.*)\\.", | |
"account_type": "prepaid", | |
"set_account_as_expense": false, | |
"account_name_override": "Pockets", | |
"pattern_UID": "120020", | |
"sort_UID": "120020", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Online Transfer", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000012", | |
"senders": [ | |
"ICICIB" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "voice", | |
"numbers": [ | |
"18008431122" | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "IDBI", | |
"patterns": [ | |
{ | |
"regex": "(?i)A\\/c [a-z]+(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}); ATM WDL\\.\\s*a\\/c bal.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "180001", | |
"sort_UID": "180001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)A\\/c [a-z]+(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*txn:.*?\\/(.*?)\\.\\s*a\\/c bal.*?(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "180002", | |
"sort_UID": "180002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)A\\/c [a-z]+\\d(\\d{4}) debited for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}) thru Net Bkg\\.\\s*a\\/c bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "180003", | |
"sort_UID": "180003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pos": { | |
"value": "NetBanking Spend", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)A\\/c [a-z]+\\d(\\d{4}) debited.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}) Det: (.*?)\\.\\s*a\\/c bal.*?(?:INR|Rs)[\\.,\\s]*(-?[\\d,]*\\.?\\d{2})", | |
"account_type": "bank", | |
"pattern_UID": "180004", | |
"sort_UID": "180004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)available balance in account \\w+(\\d{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}) as of (.*) hrs", | |
"account_type": "bank", | |
"pattern_UID": "180005", | |
"sort_UID": "180005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c.? .*(\\d{4}) credited.*(?:INR|Rs)[\\.:,\\s]*(-?[\\d,]+\\.?\\d{0,2}) .*a\\/c bal.*(?:INR|Rs)[\\.:,\\s]*(-?[\\d,]+\\.?\\d{0,2}) .*(?:on|as of).*", | |
"account_type": "bank", | |
"pattern_UID": "180006", | |
"sort_UID": "180006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000018", | |
"senders": [ | |
"IDBIBK" | |
] | |
}, | |
{ | |
"name": "IRCTC", | |
"patterns": [ | |
{ | |
"regex": "(?i)PNR\\s*:\\s*(\\d*)[,\uff0c\\s]*TRAIN\\s*:\\s*(\\d*)[,\uff0c\\s]*DOJ\\s*:\\s*(\\d{2}-\\d{2}-\\d{2,4})\\s*[,\uff0c]+.*?[,\uff0c]+[\\s\n]*(.*?)[,\uff0c\\s]+(?:Dep|TIME)\\s*:\\s*(N.A.|(?:\\d{2}(?::\\d{2}){1,2}))\\s*?[,\uff0c][\\s\\S]*?(?:Fare|FARE)\\s*:(\\d*).*(?:SC)\\s*:([\\d,]+\\.?\\d{0,2})", | |
"account_type": "generic", | |
"pattern_UID": "420001", | |
"sort_UID": "420001", | |
"sms_type": "event", | |
"data_fields": { | |
"event_type": "train", | |
"amount": { | |
"create_txn": false, | |
"group_ids": [ | |
6, | |
7 | |
] | |
}, | |
"name": { | |
"value": "Indian Railway" | |
}, | |
"pnr": { | |
"group_id": 1 | |
}, | |
"event_info": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"group_ids": [ | |
3, | |
5 | |
], | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yyyy HH:mm" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy 'N.A.'" | |
} | |
] | |
}, | |
"time": { | |
"group_id": 5 | |
}, | |
"event_location": { | |
"group_id": 4 | |
}, | |
"event_reminder_span": { | |
"value": 60 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)PNR\\s*:\\s*(\\d*)[,\uff0c\\s]*TRAIN\\s*:\\s*(\\d*)[,\uff0c\\s]*DOJ\\s*:\\s*(\\d{2}-\\d{2}-\\d{2,4})[,\uff0c\\s]*(?:Dep|TIME)\\s*:\\s*(N.A.|(?:\\d{2}(?::\\d{2}){1,2}))[,\uff0c\\s]*.*?[,\uff0c][\\s\n]*(.*?)[,\uff0c][\\s\\S]*?(?:Fare|FARE)\\s*:\\s*(\\d*).*(?:SC)\\s*:([\\d,]+\\.?\\d{0,2})", | |
"account_type": "generic", | |
"pattern_UID": "420002", | |
"sort_UID": "420002", | |
"sms_type": "event", | |
"data_fields": { | |
"event_type": "train", | |
"amount": { | |
"create_txn": false, | |
"group_ids": [ | |
6, | |
7 | |
] | |
}, | |
"name": { | |
"value": "Indian Railway" | |
}, | |
"pnr": { | |
"group_id": 1 | |
}, | |
"event_info": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"group_ids": [ | |
3, | |
4 | |
], | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yyyy HH:mm" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy 'N.A.'" | |
} | |
] | |
}, | |
"time": { | |
"group_id": 4 | |
}, | |
"event_location": { | |
"group_id": 5 | |
}, | |
"event_reminder_span": { | |
"value": 60 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)your.*pnr[,\\s\n]*(\\d+).*amt[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "generic", | |
"pattern_UID": "420003", | |
"sort_UID": "420003", | |
"sms_type": "event", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"event_type": "train", | |
"chaining_rule": { | |
"parent_nomatch": { | |
"child_override": [ | |
{ | |
"deleted": true | |
} | |
] | |
}, | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true | |
} | |
], | |
"child_override": [ | |
{ | |
"parent_field": "event_location", | |
"child_field": "event_location" | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Indian Railway" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pnr", | |
"child_field": { | |
"field": "pnr" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
} | |
] | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"event_info": { | |
"value": "Cancelled" | |
}, | |
"name": { | |
"value": "Indian Railway" | |
}, | |
"pnr": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"create_txn": true, | |
"group_id": 2, | |
"txn_direction": "incoming" | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)your.*pnr[,\\s\n]*(\\d+)", | |
"account_type": "generic", | |
"pattern_UID": "420004", | |
"sort_UID": "420004", | |
"sms_type": "event", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"event_type": "train", | |
"chaining_rule": { | |
"parent_nomatch": { | |
"child_override": [ | |
{ | |
"deleted": true | |
} | |
] | |
}, | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true | |
} | |
], | |
"child_override": [ | |
{ | |
"parent_field": "event_location", | |
"child_field": "event_location" | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Indian Railway" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pnr", | |
"child_field": { | |
"field": "pnr" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
} | |
] | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"event_info": { | |
"value": "Cancelled" | |
}, | |
"name": { | |
"value": "Indian Railway" | |
}, | |
"pnr": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Flt bkg with irctc. PNR-(\\w+)\\s*,Flt-(.*?)\\s*,Date-(.*?)\\s*,From-(\\w+)\\s*,\\s*To-(\\w+)\\s*,\\s*Name-.*?,\\s*TID-(\\w+),\\s*Fare-(\\d+\\.?\\d{0,2})", | |
"account_type": "generic", | |
"pattern_UID": "420005", | |
"sort_UID": "420005", | |
"sms_type": "event", | |
"data_fields": { | |
"event_type": "flight", | |
"event_location": { | |
"group_ids": [ | |
4, | |
5 | |
] | |
}, | |
"name": { | |
"value": "IRCTC Flight booking" | |
}, | |
"pnr": { | |
"group_id": 1 | |
}, | |
"event_info": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "EEE MMM dd HH:mm:ss 'IST' yyyy" | |
} | |
] | |
}, | |
"contact": { | |
"prefix": "TID:", | |
"group_id": 6 | |
}, | |
"amount": { | |
"create_txn": false, | |
"group_id": 7 | |
}, | |
"event_reminder_span": { | |
"value": 90 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000042", | |
"senders": [ | |
"IRCTCI" | |
] | |
}, | |
{ | |
"name": "Idea", | |
"telco": true, | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{1,2}).*due date (.*) to avoid", | |
"account_type": "phone", | |
"pattern_UID": "70001", | |
"sort_UID": "70001", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd.MM.yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)due date (\\S*).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "phone", | |
"pattern_UID": "70002", | |
"sort_UID": "70002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"value": "Unknown" | |
}, | |
"date": { | |
"group_id": 1, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
} | |
], | |
"sender_UID": "9000007", | |
"senders": [ | |
"IDEA", | |
"!dea" | |
] | |
}, | |
{ | |
"name": "Indian Bnk", | |
"patterns": [ | |
{ | |
"regex": "(?i)withdrawal of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*(\\d{4}) drawn .*(atm|pos) .*cl bal: [\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "400001", | |
"sort_UID": "400001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos", | |
"pos_override": "debit card swipe" | |
} | |
], | |
"group_id": 3 | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(\\d{4}) is debited by (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) (?:total)?\\s?bal.*?(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "400002", | |
"sort_UID": "400002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "DEBIT", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(\\d{4})\\s?is debited (?:by|for) (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})(?:\\s?for) (.*?)(?:-|\\s).*(ref: \\w+)", | |
"account_type": "bank", | |
"pattern_UID": "400003", | |
"sort_UID": "400003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"note": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)neft.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) to (.*) will.*(ref no : \\w+)", | |
"account_type": "bank", | |
"pattern_UID": "400004", | |
"sort_UID": "400004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*(ref no. \\w+)", | |
"account_type": "bank", | |
"pattern_UID": "400005", | |
"sort_UID": "400005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(chqno: \\d+) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*debited.*(\\d{4}) on", | |
"account_type": "bank", | |
"pattern_UID": "400006", | |
"sort_UID": "400006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(\\d{4})\\s?is debited (?:by|for) (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) to .*(ref: \\w+)", | |
"account_type": "bank", | |
"pattern_UID": "400007", | |
"sort_UID": "400007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance x*(\\d{4}) (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "400008", | |
"sort_UID": "400008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*(\\d{4}) is credited by (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* clr bal : (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "400009", | |
"sort_UID": "400009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) credited to acc x*\\d*(\\d{4}) .*cl bal:[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "400010", | |
"sort_UID": "400010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000040", | |
"senders": [ | |
"INDBNK" | |
] | |
}, | |
{ | |
"name": "Indus", | |
"patterns": [ | |
{ | |
"regex": "(?i)\\**\\d*(\\d{4}) has been debited.*(?:INR|Rs)[\\.\\s]*([\\d,]*\\.?\\d{1,2}) towards.*(Debit Card Purchase|ATM|Internet Transfer|NEFT|ECS|Cheque).*available balance is (?:INR|Rs)[\\.\\s]*([\\d,]*\\.?\\d{1,2})", | |
"account_type": "bank", | |
"pattern_UID": "140001", | |
"sort_UID": "140001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "atm", | |
"pos_override": "ATM" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"acc_type_override": "debit_card", | |
"value": "debit card purchase" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "internet transfer" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "neft" | |
}, | |
{ | |
"txn_type": "ecs", | |
"value": "ecs" | |
}, | |
{ | |
"txn_type": "cheque", | |
"value": "cheque" | |
}, | |
{ | |
"txn_type": "default", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)XX(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on (.*) at (.*) is approved", | |
"account_type": "credit_card", | |
"pattern_UID": "140002", | |
"sort_UID": "140002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy HH:mm" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+(\\d{4}).*due (.*) will.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}) and (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2})", | |
"account_type": "credit_card", | |
"pattern_UID": "140003", | |
"sort_UID": "140003", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediately'" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\**\\d*(\\d{4}) .*debited.* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* (?:bal|balance) is (?:INR|Rs)?[\\.,\\s]*([\\d,-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "140004", | |
"sort_UID": "140004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "default", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\**\\d*(\\d{4}) .*credited.* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*balance is (?:INR|Rs)?[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "140005", | |
"sort_UID": "140005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* credited .*\\**\\d*(\\d{4}).* balance is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "140006", | |
"sort_UID": "140006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)bal of (?:INR|Rs)?[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* a\\/c \\d*\\**\\d*(\\d{4})", | |
"account_type": "bank", | |
"pattern_UID": "140007", | |
"sort_UID": "140007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 1 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\d*\\**\\d*(\\d{4}) has .* balance of (?:INR|Rs)?[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) as on .*", | |
"account_type": "bank", | |
"pattern_UID": "140008", | |
"sort_UID": "140008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000014", | |
"senders": [ | |
"INDUSB" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"+919971056767", | |
"5676788" | |
], | |
"format": "BAL" | |
}, | |
{ | |
"type": "voice", | |
"numbers": [ | |
"18002740110" | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "Kotak", | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*debit card.*?x+(\\d{4}).*at (.*?)\\.\\s?combined.*is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "150001", | |
"sort_UID": "150002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Cash withdrawal of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}) made on .*X+(\\d{4}) on (.*) at (.*)\\.Combined balance .*is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2})", | |
"account_type": "debit_card", | |
"pattern_UID": "150002", | |
"sort_UID": "150001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy'/'HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Transaction.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*credit card.*x+(\\d{4}).*(?:towards|at) (.*?)(?:\\.|\bfor\b|\bon\b)", | |
"account_type": "credit_card", | |
"pattern_UID": "150003", | |
"sort_UID": "150003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*?(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*(?:due by|payment due) (\\d{2}-[a-z]{3}-\\d{2,4})", | |
"account_type": "credit_card", | |
"pattern_UID": "150004", | |
"sort_UID": "150004", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*due date (\\d{2}-[a-z]{3}-\\d{2,4}).*Total due (?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "150005", | |
"sort_UID": "150005", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+\\d{2}?(\\d{4}).*debited.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*ledg bal (?:INR|Rs)?[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "150006", | |
"sort_UID": "150006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "DEBIT", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)payment of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*for.*?x+(\\d{4})(?: by)?(.*?) (?:received|on)", | |
"account_type": "bank", | |
"pattern_UID": "150007", | |
"sort_UID": "150007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "cheque", | |
"value": "chq", | |
"pos_override": "Cheque" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*debited.*a\\/c\\.?.*?(\\d{4}) (?:towards)?\\s?(.*)via.*(ref\\.? no\\.? :?\\s?\\w+)", | |
"account_type": "bank", | |
"pattern_UID": "150008", | |
"sort_UID": "150008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"note": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*debited.*x+(\\d{4}).*towards( ecsidr-| ft| cash withdrawal| neft| rtgs|)?(?: to)?\\s?(.*)\\.combined.*balance is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "150009", | |
"sort_UID": "150009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"account_type_override": "debit_card", | |
"value": "withdrawal" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*debited.*x+(\\d{4}).*(cheque number \\d+).*balance is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "150010", | |
"sort_UID": "150010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*imps (ref no\\.? \\w+)", | |
"account_type": "bank", | |
"pattern_UID": "150011", | |
"sort_UID": "150011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:available|avbl)\\s*(?:balance|bal)\\s*(?:for|in)\\s*(?:a\\/c|account)[\\.:,\\s]x*d*(\\d{4})(?: as on [\\d\\-]*)* is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "150012", | |
"sort_UID": "150012", | |
"sms_type": "transaction", | |
"reparse": true, | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(standing instruction) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) for beneficiary (.+) from.*x+(\\d{4}).*successfully", | |
"account_type": "bank", | |
"pattern_UID": "150013", | |
"sort_UID": "150013", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"pan": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) from a/c x*(\\d{4}).*processed.*(ref no. .*)", | |
"account_type": "bank", | |
"pattern_UID": "150014", | |
"sort_UID": "150014", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) x*(\\d{4}) is (debited|credited) (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) on (\\d{2}-[a-z]{3}-\\d{4} at \\d{2}:\\d{2}:\\d{2}), A\\/c bal is [\\.:,\\s]*([\\d,]+\\.?\\d{0,2}). Info - (.*)", | |
"account_type": "bank", | |
"pattern_UID": "150015", | |
"sort_UID": "150015", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy 'at' HH:mm:ss" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 6 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "net_banking", | |
"value": "debited" | |
}, | |
{ | |
"txn_type": "credit", | |
"value": "credited" | |
} | |
], | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) a\\/c\\s?-?\\s?x*\\d+(\\d{4})\\s(credited|debited)\\s?-?\\s?(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*available bal [\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*", | |
"account_type": "bank", | |
"pattern_UID": "150016", | |
"sort_UID": "150016", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "net_banking", | |
"value": "debited" | |
}, | |
{ | |
"txn_type": "credit", | |
"value": "credited" | |
} | |
], | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) a\\/c x*\\d+(\\d{4}) .* debited with (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) .* vide (cheque No .*)\\. .* bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "150017", | |
"sort_UID": "150017", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) .* debited .*credit card.* x+(\\d{4}).*towards\\s*(.*)(?:for)?.* on (\\d{2}-[a-z]{3}-\\d{4}).*", | |
"account_type": "credit_card", | |
"pattern_UID": "150018", | |
"sort_UID": "150018", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)avbl bal for a\\/c x*(\\d{4}) .*combined avbl bal is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "150019", | |
"sort_UID": "150019", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)salary of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*credited.* x*(\\d{4}).* combined (?:avl|available) bal.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "150020", | |
"sort_UID": "150020", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance of a\\/c no x*\\d*(\\d{4}) as on [\\d,\\/]* is [\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "150021", | |
"sort_UID": "150021", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000015", | |
"senders": [ | |
"KOTAKB" | |
] | |
}, | |
{ | |
"name": "Make My Trip", | |
"patterns": [ | |
{ | |
"regex": "(?i).*starting\\s(.*?)\\sfor\\s(.*?)\\s*,.*?ID\\s*(?:is)*(.*?)\\..*?(?:Rs\\.|INR)\\s*(\\d*)", | |
"account_type": "generic", | |
"pattern_UID": "430001", | |
"sort_UID": "430001", | |
"sms_type": "event", | |
"data_fields": { | |
"deleted": true, | |
"event_type": "flight", | |
"name": { | |
"value": "Make My Trip" | |
}, | |
"date": { | |
"group_id": 1, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd MMM yy" | |
} | |
] | |
}, | |
"event_location": { | |
"group_id": 2 | |
}, | |
"event_info": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"create_txn": false, | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)The PNR for your (.*?) for\\s*(.*?)-(.*?)\\s*on\\s*(.*?)at\\s*(\\d{1,2}:\\d{2})\\s*hrs\\s*is\\s*(\\w*)", | |
"account_type": "generic", | |
"pattern_UID": "430002", | |
"sort_UID": "430002", | |
"sms_type": "event", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"event_type": "flight", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true | |
} | |
], | |
"child_override": [ | |
{ | |
"parent_field": "event_info", | |
"child_field": "contact" | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Make My Trip" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "event_location", | |
"child_field": { | |
"group_id": 2 | |
}, | |
"match_type": "contains" | |
}, | |
{ | |
"parent_field": "event_location", | |
"child_field": { | |
"group_id": 3 | |
}, | |
"match_type": "contains" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "contains" | |
}, | |
{ | |
"parent_field": "sms_time", | |
"match_value": 900000, | |
"child_field": { | |
"field": "sms_time" | |
}, | |
"match_type": "delta" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "none" | |
} | |
] | |
}, | |
"event_location": { | |
"group_ids": [ | |
2, | |
3 | |
] | |
}, | |
"name": { | |
"value": "Make My Trip" | |
}, | |
"event_info": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 4, | |
"group_ids": [ | |
4, | |
5 | |
], | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd MMM yy HH:mm" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd MMM yy" | |
} | |
] | |
}, | |
"time": { | |
"group_id": 5 | |
}, | |
"pnr": { | |
"group_id": 6 | |
}, | |
"event_reminder_span": { | |
"value": 90 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000043", | |
"senders": [ | |
"MKMYTR", | |
"MMTRIP" | |
] | |
}, | |
{ | |
"name": "OlaCab", | |
"patterns": [ | |
{ | |
"regex": "(?i)Ola(?:,|\\s)(.*?)[!\\.] Your booking with ([\\d\\w\\s]*) has been (?:received|confirmed) for ([\\d\\w,: ]*)", | |
"account_type": "generic", | |
"pattern_UID": "80001", | |
"sort_UID": "80001", | |
"sms_type": "event", | |
"data_fields": { | |
"event_type": "taxi", | |
"name": { | |
"value": "Ola" | |
}, | |
"event_info": { | |
"group_id": 1 | |
}, | |
"pnr": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "ddMMM, hh:mm a" | |
} | |
] | |
}, | |
"event_reminder_span": { | |
"value": 30 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*?driver\\s*([\\w\\s\\.]*)\\(\\s*([\\d+]*?)\\s*\\)\\s*for\\s*(.*?\\d\\b)[\\.\\s]+(?:your cab|)\\s*(.*?)\\s*(?:to pick you up (?:@|\u00a1|\\?\\?|)|is|\\.)(.*?)\\.", | |
"account_type": "generic", | |
"pattern_UID": "80002", | |
"sort_UID": "80002", | |
"sms_type": "event", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"event_type": "taxi", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true | |
} | |
], | |
"child_override": [ | |
{ | |
"deleted": false | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Ola" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pnr", | |
"child_field": { | |
"field": "pnr" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "contains" | |
} | |
] | |
}, | |
"name": { | |
"value": "Ola" | |
}, | |
"event_location": { | |
"group_id": 1 | |
}, | |
"contact": { | |
"group_id": 2 | |
}, | |
"pnr": { | |
"group_id": 3 | |
}, | |
"event_info": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "hh:mm a, ddMMM" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd MMM yy hh:mm a" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "" | |
} | |
] | |
}, | |
"event_reminder_span": { | |
"value": 30 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*?bill for your.\\s*(.*?)\\s*is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "generic", | |
"pattern_UID": "80003", | |
"sort_UID": "80003", | |
"sms_type": "event", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"event_type": "taxi", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true | |
} | |
], | |
"child_override": [ | |
{ | |
"parent_field": "event_info", | |
"child_field": "event_info" | |
}, | |
{ | |
"parent_field": "event_location", | |
"child_field": "event_location" | |
}, | |
{ | |
"parent_field": "contact", | |
"child_field": "contact" | |
}, | |
{ | |
"parent_field": "date", | |
"child_field": "date" | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Ola" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pnr", | |
"child_field": { | |
"field": "pnr" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "contains" | |
} | |
] | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"name": { | |
"value": "Ola" | |
}, | |
"pnr": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"create_txn": true, | |
"group_id": 2 | |
}, | |
"show_notification": false | |
} | |
}, | |
{ | |
"regex": "(?i)invoice of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\s*(?:for your ride|for)\\s*(.*?)\\s*is", | |
"account_type": "generic", | |
"pattern_UID": "80004", | |
"sort_UID": "80004", | |
"sms_type": "event", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"event_type": "taxi", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true | |
} | |
], | |
"child_override": [ | |
{ | |
"parent_field": "event_info", | |
"child_field": "event_info" | |
}, | |
{ | |
"parent_field": "event_location", | |
"child_field": "event_location" | |
}, | |
{ | |
"parent_field": "contact", | |
"child_field": "contact" | |
}, | |
{ | |
"parent_field": "date", | |
"child_field": "date" | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Ola" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pnr", | |
"child_field": { | |
"field": "pnr" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "contains" | |
} | |
] | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"name": { | |
"value": "Ola" | |
}, | |
"amount": { | |
"create_txn": true, | |
"group_id": 1 | |
}, | |
"pnr": { | |
"group_id": 2 | |
}, | |
"show_notification": false | |
} | |
}, | |
{ | |
"regex": "(?i)You've got a free upgrade!\\s*(.*?)\\s*-\\s*Driver\\s*(.*?)\\s*\\((.*?)\\),(.*?)\\s*will.*@(.*?)\\.", | |
"account_type": "generic", | |
"pattern_UID": "80005", | |
"sort_UID": "80005", | |
"sms_type": "event", | |
"data_fields": { | |
"enable_chaining": true, | |
"event_type": "taxi", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true | |
} | |
], | |
"child_override": [ | |
{ | |
"deleted": false | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Ola" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pnr", | |
"child_field": { | |
"field": "pnr" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "contains" | |
} | |
] | |
}, | |
"event_reminder_span": { | |
"value": 30 | |
}, | |
"name": { | |
"value": "Ola" | |
}, | |
"event_location": { | |
"group_id": 2 | |
}, | |
"contact": { | |
"group_id": 3 | |
}, | |
"pnr": { | |
"group_id": 1 | |
}, | |
"event_info": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "ddMMM, hh:mm a" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)updated details for\\s*(.*?)\\s*:\\s*(.*?)\\s*\\((.*?)\\)\\.\\s*(?:Your cab|)\\s*(.*?)\\s*(?:to pick you up . |is)(.*?)\\.", | |
"account_type": "generic", | |
"pattern_UID": "80006", | |
"sort_UID": "80006", | |
"sms_type": "event", | |
"data_fields": { | |
"enable_chaining": true, | |
"event_type": "taxi", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true | |
} | |
], | |
"child_override": [ | |
{ | |
"deleted": false | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Ola" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pnr", | |
"child_field": { | |
"field": "pnr" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "contains" | |
} | |
] | |
}, | |
"event_reminder_span": { | |
"value": 30 | |
}, | |
"name": { | |
"value": "Ola" | |
}, | |
"event_location": { | |
"group_id": 2 | |
}, | |
"contact": { | |
"group_id": 3 | |
}, | |
"pnr": { | |
"group_id": 1 | |
}, | |
"event_info": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "ddMMM, hh:mma" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "hh:mm a, ddMMM" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)your (?:ola share |auto |kaali peeli |)booking (.*?) (?:has been|had to be) cancelled", | |
"account_type": "generic", | |
"pattern_UID": "80007", | |
"sort_UID": "80007", | |
"sms_type": "event", | |
"data_fields": { | |
"enable_chaining": true, | |
"event_type": "taxi", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true | |
} | |
], | |
"child_override": [ | |
{ | |
"parent_field": "event_location", | |
"child_field": "event_location" | |
}, | |
{ | |
"parent_field": "contact", | |
"child_field": "contact" | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Ola" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pnr", | |
"child_field": { | |
"field": "pnr" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "contains" | |
} | |
] | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"name": { | |
"value": "Ola" | |
}, | |
"pnr": { | |
"group_id": 1 | |
}, | |
"event_info": { | |
"value": "Cancelled" | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:requested to cancel the|cancellation of your) booking (.*?\\d\\b)", | |
"account_type": "generic", | |
"pattern_UID": "80008", | |
"sort_UID": "80008", | |
"sms_type": "event", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"event_type": "taxi", | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true | |
} | |
], | |
"child_override": [ | |
{ | |
"parent_field": "event_location", | |
"child_field": "event_location" | |
}, | |
{ | |
"parent_field": "contact", | |
"child_field": "contact" | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Ola" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pnr", | |
"child_field": { | |
"field": "pnr" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "contains" | |
} | |
] | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"name": { | |
"value": "Ola" | |
}, | |
"pnr": { | |
"group_id": 1 | |
}, | |
"event_info": { | |
"value": "Cancelled" | |
} | |
} | |
} | |
], | |
"sender_UID": "9000008", | |
"senders": [ | |
"OLACAB" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"5607040" | |
], | |
"format": "BAL <Account number>" | |
} | |
] | |
} | |
] | |
}, | |
"name": "PNB", | |
"patterns": [ | |
{ | |
"regex": "(?i)X+\\d*(\\d{4}).*debited\\s+with (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}),([\\d-]+ [\\d:]+).*(?:thru|using) (.*?)(?:\\.|\\s).*aval bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "240001", | |
"sort_UID": "240001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 4, | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm", | |
"pos_override": "ATM" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "debit", | |
"pos_override": "debit card swipe" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos", | |
"pos_override": "debit card swipe" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "ibs", | |
"pos_override": "internet banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "" | |
} | |
], | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+\\d*(\\d{4}).*debited\\s+with (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}),([\\d-]+ [\\d:]+).*aval bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "240002", | |
"sort_UID": "240003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pos": { | |
"value": "debit", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)credit card X*(\\d{4}) debited with (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*at (.*) on (.*)", | |
"account_type": "credit_card", | |
"pattern_UID": "240004", | |
"sort_UID": "240002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy HH:mm" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+(\\d{4}).*total Due of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*by (\\S*)", | |
"account_type": "credit_card", | |
"pattern_UID": "240005", | |
"sort_UID": "240005", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(\\d+).*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\,fvg\\. (.*) debited from.*X+\\d+(\\d{4})", | |
"account_type": "bank", | |
"pattern_UID": "240006", | |
"sort_UID": "240004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pos": { | |
"group_ids": [ | |
3, | |
1 | |
], | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+\\d*(\\d{4}).*debited\\s*with (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*thru (.*?)(?:\\.|\\s)", | |
"account_type": "debit_card", | |
"pattern_UID": "240007", | |
"sort_UID": "240007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm", | |
"pos_override": "ATM" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "debit", | |
"pos_override": "debit card swipe" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos", | |
"pos_override": "debit card swipe" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "ibs", | |
"pos_override": "internet banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)A\\/c x+\\d*(\\d{4}) has been debited with (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) on ([\\d-]+ [\\d:]+)", | |
"account_type": "bank", | |
"pattern_UID": "240008", | |
"sort_UID": "240008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pos": { | |
"value": "debit", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)account number.*x+(\\d{4})\\n*.*\\n*effective available balance:\\s*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "240009", | |
"sort_UID": "240009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*\\d*(\\d{4}) credited with (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).* aval bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "240010", | |
"sort_UID": "240010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance.* ending with\\s*x*(\\d{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\|.*", | |
"account_type": "bank", | |
"pattern_UID": "240011", | |
"sort_UID": "240011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000024", | |
"senders": [ | |
"PNBSMS", | |
"PNBRWD", | |
"PNBHFL", | |
"PNBCRC" | |
] | |
}, | |
{ | |
"name": "RBLBANK", | |
"patterns": [ | |
{ | |
"regex": "(?i)charge of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*credit card ending with (\\d{4}) at (.+) on (.+[ap].?m.?).*available limit is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "440001", | |
"sort_UID": "440001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MMM/yy 'at' HH:mm a" | |
} | |
] | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) debited.*card no ending x+(\\d{4}) at (atm|)(.+)\\. avail bal [\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "440002", | |
"sort_UID": "440002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"pos_override": "ATM", | |
"value": "atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c no. ending x+(\\d{4}) .*debited for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) on (.+) towards neft.*(utr no \\w+).*available bal is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "440003", | |
"sort_UID": "440003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy 'at' HH:mm:ss" | |
} | |
] | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)account x+(\\d{4}) is debited with\\s*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\s*for (chq no \\d+).*ref\\s*\\.*\\s*(.*?)\\..*balance is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "440004", | |
"sort_UID": "440004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)account\\s*x+(\\d{4}) is debited with (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\s*on (.+) ref (.+) your net available balance is\\s*(?:INR|Rs)?[\\.:,\\s]*([\\d.,]*)", | |
"account_type": "bank", | |
"pattern_UID": "440005", | |
"sort_UID": "440005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy hh:mm:ss" | |
} | |
] | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) credit card .*(\\d{4}) bill of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) with due date (\\d{2}\\-\\d{2}\\-\\d{4}) has .*", | |
"account_type": "credit_card", | |
"pattern_UID": "440006", | |
"sort_UID": "440006", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*(\\d{4}) is credited with .*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* balance .*is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "440007", | |
"sort_UID": "440007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance .*ending (\\d{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "440008", | |
"sort_UID": "440008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000044", | |
"senders": [ | |
"RBLBNK", | |
"RBLCRD" | |
] | |
}, | |
{ | |
"name": "SBBJ", | |
"patterns": [ | |
{ | |
"regex": "(?i)Internet Banking.*Transaction (Ref No \\S*) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "330001", | |
"sort_UID": "330001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*?([\\d,]*\\.?\\d{0,2})\\s?withdrawn.*x+\\s?(\\d{4}).*at (.*?).txn.*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "330002", | |
"sort_UID": "330002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\s?withdrawn at[\\.,\\s]*(.*)\\s?from (?:account|acc|a\\/c)[\\.,\\s]x+\\d*[\\.,\\s]*\\d*(\\d{4}).*(?:avl|available)[\\.,\\s]*(?:bal|balance)[\\.,\\s](?:INR|Rs)[\\.,\\s]*([\\d,-]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "330003", | |
"sort_UID": "330003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)debit card .*x*(\\d{4})\\s?for a purchase .* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\s?on .*at (.*)txn", | |
"account_type": "debit_card", | |
"pattern_UID": "330004", | |
"sort_UID": "330004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*\\d*(\\d{4}) debited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on .*-(.*?)\\s*\\. avl bal (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "330005", | |
"sort_UID": "330005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*\\d*(\\d{4}) credited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* (?:avl|dbt) bal (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "330006", | |
"sort_UID": "330006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:balance|bal).* x*\\d*(\\d{4}) as .*? (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "330007", | |
"sort_UID": "330007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000033", | |
"senders": [ | |
"SBBJNB", | |
"CBSSBJ", | |
"ATMSBJ" | |
] | |
}, | |
{ | |
"name": "SBH", | |
"patterns": [ | |
{ | |
"regex": "(?i)\\d*x+(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*(POS|ATM).*at (.*)\\s?txn", | |
"account_type": "debit_card", | |
"pattern_UID": "320001", | |
"sort_UID": "320001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos" | |
} | |
], | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*?([\\d,]*\\.?\\d{0,2}) withdrawn.*x+(\\d{4}).*at (.*).txn.*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "320002", | |
"sort_UID": "320002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*at (?:\\S{3} \\S{3} \\S{13})?(.*) from.* x+(\\d{4}).*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "320003", | |
"sort_UID": "320003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Internet Banking.*Transaction (Ref No \\S*) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "320004", | |
"sort_UID": "320004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+\\d+(\\d{4}) Debited (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*\\-(.*?)\\..*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "320005", | |
"sort_UID": "320005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(.*)for (?:INR|Rs)[\\.\\s]*([\\d,]*\\.?\\d{1,2}) (?:dbtd|debited).*X+\\d+(\\d{4}).*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "320006", | |
"sort_UID": "320006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*\\d*(\\d{4}) credited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* (?:avl|dbt) bal (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "320007", | |
"sort_UID": "320007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:balance|bal).* x*\\d*(\\d{4}) as .*? (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "320008", | |
"sort_UID": "320008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000032", | |
"senders": [ | |
"ATMSBH", | |
"CBSSBH", | |
"SBHINB" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "voice", | |
"numbers": [ | |
"+919223766666" | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "SBI", | |
"patterns": [ | |
{ | |
"regex": "(?i)\\d*x+(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*POS\\s?(.*?)\\s?at\\s?\\+?(.*?)\\+?txn", | |
"account_type": "debit_card", | |
"pattern_UID": "130003", | |
"sort_UID": "130003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Transaction of (?:INR|Rs)[\\.\\s]*([\\d,]*\\.?\\d{1,2}).*Credit Card XX(\\d{4}) at (.*) on (.*).", | |
"account_type": "credit_card", | |
"pattern_UID": "130004", | |
"sort_UID": "130004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}),.*X+(\\d{4}).*due on (\\d{2}-\\S{3}-\\d{2})", | |
"account_type": "credit_card", | |
"pattern_UID": "130005", | |
"sort_UID": "130005", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediately'" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*?at[\\s+]*(?:\\S{3}\\s*\\+*\\S{3}\\s*\\+*\\S{13})?\\s*\\+?(.*?)[\\s+]*from.*x+\\s*(\\d{4}).+\\.Avl[\\s+]*bal[\\s+]*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "130006", | |
"sort_UID": "130001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*?([\\d,]*\\.?\\d{0,2})[\\s+]*withdrawn[\\s+]*from.*x+\\s*(\\d{4}).*?at[\\s+]*(.*?)\\..*Avl[\\s+]*bal[\\s+]*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "130007", | |
"sort_UID": "130002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)amt due of (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}).*payable by ([\\d\\/]*)", | |
"account_type": "credit_card", | |
"pattern_UID": "130008", | |
"sort_UID": "130006", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"value": "XXXX" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Internet Banking.*Transaction (Ref No \\S*) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "130009", | |
"sort_UID": "130007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+\\d+(\\d{4}) Debited (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*\\-(.*?)\\s*\\.\\s*(?:Avl|Dbt) Bal.*?(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "130010", | |
"sort_UID": "130008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\d*x+(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*ATM\\s?(.*?)\\s?at\\s?\\+?(.*?)\\+? with txn", | |
"account_type": "debit_card", | |
"pattern_UID": "130011", | |
"sort_UID": "130011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\s*withdrawn at.*?atm.*on (?:\\d+)\\s*at (.*?)\\..+\\.Avl bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\.", | |
"account_type": "debit_card", | |
"pattern_UID": "130012", | |
"sort_UID": "130012", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) debit.*x+\\s*(\\d{4}).*atm \\w{13} (.+) for.*txn.*\\.avl bal (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "130013", | |
"sort_UID": "130013", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\s*debit.*x+\\s*(\\d{4}).*atm \\w{13}\\s*(.*)\\s*for.*txn", | |
"account_type": "debit_card", | |
"pattern_UID": "130014", | |
"sort_UID": "130014", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)debit card for withdrawing (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*on (atm \\S+) using card.*x+(\\d{4}) with txn", | |
"account_type": "debit_card", | |
"pattern_UID": "130015", | |
"sort_UID": "130015", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)debit card for withdrawing (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*on (atm \\S+) with txn", | |
"account_type": "debit_card", | |
"pattern_UID": "130016", | |
"sort_UID": "130016", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(service txn) of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*debit card.*x+(\\d{4}).*at (.*) with txn", | |
"account_type": "debit_card", | |
"pattern_UID": "130017", | |
"sort_UID": "130017", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(.*)\\n*\\s*avail bal in a/c x+(\\d{3,4}):\\s*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "130018", | |
"sort_UID": "130018", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"group_id": 1, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy',' HH:mm" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)available balance in your account x+\\s?\\d+(\\d{4}) as on (.*) is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "130019", | |
"sort_UID": "130019", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) x*\\d*(\\d{4}) credited (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) on .* (?:avl|dbt) bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "130020", | |
"sort_UID": "130020", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000013", | |
"senders": [ | |
"ATMSBI", | |
"CBSSBI", | |
"SBICRD", | |
"SBIINB", | |
"SCISMS", | |
"SBIPSG" | |
] | |
}, | |
{ | |
"name": "SBM", | |
"patterns": [ | |
{ | |
"regex": "(?i)\\d*x+(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*(POS|ATM).*at (.*) txn", | |
"account_type": "debit_card", | |
"pattern_UID": "300001", | |
"sort_UID": "300001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos" | |
} | |
], | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*?([\\d,]*\\.?\\d{0,2})\\s?withdrawn.*?x*\\s?(\\d{4}).*at (.*).txn.*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "300002", | |
"sort_UID": "300002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*at (?:\\S{3} \\S{3} \\S{13})?(.*)from.* x+(\\d{4}).*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "300003", | |
"sort_UID": "300003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Internet Banking.*Transaction (Ref No \\S*) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "300004", | |
"sort_UID": "300004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+\\d+(\\d{4}) Debited (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*\\-(.*?)\\..*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "300005", | |
"sort_UID": "300005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(.*) for.*(?:INR|Rs)[\\.\\s]*([\\d,]*\\.?\\d{1,2}).*X+\\d+(\\d{4}).*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "300006", | |
"sort_UID": "300006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*\\d*(\\d{4}) credited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* (?:avl|dbt) bal (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "300007", | |
"sort_UID": "300007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:balance|bal).* x*\\d*(\\d{4}) as .*? (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "300008", | |
"sort_UID": "300008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000030", | |
"senders": [ | |
"ATMSBM", | |
"CBSSBM", | |
"SBMINB" | |
] | |
}, | |
{ | |
"name": "SBP", | |
"patterns": [ | |
{ | |
"regex": "(?i)\\d*x+(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*(POS|ATM).*at (.*) txn", | |
"account_type": "debit_card", | |
"pattern_UID": "310001", | |
"sort_UID": "310001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos" | |
} | |
], | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*?([\\d,]*\\.?\\d{0,2}) withdrawn.*x+(\\d{4}).*at (.*).txn.*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "310002", | |
"sort_UID": "310002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*?at\\s?(?:\\S{3} \\S{3} \\S{13})?(.*)\\s?from.* x+\\s?(\\d{4}).*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "310003", | |
"sort_UID": "310003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Internet Banking.*Transaction (Ref No \\S*) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "310004", | |
"sort_UID": "310004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+\\d+(\\d{4}) Debited (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*\\-(.*?)\\..*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "310005", | |
"sort_UID": "310005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(.*)for (?:INR|Rs)[\\.\\s]*([\\d,]*\\.?\\d{1,2}) (?:dbtd|debited).*X+\\d+(\\d{4}).*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "310006", | |
"sort_UID": "310006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*\\d*(\\d{4}) credited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* (?:avl|dbt) bal (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "310007", | |
"sort_UID": "310007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:balance|bal).* x*\\d*(\\d{4}) as .*? (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "310008", | |
"sort_UID": "310008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000031", | |
"senders": [ | |
"ATMSBP", | |
"CBSSBP", | |
"SBPINB" | |
] | |
}, | |
{ | |
"name": "SBT", | |
"patterns": [ | |
{ | |
"regex": "(?i)x+(\\d{4}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*(POS|ATM).*at\\+?(.*)\\+?txn", | |
"account_type": "debit_card", | |
"pattern_UID": "340001", | |
"sort_UID": "340001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos" | |
} | |
], | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*?([\\d,]*\\.?\\d{0,2}) withdrawn.*x+\\s?(\\d{4}).*at (.*?).txn.*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "340002", | |
"sort_UID": "340002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*at (?:\\S{3} \\S{3} \\S{13})?(.*) from.* x+\\s?(\\d{4}).*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "340003", | |
"sort_UID": "340003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Internet Banking.*Transaction (Ref No \\S*) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "340004", | |
"sort_UID": "340004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)X+\\d+(\\d{4}) Debited (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*\\-(.*?)\\..*bal (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "340005", | |
"sort_UID": "340005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)([\\w\\/: ]+) avail .* (?:INR|Rs)[\\.:,\\s]*x*(\\d{3,4})[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "340006", | |
"sort_UID": "340006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"group_id": 1, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/mm/yy HH:mm:ss" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*\\d*(\\d{4}) credited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* (?:avl|dbt) bal (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "340007", | |
"sort_UID": "340007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:balance|bal).* x*\\d*(\\d{4}) as .*? (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "340008", | |
"sort_UID": "340008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000034", | |
"senders": [ | |
"ATMSBT", | |
"CBSSBT", | |
"SBTINB", | |
"SBTNET" | |
] | |
}, | |
{ | |
"name": "StanC", | |
"patterns": [ | |
{ | |
"regex": "(?i)Thank you for using.*?(?:x+)?(\\d{4}).*?(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2})[ \\.]", | |
"account_type": "credit_card", | |
"pattern_UID": "160001", | |
"sort_UID": "160001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Spent", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).* Due Date.*([\\d\\/]{8})", | |
"account_type": "credit_card", | |
"pattern_UID": "160002", | |
"sort_UID": "160002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"value": "XXXX" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediate'" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)XX(\\d{4}) is debited on (.*) by (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) towards (.*)\\.\\s*Avl bal\\s*:\\s*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "160003", | |
"sort_UID": "160003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pan": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd/MM/yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4, | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm cash withdrawal", | |
"pos_override": "ATM" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "purchase" | |
} | |
], | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*XX(\\d{4}).*debited on (.*) by (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) towards (.*)\\.Available balance:(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "160004", | |
"sort_UID": "160004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4, | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "cheque", | |
"value": "cheque" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)withdrawn (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*credit card.*(\\d{4})", | |
"account_type": "credit_card", | |
"pattern_UID": "160005", | |
"sort_UID": "160005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x+(\\d{4}).*debited.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*((?:chq|cheque) (?:no|number) \\d+).*balance.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2})", | |
"account_type": "bank", | |
"pattern_UID": "160006", | |
"sort_UID": "160006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*debited.*ending x+(\\d{4}) at (.*)\\..*bal [\\.,\\s]*([\\d,]*\\.?\\d{2})", | |
"account_type": "debit_card", | |
"pattern_UID": "160007", | |
"sort_UID": "160007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:account |acc )(?: number |no |no.)\\**\\d*x*(\\d{4}).*on ([\\w\\s\\d\\,\\:]*) are(?:\\: )(?:avl.|available) (?:bal: |balance)(?:INR|Rs)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "160008", | |
"sort_UID": "160008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "MMMM dd, yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "MMMM dd, yy 'at' hh:mm:ss a" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:account |acc )(?: number |no |no.)\\d*x*(\\d{4}).*on ([\\w\\s\\d\\,\\:]*) are(?:\\: )(?:avl.|available) (?:bal: |balance)(?:INR|Rs)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "160009", | |
"sort_UID": "160009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "MMMM dd, yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "MMMM dd, yy 'at' hh:mm:ss a" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)account \\d*x*(\\d{4}) has been credited .* by (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* balance:(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "160010", | |
"sort_UID": "160010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)neft credit of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* account \\d*x*(\\d{4}) .*balance:(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "160011", | |
"sort_UID": "160011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)credit card pymt .* due on (\\d{2}\\/\\d{2}\\/\\d{2}),total due: (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*", | |
"account_type": "credit_card", | |
"pattern_UID": "160012", | |
"sort_UID": "160012", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"value": "XXXX" | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 1, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "'immediate'" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "90000016", | |
"senders": [ | |
"FROMSC", | |
"MNHTAN" | |
] | |
}, | |
{ | |
"name": "TATA", | |
"patterns": [ | |
{ | |
"regex": "(?i)Transaction of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) made on TATA Credit Card X+(\\d{4}) at (.*) on", | |
"account_type": "credit_card", | |
"pattern_UID": "250101", | |
"sort_UID": "250101", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Total amt due of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*payable by (\\S*)", | |
"account_type": "credit_card", | |
"pattern_UID": "250102", | |
"sort_UID": "250102", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"value": "XXXX" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy'.'" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "90000025", | |
"senders": [ | |
"TATACD" | |
] | |
}, | |
{ | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "voice", | |
"numbers": [ | |
"09223008586", | |
"09223009292" | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "Union Bank", | |
"patterns": [ | |
{ | |
"regex": "(?i)\\*+\\d*(\\d{4}) is debited.*(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}).*by (.*)?\\..*(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "200001", | |
"sort_UID": "200001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm", | |
"pos_override": "ATM" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "debit card swipe" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)avl bal.*x+\\d+(\\d{4}) is (?:INR|Rs) cr [\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) as on (.*[ap].?m.?) \\w{3}", | |
"account_type": "bank", | |
"pattern_UID": "200002", | |
"sort_UID": "200002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss a" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(Cheque No:.*) is.* \\*+\\d*(\\d{4}) to debit (?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) on .* bal (?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "200003", | |
"sort_UID": "200003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) x*\\d*(\\d{4}) is debited for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) on ([\\d,-]*) and .*(IMPS Ref no \\d*)", | |
"account_type": "bank", | |
"pattern_UID": "200004", | |
"sort_UID": "200004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\*+\\d*(\\d{4}) is debited for (?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) on ([\\d,-]*) by .*", | |
"account_type": "bank", | |
"pattern_UID": "200005", | |
"sort_UID": "200005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\*+\\d*(\\d{4}) .* (credited|debited).*(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) on .* bal.*(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "200006", | |
"sort_UID": "200006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "net_banking", | |
"value": "debited" | |
}, | |
{ | |
"txn_type": "credit", | |
"value": "credited" | |
} | |
], | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)present balance .* \\*+\\d*(\\d{4}) is (?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})\\.", | |
"account_type": "bank", | |
"pattern_UID": "200007", | |
"sort_UID": "200007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000020", | |
"senders": [ | |
"UNIONB" | |
] | |
}, | |
{ | |
"name": "Vodafone", | |
"telco": true, | |
"patterns": [ | |
{ | |
"regex": "(?i)Your.*bill .*?(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*due (?:on|for|before|is)\\s*([^\\s]*)", | |
"account_type": "phone", | |
"pattern_UID": "50001", | |
"sort_UID": "50002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"format": "dd.MM.yy" | |
}, | |
{ | |
"format": "dd-MM-yy" | |
}, | |
{ | |
"format": "dd-MMM-yy" | |
}, | |
{ | |
"format": "yyyyMMdd" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Total Amt Due:([\\d,]*\\.\\d{0,2}).*Payment Due Date:(\\d{2}-[a-z]{3}-\\d{2})", | |
"account_type": "phone", | |
"pattern_UID": "50002", | |
"sort_UID": "50003", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Your bill for.*net due is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).+date is (\\d{2}-\\w{3}-\\d{2,4})", | |
"account_type": "phone", | |
"pattern_UID": "50003", | |
"sort_UID": "50001", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "9000005", | |
"senders": [ | |
"VFCARE", | |
"VDFONE", | |
"VODAFONE", | |
"DAFONE", | |
"111" | |
] | |
}, | |
{ | |
"name": "Walnut", | |
"patterns": [ | |
{ | |
"regex": "(?i).*Walnut.*Code is ([a-z0-9]{6,10})", | |
"account_type": "generic", | |
"pattern_UID": "390001", | |
"sort_UID": "390001", | |
"sms_type": "walnut", | |
"data_fields": { | |
"otp": { | |
"group_id": 1 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000039", | |
"senders": [ | |
"WALNUT" | |
] | |
}, | |
{ | |
"name": "YesBank", | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*(-?[\\d,]*\\.?\\d{0,2}) debited .*XX(\\d{4}).*(ATD|PCD|ATW):.*:.*:(.*) Tot avbl bal-(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "190001", | |
"sort_UID": "190001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atd" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pcd" | |
}, | |
{ | |
"txn_type": "debit_atm", | |
"value": "atw" | |
} | |
], | |
"group_id": 3 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*debited.*x+(\\d{4}).*(ECS|ACH|NET|Clg| RD).*(?:dr|tp|for|ACH|:|- )(.*)tot.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "190002", | |
"sort_UID": "190002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "cheque", | |
"value": "clg", | |
"pos_override": "Cheque" | |
}, | |
{ | |
"txn_type": "ecs", | |
"value": "ecs" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": " rd", | |
"pos_override": "Net Banking" | |
} | |
], | |
"group_id": 3 | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*debited.*x+(\\d{4}).*-(funds|neft|rtgs).*(?:\\d|-)(.*).*tot.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "190003", | |
"sort_UID": "190008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*debited.*x+(\\d{4}).*-((?:chq|cts).*) tot.*-(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "190004", | |
"sort_UID": "190004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)amount.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*debited.*x+(\\d{4}).*(neft).*-(.*)", | |
"account_type": "bank", | |
"pattern_UID": "190005", | |
"sort_UID": "190005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) debited to Ac x+(\\d{4}).*-(.*charges.*) tot.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "190006", | |
"sort_UID": "190006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*debited.*x+(\\d{4}).*neft o\\/w (.*) tot.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "190007", | |
"sort_UID": "190007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:bal|balance) as on ([\\w\\d:\\- ]*) in.*x*(\\d{4}).* is (?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "190008", | |
"sort_UID": "190008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"group_id": 1, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*debited.*x+(\\d{4}) on.*\\d{2}-(.*)tot.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "190009", | |
"sort_UID": "190009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) .*credited to a\\/c no.x*(\\d{4}) .* (?:account|avbl) (?:bal-|balance\\sis\\s|bal\\sis\\s)(?:INR|Rs)?[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "190010", | |
"sort_UID": "190010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000019", | |
"senders": [ | |
"YESBNK" | |
] | |
}, | |
{ | |
"name": "Aircel", | |
"telco": true, | |
"patterns": [ | |
{ | |
"regex": "(?i).*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*due (?:on) ([a-z0-9-.]+)", | |
"account_type": "phone", | |
"pattern_UID": "450001", | |
"sort_UID": "450001", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": -1 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy'.'" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "today" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "90000045", | |
"senders": [ | |
"AIRCEL" | |
] | |
}, | |
{ | |
"name": "RCom", | |
"telco": true, | |
"patterns": [ | |
{ | |
"regex": "(?i).*Reliance no.(\\d{10}).*Total Due:(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*Due Date:([a-z0-9-]+).", | |
"account_type": "phone", | |
"pattern_UID": "460001", | |
"sort_UID": "460001", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": ".*Bill.*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*Due on ([a-z0-9-]+).", | |
"account_type": "phone", | |
"pattern_UID": "460002", | |
"sort_UID": "460002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": -1 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*due.*pay by ([0-9a-z-\/]+)", | |
"account_type": "phone", | |
"pattern_UID": "460003", | |
"sort_UID": "460003", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": -1 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).*due on ([0-9a-z-\/]+)", | |
"account_type": "phone", | |
"pattern_UID": "460004", | |
"sort_UID": "460004", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": -1 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "90000046", | |
"senders": [ | |
"RELIANCE", | |
"53738" | |
] | |
}, | |
{ | |
"patterns": [ | |
{ | |
"regex": "(?i)A\\/c \\dX+(\\d+) .*debited by (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) total bal: (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) .* bal: (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "470001", | |
"sort_UID": "470001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"transaction_type": "net_banking", | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)your A\\/c \\dX+(\\d+) is debited by (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) bal after debit is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) cr.(minimum bal not maintained)", | |
"account_type": "bank", | |
"pattern_UID": "470002", | |
"sort_UID": "470002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"transaction_type": "net_banking", | |
"note": { | |
"group_id": 4 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)thank you for using central card \\d+x+(\\d{4}) for (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) on (.*) at (.*).", | |
"account_type": "debit_card", | |
"pattern_UID": "470003", | |
"sort_UID": "470003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy - HH:mm:ss" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"transaction_type": "debit_card" | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) .* centralbank (credit card) ending ([\\d]+) on ([\\d\\:\\-]*)at (.*)avl bal - (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d+).curr o\\/s - (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d+)", | |
"account_type": "credit_card", | |
"pattern_UID": "470006", | |
"sort_UID": "470006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd:hh:mm" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"group_id": 5 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"outstanding_balance": { | |
"group_id": 7 | |
}, | |
"account_balance": { | |
"group_id": 6 | |
}, | |
"transaction_type": "credit_card" | |
} | |
}, | |
{ | |
"regex": "(?i).* bill for card no \\d+x+(\\d+) is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) is due for payment on (.*). Pls.*centralcard", | |
"account_type": "credit_card", | |
"pattern_UID": "470007", | |
"sort_UID": "470007", | |
"sms_type": "statement", | |
"data_fields": { | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)stmt.* ending (\\d+) .* (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) total due (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).* on ([\\d\\-\\w]+)", | |
"account_type": "credit_card", | |
"pattern_UID": "470008", | |
"sort_UID": "470008", | |
"sms_type": "statement", | |
"data_fields": { | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c:x*\\d*(\\d{4}) clr bal (?:INR|Rs)[\\.,\\s]*([\\d,-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "470009", | |
"sort_UID": "470009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c no:.*x*\\d*(\\d{4}) .* clear bal is (?:INR|Rs)[\\.,\\s\\(\\)\\+a-z]*([\\d,-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "470010", | |
"sort_UID": "470010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*(\\d{4}) is credited by (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* clr bal: (?:INR|Rs)[\\.,\\s]*([\\d,-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "470011", | |
"sort_UID": "470011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000047", | |
"name": "CNTRLBK", | |
"senders": [ | |
"CENTBK" | |
] | |
}, | |
{ | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}) .* debit card \\d*x*(\\d+) on ([\\d+\\-\\:\\,]*) at (.*). Available.* is (?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "490001", | |
"sort_UID": "490001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"group_id": 4 | |
}, | |
"transaction_type": "debit_card", | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy,HH:mm:ss" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}).* debit card \\d*x*(\\d+) on ([\\d+\\-\\:\\,]*) at (?:\\+)*(.*)(?:atm).* (?:available|avl).* is (?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "490002", | |
"sort_UID": "490002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"transaction_type": "debit_atm", | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy,HH:mm:ss" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Your Account .+(\\d{4}) .* debited (?:by|with) (?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}) by (ebanking|mbanking|transfer|clearing|cash)(.*). available.* (?:INR|Rs)*[\\.:,\\s|v]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "490004", | |
"sort_UID": "490004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "cheque", | |
"value": "clearing", | |
"pos_override": "Cheque" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "ebanking", | |
"pos_override": "Net Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "mbanking", | |
"pos_override": "Mobile Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "cash", | |
"pos_override": "Debit" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "transfer", | |
"pos_override": "Online Transfer" | |
} | |
], | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)pos .* on ([\\d\\-]+).* reversed .* (?:account|acc|a\\/c)*(?:no|number)(?:\\.)* (?:[x+\\d]+)(\\d{4}) .* (?:with|by) (?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}). (?:avl|available) (?:bal|balance) is (?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "490006", | |
"sort_UID": "490006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"value": "Debit Card" | |
}, | |
"transaction_type": "debit_card", | |
"amount": { | |
"txn_direction": "incoming", | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 1, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MM-yy" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)atm .* on ([\\d\\-]+).* card (?:no|number)(?:\\. )*(?:\\d*x*)(\\d+) .* credited (?:with|by)* (?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}). (?:avl|available) (?:bal|balance) is (?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "490007", | |
"sort_UID": "490007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"transaction_type": "debit_atm", | |
"amount": { | |
"txn_direction": "incoming", | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 1, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MM-yy" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:avl|available) (?:bal|balance) .* on ([\\d\\w\\-\\/\\:\\s]+)(?: ist) for .* (?:no|number)(?:\\.)* x+\\d*(\\d{4}).* (?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "490008", | |
"sort_UID": "490008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"group_id": 1, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*(\\d{4}) .* credited (?:by|with) (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* balance in your account is [\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "490009", | |
"sort_UID": "490009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000049", | |
"name": "UCO", | |
"senders": [ | |
"UCOBNK" | |
] | |
}, | |
{ | |
"patterns": [ | |
{ | |
"regex": "(?i)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}) (?:INR|Rs) .* debited to .*(?: no | number | no. )\\d*x+\\d*(\\d{4}) (?:by|through) ([neft|rtgs].*)on ([\\d\\w\\-: ]*) now.* credit (?:INR|Rs) [\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "500001", | |
"sort_UID": "500001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}) (?:INR|Rs) .* debited to .*(?: no | number | no. )\\d*x+\\d*(\\d{4}) (?:by|through) ([neft|rtgs].*)on ([\\d\\w\\-: ]*) now.* debit (?:INR|Rs) [\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "500010", | |
"sort_UID": "500002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"txn_direction": "incoming", | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}) (?:INR|Rs) .* debited to .*(?: no | number | no. )\\d*x+\\d*(\\d{4}) (?:by|through) (.*)(?:[. ])on ([\\d\\w\\-: ]*) now.* (?:INR|Rs) [\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "500002", | |
"sort_UID": "500003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"value": "Debit" | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm transaction.", | |
"pos_override": "ATM", | |
"acc_type_override": "debit_card" | |
}, | |
{ | |
"txn_type": "cash", | |
"value": "cash transaction", | |
"pos_override": "Cash", | |
"acc_type_override": "bank" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos transaction.", | |
"pos_override": "Debit Card Swipe", | |
"acc_type_override": "debit_card" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "net banking transaction.", | |
"pos_override": "Net Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "(sweep) fund transfer", | |
"pos_override": "Online Transfer" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "fund transfer", | |
"pos_override": "Online Transfer" | |
}, | |
{ | |
"txn_type": "debit_atm", | |
"value": "eft / atm card transaction.", | |
"pos_override": "Debit Card Swipe", | |
"acc_type_override": "debit_card" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "gbm transaction", | |
"pos_override": "Net Banking" | |
} | |
], | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}) (?:INR|Rs) .* debited to .*(?: no | number | no. )\\d*x+\\d*(\\d{4}) (?:by|through) (.*)(?:.*) on ([\\d\\w\\-: ]*) for", | |
"account_type": "debit_card", | |
"pattern_UID": "500003", | |
"sort_UID": "500004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"value": "Debit" | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_card", | |
"value": "pos transaction.", | |
"pos_override": "Debit Card Swipe" | |
}, | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm transaction.", | |
"pos_override": "ATM" | |
} | |
], | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance in your (?:a\/c|account no) \\d*x*\\d*(\\d{4}).* on ([\\d\\w\\-]*) is (?:credit )*(?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "500004", | |
"sort_UID": "500005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yyyy" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance .* ([\\d\\w\\-]*) in .*: \\d*x*\\d*(\\d{4}) is(?:INR|Rs)* [\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "500005", | |
"sort_UID": "500006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"group_id": 1, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MM-yyyy" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)* [\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}).*debited.* no \\d*x*\\d*(\\d{4}) (?:on|by) (.*) *(?: no)*(?: \\d+)* on ([\\d\\w\\:\\- ]*)now .* (?:INR|Rs)* [\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "500006", | |
"sort_UID": "500007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)* [\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2}) is credited .* a\\/c no \\d*x*\\d*(\\d{4}) .* on ([\\w\\s\\d\\:\\-]*) now .* (?:INR|Rs)* [\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "500008", | |
"sort_UID": "500008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"amount": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance in your (?:a\/c|account no) \\d*x*\\d*(\\d{4}).* on ([\\d\\w\\-]*) is debit (?:INR|Rs)*[\\.:,\\s|v]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "500009", | |
"sort_UID": "500009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yyyy" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"txn_direction": "incoming", | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)amount of [\\.,\\s]*([\\d,]*\\.?\\d{0,2}) INR .*credited .* x*\\d*(\\d{4}) by .*balance is (?:debit|credit) (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "500011", | |
"sort_UID": "500011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000050", | |
"name": "OBC", | |
"senders": [ | |
"OBCBNK" | |
] | |
}, | |
{ | |
"name": "GOIBIBO", | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:PNR is|and) (\\w+).*?flight (\\w+).*?, (\\d+ \\w+) from (\\w+) to (\\w+) at (\\d+)", | |
"account_type": "generic", | |
"pattern_UID": "510001", | |
"sort_UID": "510001", | |
"sms_type": "event", | |
"reparse": true, | |
"data_fields": { | |
"event_type": "flight", | |
"name": { | |
"value": "GOIBIBO" | |
}, | |
"pnr": { | |
"group_id": 1 | |
}, | |
"event_location": { | |
"group_ids": [ | |
4, | |
5 | |
] | |
}, | |
"event_info": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"group_ids": [ | |
3, | |
6 | |
], | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd MMM HHmm" | |
} | |
] | |
}, | |
"time": { | |
"group_id": 6 | |
}, | |
"event_reminder_span": { | |
"value": 90 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000051", | |
"senders": [ | |
"GOIBIB" | |
] | |
}, | |
{ | |
"name": "Cleartrip", | |
"patterns": [ | |
{ | |
"regex": "(?i)Trip ID:\\s*(\\w+).*?-\\s*(\\d{2}\\s*\\w+\\s*\\d{2}),\\s*(\\d{2}:\\d{2})\\s*(.*?)\\s*PNR:\\s*(\\w+)", | |
"account_type": "generic", | |
"pattern_UID": "520001", | |
"sort_UID": "520001", | |
"sms_type": "event", | |
"reparse": true, | |
"data_fields": { | |
"event_type": "flight", | |
"name": { | |
"value": "Clear Trip" | |
}, | |
"pnr": { | |
"group_id": 5 | |
}, | |
"contact": { | |
"prefix": "Trip ID:", | |
"group_id": 1 | |
}, | |
"event_info": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 2, | |
"group_ids": [ | |
2, | |
3 | |
], | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd MMM yy HH:mm" | |
} | |
] | |
}, | |
"time": { | |
"group_id": 3 | |
}, | |
"event_reminder_span": { | |
"value": 90 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*-\\s*(\\d{2}\\s*\\w+\\s*\\d{2}),\\s*(\\d{2}:\\d{2})\\s*(.*?)\\s*PNR:\\s*(\\w+)", | |
"account_type": "generic", | |
"pattern_UID": "520002", | |
"sort_UID": "520002", | |
"sms_type": "event", | |
"reparse": true, | |
"data_fields": { | |
"event_type": "flight", | |
"name": { | |
"value": "Clear Trip" | |
}, | |
"pnr": { | |
"group_id": 4 | |
}, | |
"event_info": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 1, | |
"group_ids": [ | |
1, | |
2 | |
], | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd MMM yy HH:mm" | |
} | |
] | |
}, | |
"time": { | |
"group_id": 2 | |
}, | |
"event_reminder_span": { | |
"value": 90 | |
}, | |
"enable_chaining": true, | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": false | |
} | |
], | |
"child_override": [ | |
{ | |
"parent_field": "contact", | |
"child_field": "contact" | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Clear Trip" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "sms_time", | |
"match_value": 0, | |
"child_field": { | |
"field": "sms_time" | |
}, | |
"match_type": "delta" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "none" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "90000052", | |
"senders": [ | |
"CLRTRP" | |
] | |
}, | |
{ | |
"name": "Yatra", | |
"patterns": [ | |
{ | |
"regex": "(?i)ref number: (\\w+) and .*?origin-destination:(.*?)-(.*?)\\s*,.*?date :([\\d\\w,: -]*),.*?flight number: (.*?),", | |
"account_type": "generic", | |
"pattern_UID": "530001", | |
"sort_UID": "530001", | |
"sms_type": "event", | |
"data_fields": { | |
"event_type": "flight", | |
"name": { | |
"value": "Yatra" | |
}, | |
"event_location": { | |
"group_ids": [ | |
2, | |
3 | |
] | |
}, | |
"event_info": { | |
"group_id": 5 | |
}, | |
"contact": { | |
"prefix": "Ref no:", | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yyyy hh:mm a" | |
} | |
] | |
}, | |
"event_reminder_span": { | |
"value": 90 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)reference number is (\\w+)\\..*? PNR for (.*?)@(\\d{2}:\\d{2}) on (.*?) from (.*?) to (.*?) is (\\w+)", | |
"account_type": "generic", | |
"pattern_UID": "530002", | |
"sort_UID": "530002", | |
"sms_type": "event", | |
"reparse": true, | |
"data_fields": { | |
"event_type": "flight", | |
"name": { | |
"value": "Yatra" | |
}, | |
"pnr": { | |
"group_id": 7 | |
}, | |
"event_location": { | |
"group_ids": [ | |
5, | |
6 | |
] | |
}, | |
"event_info": { | |
"group_id": 2 | |
}, | |
"contact": { | |
"prefix": "Ref no:", | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 4, | |
"group_ids": [ | |
4, | |
3 | |
], | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "EEE dd MMM yy HH:mm" | |
} | |
] | |
}, | |
"time": { | |
"group_id": 3 | |
}, | |
"event_reminder_span": { | |
"value": 90 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)and for (.*?)@(\\d{2}:\\d{2}) on (.*?), (.*?) to (.*?) is (\\w+)\\..*?reference number is (\\w+)", | |
"account_type": "generic", | |
"pattern_UID": "530003", | |
"sort_UID": "530003", | |
"sms_type": "event", | |
"reparse": true, | |
"data_fields": { | |
"event_type": "flight", | |
"name": { | |
"value": "Yatra" | |
}, | |
"pnr": { | |
"group_id": 6 | |
}, | |
"event_location": { | |
"group_ids": [ | |
4, | |
5 | |
] | |
}, | |
"event_info": { | |
"group_id": 1 | |
}, | |
"contact": { | |
"prefix": "Ref no:", | |
"group_id": 7 | |
}, | |
"date": { | |
"group_id": 3, | |
"group_ids": [ | |
3, | |
2 | |
], | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm" | |
} | |
] | |
}, | |
"time": { | |
"group_id": 2 | |
}, | |
"event_reminder_span": { | |
"value": 90 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)PNR for (.*?)@(\\d{2}:\\d{2}) on (.*?), (.*?) to (.*?) is (\\w+)\\..*?reference number is (\\w+)", | |
"account_type": "generic", | |
"pattern_UID": "530004", | |
"sort_UID": "530004", | |
"sms_type": "event", | |
"data_fields": { | |
"event_type": "flight", | |
"name": { | |
"value": "Yatra" | |
}, | |
"pnr": { | |
"group_id": 6 | |
}, | |
"event_location": { | |
"group_ids": [ | |
4, | |
5 | |
] | |
}, | |
"event_info": { | |
"group_id": 1 | |
}, | |
"contact": { | |
"prefix": "Ref no:", | |
"group_id": 7 | |
}, | |
"date": { | |
"group_id": 3, | |
"group_ids": [ | |
3, | |
2 | |
], | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm" | |
} | |
] | |
}, | |
"time": { | |
"group_id": 2 | |
}, | |
"event_reminder_span": { | |
"value": 90 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*PNR for (.*?)@(\\d{2}:\\d{2}) on (.*?)\\s*(?:from|\\,) (.*?) to (.*?) is (\\w+)", | |
"account_type": "generic", | |
"pattern_UID": "530005", | |
"sort_UID": "530005", | |
"sms_type": "event", | |
"reparse": true, | |
"data_fields": { | |
"event_type": "flight", | |
"name": { | |
"value": "Yatra" | |
}, | |
"pnr": { | |
"group_id": 6 | |
}, | |
"event_location": { | |
"group_ids": [ | |
4, | |
5 | |
] | |
}, | |
"event_info": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 3, | |
"group_ids": [ | |
3, | |
2 | |
], | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "EEE dd MMM yy HH:mm" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm" | |
} | |
] | |
}, | |
"time": { | |
"group_id": 2 | |
}, | |
"event_reminder_span": { | |
"value": 90 | |
}, | |
"enable_chaining": true, | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": false | |
} | |
], | |
"child_override": [ | |
{ | |
"parent_field": "contact", | |
"child_field": "contact" | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "name", | |
"child_field": { | |
"value": "Yatra" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "sms_time", | |
"match_value": 0, | |
"child_field": { | |
"field": "sms_time" | |
}, | |
"match_type": "delta" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "none" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "90000053", | |
"senders": [ | |
"YATRAA" | |
] | |
}, | |
{ | |
"name": "BSNL", | |
"telco": true, | |
"patterns": [ | |
{ | |
"regex": "(?i)landline bill.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})(?: for)*(?: against)*(?: BSNL)*(?: account)(?: number | no. )(\\d{10}) .* total outstanding amount is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* (?:before |date )(?: is )*([\\w\\d\\-]*)", | |
"account_type": "phone", | |
"pattern_UID": "540001", | |
"sort_UID": "540001", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "landline_bill", | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)landline bill .* (?:account|acc)(?: number| no. )(\\d{10}) .* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* due date is ([\\w\\d\\-]*)", | |
"account_type": "phone", | |
"pattern_UID": "540002", | |
"sort_UID": "540002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "landline_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)landline bill .*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})(?: for)*(?: account|acc)(?: number | no. )(\\d{10}).*.*due (?:by |on )([\\w\\d\\-]+)", | |
"account_type": "phone", | |
"pattern_UID": "540003", | |
"sort_UID": "540003", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "landline_bill", | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*wireline.*(?:account|acc)(?: number| no. )* (\\d{10}) .* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* due date is ([\\w\\d\\-]*)", | |
"account_type": "phone", | |
"pattern_UID": "540004", | |
"sort_UID": "540004", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "internet_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)ph.no. ([\\d\\-]+) .*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) o.*due date is ([\\w\\d\\-]*)", | |
"account_type": "phone", | |
"pattern_UID": "540005", | |
"sort_UID": "540005", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "landline_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c no(?: )*(\\d+).* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* by(?: )*([\\d\\/ ]*).*", | |
"account_type": "phone", | |
"pattern_UID": "540007", | |
"sort_UID": "540007", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd/M/yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "d/MM/yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "d/M/yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "d /MM/yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c no[\\.,\\s]*(\\d+).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* due (?:dt |date )*is ([\\w\\d\\-]*)", | |
"account_type": "phone", | |
"pattern_UID": "540009", | |
"sort_UID": "540009", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:account |acc )(\\d+) is ([\\d\\-]*).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "phone", | |
"pattern_UID": "540010", | |
"sort_UID": "540010", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "phone_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* (?:no.|number)(?: )*(\\d{10}) before ([\\d\\w\\-]+)", | |
"account_type": "phone", | |
"pattern_UID": "540011", | |
"sort_UID": "540011", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* a\\/c no[\\.,\\s]*(\\d+) is due by ([\\d\\-\\w]*)", | |
"account_type": "phone", | |
"pattern_UID": "540012", | |
"sort_UID": "540012", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)acc_no[\\.,\\s]*(\\d+).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* due_dt.is ([\\d\\-]*)", | |
"account_type": "phone", | |
"pattern_UID": "540013", | |
"sort_UID": "540013", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)wimax .* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* before ([\\d\\-]*)", | |
"account_type": "phone", | |
"pattern_UID": "540014", | |
"sort_UID": "540014", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "internet_bill", | |
"pan": { | |
"group_id": -1 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "dd-M-yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "d-MM-yy" | |
}, | |
{ | |
"use_sms_time": false, | |
"format": "d-M-yy" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)wimax (?:account |acc )(\\d+) is ([\\d\\-]*).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "phone", | |
"pattern_UID": "540015", | |
"sort_UID": "540015", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "internet_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "90000054", | |
"senders": [ | |
"BSNLCARE", | |
"BSNL", | |
"BSNLKL", | |
"BSNLPB", | |
"BSNLBB", | |
"BSNLBILL", | |
"BSNLKT", | |
"BSNLDC" | |
] | |
}, | |
{ | |
"name": "VIJAYA", | |
"patterns": [ | |
{ | |
"regex": "(?i)a\\/c no[\\.:,\\s]*x+(\\d{3}).* avl[\\.\\s]bal[\\.:,\\s](?:INR|Rs)*[\\.:,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "550001", | |
"sort_UID": "550001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|RS)[\\.:,\\s]*([\\d,]*\\.?\\d{0,2}) authorized at (?:me)* (.*) from .* credit card .* *\\d*(\\d{4})", | |
"account_type": "credit_card", | |
"pattern_UID": "550002", | |
"sort_UID": "550002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]*\\.?\\d{0,2}).*Deposited.+\\*+.+(\\d{4})\\s*Details.+Avl.*Amt:-\\s*(-?[\\d]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "550003", | |
"sort_UID": "550003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c \\*+(\\d{4})\\s*balance.+(?:INR|Rs)[\\.:,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "550004", | |
"sort_UID": "550004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn .* \\*+\\d+(\\d{4}).*details: (.* ret charge.*|.*chq book issue.*).tot.* avl amt:-(?:INR|Rs)*[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\(([\\d\\-: ]+)\\)", | |
"account_type": "bank", | |
"pattern_UID": "550005", | |
"sort_UID": "550005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn .* \\*+\\d+(\\d{4}).*details: (.*cheq.*|.*chq.*|self).tot.* avl amt:-(?:INR|Rs)*[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\(([\\d\\-: ]+)\\)", | |
"account_type": "bank", | |
"pattern_UID": "550006", | |
"sort_UID": "550006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn .* \\*+\\d+(\\d{4}).*details: (atm.*).tot.* avl amt:-(?:INR|Rs)*[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\(([\\d\\-: ]+)\\)", | |
"account_type": "bank", | |
"pattern_UID": "550007", | |
"sort_UID": "550007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})[\\.:,\\s]*withdrawn .* \\*+\\d+(\\d{4}).*details: pos\\/(.*)\\/(?:.*).tot.* avl amt:-(?:INR|Rs)*[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\(([\\d\\-: ]+)\\)", | |
"account_type": "bank", | |
"pattern_UID": "550008", | |
"sort_UID": "550008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn a\\/c[\\.:,\\s]*\\**\\d*(\\d{4}) (.*) bal.* avl[\\.:,\\s]*amt[\\.:,\\s]*(?:INR|Rs)*[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "550009", | |
"sort_UID": "550009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn .* \\*+\\d+(\\d{4}).*details: (.*).tot.* avl amt:-(?:INR|Rs)*[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})\\(([\\d\\-: ]+)\\)", | |
"account_type": "bank", | |
"pattern_UID": "550010", | |
"sort_UID": "550010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) withdrawn .* \\*+\\d+(\\d{4}).*details: (.*)", | |
"account_type": "bank", | |
"pattern_UID": "550011", | |
"sort_UID": "550011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000055", | |
"senders": [ | |
"VIJBNK", | |
"VIJBCC" | |
] | |
}, | |
{ | |
"patterns": [ | |
{ | |
"regex": "(?i).*a\\/c [a-z]+(\\d{4}).*debited.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}) on (\\d{2}\\-\\d{2}\\-\\d{4}\\s\\d{2}\\:\\d{2}\\:\\d{2}).*from (.*)\\..*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "560001", | |
"sort_UID": "560001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"deleted": false, | |
"enable_chaining": true, | |
"incomplete": true, | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": true, | |
"incomplete": false | |
} | |
], | |
"child_override": [ | |
{ | |
"deleted": false, | |
"incomplete": false | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "amount", | |
"child_field": { | |
"field": "amount" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pan", | |
"child_field": { | |
"group_id": 1 | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "date", | |
"match_value": 300000, | |
"child_field": { | |
"field": "date" | |
}, | |
"match_type": "delta" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "none" | |
} | |
] | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"value": "Debit" | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm", | |
"pos_override": "ATM" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"acc_type_override": "bank", | |
"value": "pos", | |
"pos_override": "Card Swipe" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "mobile", | |
"pos_override": "Net Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"acc_type_override": "bank", | |
"value": "internet using verified by visa services", | |
"pos_override": "Net Banking" | |
} | |
], | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*debited.*account.*(\\d{4}) on (\\d{2}\\-\\d{2}\\-\\d{4}\\s\\d{2}\\:\\d{2}\\:\\d{2}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "560002", | |
"sort_UID": "560002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"deleted": false, | |
"enable_chaining": true, | |
"incomplete": true, | |
"chaining_rule": { | |
"parent_match": { | |
"parent_override": [ | |
{ | |
"deleted": false, | |
"incomplete": false | |
} | |
], | |
"child_override": [ | |
{ | |
"deleted": true, | |
"incomplete": false | |
} | |
] | |
}, | |
"parent_selection": [ | |
{ | |
"parent_field": "amount", | |
"child_field": { | |
"field": "amount" | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "pan", | |
"child_field": { | |
"group_id": 2 | |
}, | |
"match_type": "exact" | |
}, | |
{ | |
"parent_field": "date", | |
"match_value": 300000, | |
"child_field": { | |
"field": "date" | |
}, | |
"match_type": "delta" | |
}, | |
{ | |
"parent_field": "deleted", | |
"match_type": "none" | |
}, | |
{ | |
"parent_field": "pattern_UID", | |
"match_type": "none" | |
} | |
] | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).* a\\/c [0-9a-z]+(\\d{4}).*debited.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}) on (\\d{2}\\-\\d{2}\\-\\d{4}\\s\\d{2}\\:\\d{2}).*\\. (.*)\\..*clear bal.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*", | |
"account_type": "bank", | |
"pattern_UID": "560004", | |
"sort_UID": "560004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"value": "Net Banking" | |
}, | |
"transaction_type": "net_banking", | |
"note": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*cheque\\s(.*)\\sfor\\s(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*issued.*account\\s[a-z]+(\\d{4}).*clearing\\son\\s(\\d{2}\\-\\d{2}\\-\\d{4}).*", | |
"account_type": "bank", | |
"pattern_UID": "560005", | |
"sort_UID": "560005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MM-yy" | |
} | |
] | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"note": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*bal\\sis\\s[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*on\\s(\\d{2}\\-\\d{2}\\-\\d{4}\\s\\d{2}\\:\\d{2}\\:\\d{2}).*acct\\s[a-z]+(\\d{4})", | |
"account_type": "bank", | |
"pattern_UID": "560006", | |
"sort_UID": "560006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*a\\/c\\s[a-z]+(\\d{4}).*credited.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*bal.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "560007", | |
"sort_UID": "560007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*credited.*(?:a\\/c|account).*(\\d{4}).*on.*bal.*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "560008", | |
"sort_UID": "560008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"misc_information": { | |
"get_balance": [ | |
{ | |
"account_type": "bank", | |
"contact_info": [ | |
{ | |
"type": "sms", | |
"numbers": [ | |
"9223175152" | |
], | |
"format": "DENARBAL" | |
}, | |
{ | |
"type": "voice", | |
"numbers": [ | |
"09289356677" | |
] | |
} | |
] | |
} | |
] | |
}, | |
"sender_UID": "90000056", | |
"name": "DENA", | |
"senders": [ | |
"BKDENA", | |
"DENABK" | |
] | |
}, | |
{ | |
"patterns": [ | |
{ | |
"regex": "(?i).*landline\\sno\\.?\\s?(\\d{8}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*due\\sdate\\s([\\d,\\-,A-Z]*).*", | |
"account_type": "phone", | |
"pattern_UID": "570001", | |
"sort_UID": "570001", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "landline_bill", | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*mtnl\\sno\\s(\\d{8}).*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*is\\s(\\d{2}\\/\\d{2}\\/\\d{4}).*", | |
"account_type": "phone", | |
"pattern_UID": "570002", | |
"sort_UID": "570002", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "landline_bill", | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*mobile\\s\\d+(\\d{10}).*generated.*amount:\\s(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*due\\sdate\\:\\s([\\d,\\-,A-Z]*).*", | |
"account_type": "phone", | |
"pattern_UID": "570003", | |
"sort_UID": "570003", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "mobile_bill", | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i).*bill.*generated.*amount:\\s(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{2}).*due\\sdate\\:\\s([\\d,\\-,A-Z]*).*", | |
"account_type": "phone", | |
"pattern_UID": "570004", | |
"sort_UID": "570004", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "phone_bill", | |
"date": { | |
"group_id": 2, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": -1 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000057", | |
"name": "MTNL", | |
"telco": true, | |
"senders": [ | |
"MTNLCB", | |
"MTNLBL", | |
"MTNLPRS" | |
] | |
}, | |
{ | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})\\sdebited.*a\\/c.*(\\d{4})\\son\\s(\\d{4}\\-\\d{2}\\-\\d{2}\\s\\d{2}\\:\\d{2}\\:\\d{2})-for atm txn at (.*)\\..*", | |
"account_type": "debit_card", | |
"pattern_UID": "580001", | |
"sort_UID": "580001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"transaction_type": "debit_atm", | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd HH:mm:ss" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})\\sdebited.*a\\/c.*(\\d{4})\\son\\s(\\d{4}\\-\\d{2}\\-\\d{2}\\s\\d{2}\\:\\d{2}\\:\\d{2})-for pos txn at .*-.*-(.*)\\..*", | |
"account_type": "debit_card", | |
"pattern_UID": "580002", | |
"sort_UID": "580002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"group_id": 4 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"transaction_type": "debit_card", | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd HH:mm:ss" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})\\s(?:debited|dr).*a\\/c.*(\\d{4})\\son\\s(\\d{4}\\-\\d{2}\\-\\d{2}\\s\\d{2}\\:\\d{2})-for atm txn at\\s+(.*)Avl Bal:[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}).*", | |
"account_type": "debit_card", | |
"pattern_UID": "580003", | |
"sort_UID": "580003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"transaction_type": "debit_atm", | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd HH:mm" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})\\s(?:debited|dr).*a\\/c.*(\\d{4})\\son\\s(\\d{4}\\-\\d{2}\\-\\d{2}\\s\\d{2}\\:\\d{2})-for pos txn at .*-.*-(.*)Avl Bal:[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}).*", | |
"account_type": "debit_card", | |
"pattern_UID": "580004", | |
"sort_UID": "580004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pos": { | |
"group_id": 4 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"transaction_type": "debit_card", | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd HH:mm" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}).*(credited|debited).*account.*\\d*(\\d{4}) on\\s*([\\d\\-a-z]*\\s[\\d\\:]* (?:am|pm)).*(?:balance\\sis|bal)\\s(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "580005", | |
"sort_UID": "580005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy hh:mm:ss a" | |
}, | |
{ | |
"use_sms_time": true, | |
"format": "dd-MM-yy hh:mm a" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "net_banking", | |
"value": "debited" | |
}, | |
{ | |
"txn_type": "credit", | |
"value": "credited" | |
} | |
], | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}).*debited to your account.*(\\d{4})\\son\\s(\\d{4}\\-\\d{2}\\-\\d{2} \\d{2}\\:\\d{2} [a-z]{2})", | |
"account_type": "bank", | |
"pattern_UID": "580006", | |
"sort_UID": "580006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd hh:mm a" | |
} | |
] | |
}, | |
"transaction_type": "net_banking" | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}).*(?:dr|debited).*a\\/c.*(\\d{4}).* on (\\d{4}\\-\\d{2}\\-\\d{2} \\d{2}\\:\\d{2}\\:\\d{2})-.*at a pos terminal .*-.*-(.*?)\\.", | |
"account_type": "debit_card", | |
"pattern_UID": "580007", | |
"sort_UID": "580007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd HH:mm:ss" | |
} | |
] | |
}, | |
"transaction_type": "debit_card" | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}).*(?:dr|debited).*a\\/c.*(\\d{4}).* on (\\d{4}\\-\\d{2}\\-\\d{2} \\d{2}\\:\\d{2}\\:\\d{2})-.*(atm|pos|mobile|nfs).*", | |
"account_type": "debit_card", | |
"pattern_UID": "580008", | |
"sort_UID": "580008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "yy-MM-dd HH:mm:ss" | |
} | |
] | |
}, | |
"transaction_type_rule": { | |
"group_id": 4, | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm" | |
}, | |
{ | |
"txn_type": "debit_card", | |
"value": "pos", | |
"pos_override": "Card Swipe" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "mobile", | |
"pos_override": "Net Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "nfs", | |
"pos_override": "Net Banking", | |
"acc_type_override": "bank" | |
} | |
] | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}) (?:dr|debited) to a\\/c \\*+(\\d{4}).* on (\\d{2}\\-[a-z]{3}\\-\\d{2})-(.*)", | |
"account_type": "bank", | |
"pattern_UID": "580009", | |
"sort_UID": "580009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": true, | |
"format": "dd-MMM-yy" | |
} | |
] | |
}, | |
"transaction_type": "net_banking" | |
} | |
}, | |
{ | |
"regex": "(?i)balance.*a\\/c.*(\\d{4})\\s.*is\\s(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "580010", | |
"sort_UID": "580010", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)cheque (.*) for (?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}) received.*debited.*account.*(\\d{4}) on(.*) Total Avail Bal (?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "580011", | |
"sort_UID": "580011", | |
"sms_type": "transaction", | |
"data_fields": { | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"note": { | |
"prefix": "Cheque ", | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"date": { | |
"group_id": 4, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy hh:mm:ss a" | |
} | |
] | |
}, | |
"transaction_type": "cheque" | |
} | |
}, | |
{ | |
"regex": "(?i)credit card no.*(\\d{4})\\sis\\s(?:INR|Rs)[\\.:,\\s]*([\\d,-]+\\.?\\d{0,2}).*due date is (\\d{2}\\.\\d{2}\\.\\d{4}).*", | |
"account_type": "credit_card", | |
"pattern_UID": "580012", | |
"sort_UID": "580012", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd.MM.yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000058", | |
"name": "Syndicate", | |
"senders": [ | |
"SYNDBK", | |
"SYNBNK" | |
] | |
}, | |
{ | |
"name": "PAYTM", | |
"set_account_as_expense": false, | |
"patterns": [ | |
{ | |
"regex": "(?i)you paid (.*?) Rs\\.\\s*(\\d+\\.?\\d{0,2}) with your Paytm wallet. Your new Paytm wallet balance is Rs\\.\\s*(\\d+\\.?\\d{0,2}) Transaction ID: (\\d+)", | |
"account_type": "prepaid", | |
"pattern_UID": "590001", | |
"sort_UID": "590001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 1 | |
}, | |
"note": { | |
"prefix": "Transaction ID:", | |
"group_id": 4 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)Added Rs\\.\\s*(\\d+\\.?\\d{0,2}).*(?:updated|current).*?balance is Rs\\.?\\s*(\\d+\\.?\\d{0,2})\\..*paytm transaction#\\s*(\\d+)", | |
"account_type": "prepaid", | |
"pattern_UID": "590002", | |
"sort_UID": "590002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Paytm", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"note": { | |
"prefix": "Transaction #", | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(.*?) has added Rs\\.\\s*(\\d+\\.?\\d{0,2}).*updated balance:\\s*Rs\\.\\s*(\\d+\\.?\\d{0,2})\\.\\s*(?:This.*for order\\s*#(.*?)\\s*of(.*?)\\(|)", | |
"account_type": "prepaid", | |
"pattern_UID": "590003", | |
"sort_UID": "590003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"note": { | |
"prefix": "Transaction #", | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)you have received Rs\\.\\s*(\\d+\\.?\\d{0,2})\\s*(?:in your paytm wallet|paytm cash|)\\s*from (.*?)\\s*(?:in your paytm wallet|)\\..*?(?:wallet|cash|) balance:\\s*Rs\\.\\s*(\\d+\\.?\\d{0,2})\\s*\\.", | |
"account_type": "prepaid", | |
"pattern_UID": "590004", | |
"sort_UID": "590004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 2, | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)successfully sent Rs\\.\\s*(\\d+\\.?\\d{0,2}) to (.*?) via.*?updated\\s*(?:paytm|)\\s*balance:\\s*Rs\\.\\s*(\\d+\\.?\\d{0,2})\\s*\\.", | |
"account_type": "prepaid", | |
"pattern_UID": "590005", | |
"sort_UID": "590005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 2, | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)added Rs\\.\\s*(\\d+\\.?\\d{0,2}) to your paytm wallet.\\s*Transaction id\\s*:\\s*(\\d+)\\.\\s*current balance\\s*:\\s*Rs\\.\\s*(\\d+\\.?\\d{0,2})\\.", | |
"account_type": "prepaid", | |
"pattern_UID": "590006", | |
"sort_UID": "590006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Paytm", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)you paid (.*?) Rs\\.\\s*(\\d+\\.?\\d{0,2}) with your Paytm wallet. Your new Paytm wallet balance is Rs\\.\\s*(\\d+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "590007", | |
"sort_UID": "590007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)your paytm order\\s*#\\s*(\\d*)\\s*of\\s*Rs\\.?\\s*(\\d+\\.?\\d{0,2}).*?is successful.*?your current paytm wallet balance is Rs\\.\\s*(\\d+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "590008", | |
"sort_UID": "590008", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Paytm", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"note": { | |
"prefix": "Paytm order#", | |
"group_id": 1 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)successfully sent Rs\\.\\s*(\\d+\\.?\\d{0,2}) to (.*?) via paytm wallet.*", | |
"account_type": "prepaid", | |
"pattern_UID": "590009", | |
"sort_UID": "590009", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 2, | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
} | |
} | |
} | |
], | |
"sender_UID": "90000059", | |
"senders": [ | |
"IPAYTM" | |
] | |
}, | |
{ | |
"name": "PayZapp", | |
"set_account_as_expense": false, | |
"patterns": [ | |
{ | |
"regex": "(?i) card ending with (\\d{4}) .* for (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2}) at (.*)\\. .* balance (?:INR|Rs)[\\.,\\s]?([\\d,]*\\.?\\d{2})", | |
"account_type": "prepaid", | |
"pattern_UID": "600001", | |
"sort_UID": "600001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000060", | |
"senders": [ | |
"PAYZAP" | |
] | |
}, | |
{ | |
"name": "IMONEY", | |
"set_account_as_expense": false, | |
"patterns": [ | |
{ | |
"regex": "(?i)payment of (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) to merchant (.*)\\..*balance is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) as on .*(Transaction id:\\d*)", | |
"account_type": "prepaid", | |
"pattern_UID": "610001", | |
"sort_UID": "610001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)recharged\\s*(\\d*) with (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) .*balance is (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "610002", | |
"sort_UID": "610002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 1, | |
"set_no_pos": true | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:topped up|credited) with (?:INR|Rs)?[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}) .*(?:bal|balance) is (?:INR|Rs)?[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "610003", | |
"sort_UID": "610003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)commission of \\+(?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2}).* balance : (?:INR|Rs)[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "610004", | |
"sort_UID": "610004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:current|account) balance.* (?:INR|Rs)?[\\.:,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "610005", | |
"sort_UID": "610005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 1 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000061", | |
"senders": [ | |
"IMONEY" | |
] | |
}, | |
{ | |
"name": "MoboMoney", | |
"set_account_as_expense": false, | |
"patterns": [ | |
{ | |
"regex": "(?i) (?:INR|Rs)[\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2}) to (.*)\\, (Transaction ID: \\d*).* balance.* (?:INR|Rs)?[\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2}) as on", | |
"account_type": "prepaid", | |
"pattern_UID": "620001", | |
"sort_UID": "620001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)payment of (?:INR|Rs)[\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2}) .*to (.*)\\. .* balance mobomoney [\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "620002", | |
"sort_UID": "620002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Online Transfer", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) credited with (?:INR|Rs)[\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2}) .* balance is (?:INR|Rs)[\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "620003", | |
"sort_UID": "620003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:recharge|topup).* (?:INR|Rs)[\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2}) .*balance.*(?:\\s|\\=)[\\.:,\\s]*(\\-?[\\d,]+\\.?\\d{0,2})\\}? as on", | |
"account_type": "prepaid", | |
"pattern_UID": "620004", | |
"sort_UID": "620004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000062", | |
"senders": [ | |
"MYMOBO" | |
] | |
}, | |
{ | |
"name": "MobiKwik", | |
"set_account_as_expense": false, | |
"patterns": [ | |
{ | |
"regex": "(?i) type:\\s?Debit amnt:\\s?(?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2}) (?:merchant|service):\\s?(.*) status.* balance:\\s?(?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2}) (?:orderid|tranx ref):\\s?(.*)", | |
"account_type": "prepaid", | |
"pattern_UID": "630001", | |
"sort_UID": "630001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) paid (.*) for (.*)\\. (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2}) used .* balance .* (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "630002", | |
"sort_UID": "630002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"note": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:added|received|type\\:\\s?credit|type\\:\\s?refund).*(?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2}) .* (?:balance:|balance is)?\\s?(?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "630003", | |
"sort_UID": "630003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2}).* (?:added|refunded).* (?:balance:|balance is) (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "630004", | |
"sort_UID": "630004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)sent (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2}) to (?:your contact |)(.*)\\.\\s*ref .* balance is (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "630005", | |
"sort_UID": "630005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 2, | |
"set_no_pos": true | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000063", | |
"senders": [ | |
"MOBIKW" | |
] | |
}, | |
{ | |
"name": "Airtel Money", | |
"set_account_as_expense": false, | |
"patterns": [ | |
{ | |
"regex": "(?i) (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2}) paid to (?:merchant |)(.*) on (\\d{2}\\/\\d{2}\\/\\d{2}\\s\\d{2}\\:\\d{2}).*bal: (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "640001", | |
"sort_UID": "640001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy HH:mm" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) payment to (.*) (?:successful!|done).* (?:debited by|amt:) (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2}).* (?:balance is|bal:) (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "640002", | |
"sort_UID": "640002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) (transfer|payment).* (?:amount|amt):\\s?(?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2}).* (?:balance|bal:) (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "640003", | |
"sort_UID": "640003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_prepaid", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 1, | |
"set_no_pos": true | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})(?: is|) credited .*(?:bal|balance|bal:) (?:INR|Rs)?[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "640004", | |
"sort_UID": "640004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) top up successful.* amt:\\s? (?:INR|Rs)[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2}),.* bal:\\s?(?:INR|Rs)?[\\.:,\\s|]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "prepaid", | |
"pattern_UID": "640005", | |
"sort_UID": "640005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"value": "Unknown" | |
}, | |
"account_balance": { | |
"group_id": 2 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000064", | |
"senders": [ | |
"AIRMNY" | |
] | |
}, | |
{ | |
"name": "IOB", | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) debited to .*-x*\\d*?(\\d{3,4})(?:\\s|\\.)AcBal:[\\.,\\s]*([\\d,-]+\\.?\\d{0,2}).*\\[(.*)\\]", | |
"account_type": "bank", | |
"pattern_UID": "650001", | |
"sort_UID": "650001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "atm", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "nfs", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "neft", | |
"pos_override": "Internet Banking" | |
}, | |
{ | |
"txn_type": "ecs", | |
"acc_type_override": "bank", | |
"value": "ecs", | |
"pos_override": "ECS" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s-]*([\\d,]+\\.?\\d{0,2}) debited to .*-x*\\d*?(\\d{3,4})\\[(.*)\\].* Bal:[\\.,\\s]*([\\d,]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "650002", | |
"sort_UID": "650002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "atm", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "nfs", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "neft", | |
"pos_override": "Internet Banking" | |
}, | |
{ | |
"txn_type": "ecs", | |
"acc_type_override": "bank", | |
"value": "ecs", | |
"pos_override": "ECS" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]+\\.?\\d{0,2}) credited to .*-x*\\d*?(\\d{3,4})(?:\\s|\\[|\\.).*(?:Bal|AcBal):[\\.,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "650003", | |
"sort_UID": "650003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) balance acct\\s*:\\s*\\d*(\\d{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,-]+\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "650004", | |
"sort_UID": "650004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000065", | |
"senders": [ | |
"IOBCHN" | |
] | |
}, | |
{ | |
"name": "KVB", | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .*debited .* \\**(\\d{4}) on (\\d{2}-[a-z]{3}-\\d{4} \\d{2}:\\d{2}:\\d{2}) \\*\\s*\\\"(.*)\\\"", | |
"account_type": "bank", | |
"pattern_UID": "660001", | |
"sort_UID": "660001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "atm", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "cash withdrawl at", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "cheque", | |
"value": "chq", | |
"pos_override": "Cheque Transfer" | |
}, | |
{ | |
"txn_type": "cheque", | |
"value": "clg", | |
"pos_override": "Cheque Transfer" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "neft", | |
"pos_override": "Internet Banking" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c x*(\\d{4}) debited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on (\\d{2}-[a-z]{3}-\\d{2} \\d{2}:\\d{2}:\\d{2}) \\*\\s*(.*)\\s*\\*.* avl bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "660002", | |
"sort_UID": "660002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"note": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"pos": { | |
"value": "Internet Banking", | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"value": "atm", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)card no. x*(\\d{4}) debited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on (\\d{2}-[a-z]{3}-\\d{2} \\d{2}:\\d{2}:\\d{2}) \\*\\s*(.*)\\s*\\*.* avl bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "660003", | |
"sort_UID": "660003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MMM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pos": { | |
"group_id": 4 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) is the balance in a\\/c \\**(\\d{4})", | |
"account_type": "bank", | |
"pattern_UID": "660004", | |
"sort_UID": "660004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 1 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c -x*(\\d{4}):\\s*[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "660005", | |
"sort_UID": "660005", | |
"sms_type": "transaction", | |
"reparse": true, | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c x*(\\d{4}) credited (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* avl bal is (?:INR|Rs)[\\.,\\s]*([\\d,-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "660006", | |
"sort_UID": "660006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000066", | |
"senders": [ | |
"KVBANK" | |
] | |
}, | |
{ | |
"name": "South Indian", | |
"patterns": [ | |
{ | |
"regex": "(?i) x*\\d?(\\d{3,4}) (?:is |)debited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) Info:\\s?((ATM|M-pay|CTS|NEFT|DD|TO|RD|SELF|RECS).*) (?:Cur|final) (?:bal:|balance is)\\s?(?:INR|Rs)[\\.,\\s]*([\\d,-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "670001", | |
"sort_UID": "670001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "atm", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "cheque", | |
"value": "cts", | |
"pos_override": "Cheque" | |
}, | |
{ | |
"txn_type": "ecs", | |
"value": "ecs" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) x*\\d?(\\d{3,4}) (?:is |)debited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) Info:\\s?(?:Purchase-|)(.*) (?:Cur|final) (?:bal:|balance is) (?:INR|Rs)[\\.,\\s]*([\\d,-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "670002", | |
"sort_UID": "670002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c x*\\d*(\\d{4}) is credited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* balance is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "670003", | |
"sort_UID": "670003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) in your account x*\\d*(\\d{4}) has .*", | |
"account_type": "bank", | |
"pattern_UID": "670004", | |
"sort_UID": "670004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 1 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance in x*\\d*(\\d{4}):\\s?(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "670005", | |
"sort_UID": "670005", | |
"sms_type": "transaction", | |
"reparse": true, | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*\\d*(\\d{4}):\\s?(?:INR|Rs)[\\.,\\s]*([\\d,-]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "670020", | |
"sort_UID": "670020", | |
"sms_type": "transaction", | |
"reparse": true, | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000067", | |
"senders": [ | |
"SIBSMS" | |
] | |
}, | |
{ | |
"name": "CUB", | |
"patterns": [ | |
{ | |
"regex": "(?i)x*([\\dx]{4}) debited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) towards to (?:ecom|pos):.*-(.*): on.*avl bal[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "680001", | |
"sort_UID": "680001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*([\\dx]{4}) debited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) towards to atm wdl:.*-(.*): on.*avl bal[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "680002", | |
"sort_UID": "680002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"value": "atm", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*([x\\d]{4}) debited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) towards to (?:onl |)(loan|neft|cash\\swithdrawal|cheque|int\\stransfer).*avl bal[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "680003", | |
"sort_UID": "680003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": false | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3, | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "cheque", | |
"value": "cheque" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*([\\dx]{4}) debited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) towards to onl :?(.*?):.* on.*avl bal[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "680004", | |
"sort_UID": "680004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*([\\dx]{4}) is debited for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .*(IMPS Ref no \\d*)", | |
"account_type": "bank", | |
"pattern_UID": "680005", | |
"sort_UID": "680005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)x*([x\\d]{4}) credited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) towards .*avl bal[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "680006", | |
"sort_UID": "680006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:savings|current\\saccount) no x*([x\\d]{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "680007", | |
"sort_UID": "680007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000068", | |
"senders": [ | |
"CUBANK" | |
] | |
}, | |
{ | |
"name": "J&K Bank", | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:a\\/c|account) ([x\\d]{4})* is\\s*debited .* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .*account of (.*)(?:\\.\\sa\\/c|\\sat) .* (?:available\\sbal|account\\sbalance) is\\s*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "690001", | |
"sort_UID": "690001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "cwdr", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) transaction of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) has been done .* credit card \\d*\\**\\d*(\\d{4}) at (.*) at", | |
"account_type": "credit_card", | |
"pattern_UID": "690002", | |
"sort_UID": "690002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:a\\/c|account) ([\\dx]{4})* is\\s*credited .*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* (?:available\\sbal|account\\sbalance) is\\s*(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "690003", | |
"sort_UID": "690003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance of a\\/c x*(\\d{4}) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "690004", | |
"sort_UID": "690004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) purchase of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) has been .* credit card\\s*\\d*x*\\d*(\\d{4}) at (.*) on.* balance is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "credit_card", | |
"pattern_UID": "690005", | |
"sort_UID": "690005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000069", | |
"senders": [ | |
"JKBANK", | |
"JKCARD" | |
] | |
}, | |
{ | |
"name": "Saraswat Bank", | |
"patterns": [ | |
{ | |
"regex": "(?i)a\\/c \\d*?(\\d{2,4}) is dr for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\.? (?:pos|ecom)\\/(.*?)\\/.* clear bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "700001", | |
"sort_UID": "700001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c \\d*?(\\d{2,4}) is dr for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\.? (.*)\\. clear bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "700002", | |
"sort_UID": "700002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "atm", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i) debit card purchase of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* at (.*) (?:your|total).*(?:balance|bal) is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "700003", | |
"sort_UID": "700003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"value": "XXXX" | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:ac |a\\/c.|acct no.)\\d*?(\\d{2,4}) is (debited|credited) for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* (?:balance\\sis|bal) [\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "700004", | |
"sort_UID": "700004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "net_banking", | |
"value": "debited" | |
}, | |
{ | |
"txn_type": "credit", | |
"value": "credited" | |
} | |
], | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\d*?(\\d{2,4}) is (debited|credited) for (cheque no \\d*) for .* (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).*bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "700005", | |
"sort_UID": "700005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 4 | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 5 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "cheque", | |
"value": "debited" | |
}, | |
{ | |
"txn_type": "credit", | |
"value": "credited" | |
} | |
], | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c \\d*?(\\d{2,4}) is cr for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}).* clear bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "700006", | |
"sort_UID": "700006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance for ac x*\\/\\d*?(\\d{2,4}) .* bal: (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "700007", | |
"sort_UID": "700007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance in a\\/c: x*\\/\\d*?(\\d{2,4}) is [\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "700020", | |
"sort_UID": "700020", | |
"sms_type": "transaction", | |
"reparse": true, | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000070", | |
"senders": [ | |
"SARBNK" | |
] | |
}, | |
{ | |
"name": "Dhanlaxmi Bank", | |
"patterns": [ | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) is debited from a\\/c x+(\\d{4}) on .*\"debit card purchase-(.*)\". aval bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "740001", | |
"sort_UID": "740001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) is debited from (?:a\\/c|ac) x+(\\d{4})\\s*on .*\"(.*)\".*aval bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "740002", | |
"sort_UID": "740002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Net Banking", | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "atm", | |
"pos_override": "atm" | |
}, | |
{ | |
"txn_type": "cheque", | |
"value": "clg", | |
"pos_override": "cheque" | |
}, | |
{ | |
"txn_type": "ecs", | |
"value": "ecs" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)credit card no ending (\\d{4}) for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on.* at (.*) contact", | |
"account_type": "credit_card", | |
"pattern_UID": "740003", | |
"sort_UID": "740003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})\\s*is credited to (?:ac|a\\/c) x+(\\d{4}) on .*aval bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "740004", | |
"sort_UID": "740004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c x+(\\d{4}) (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "740005", | |
"sort_UID": "740005", | |
"sms_type": "transaction", | |
"reparse": true, | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)credit card number ending (\\d{4}) .* total amt.due (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) pymt due on (\\d{2}-\\d{2}-\\d{4})", | |
"account_type": "credit_card", | |
"pattern_UID": "740006", | |
"sort_UID": "740006", | |
"sms_type": "statement", | |
"data_fields": { | |
"statement_type": "credit_card_bill", | |
"pan": { | |
"group_id": 1 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy" | |
} | |
] | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
} | |
], | |
"sender_UID": "90000074", | |
"senders": [ | |
"DHANBK" | |
] | |
}, | |
{ | |
"name": "TMB", | |
"patterns": [ | |
{ | |
"regex": "(?i)acc#\\d*(\\d{4}) debited with (?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2}) for (?:ATM Txn|Txn at ATM).* (?:acc bal|bal in acc) (?:INR|Rs)[\\.,\\s\\+]+([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "760001", | |
"sort_UID": "760001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:acc#|acc )\\d*(\\d{4}) is debited with (?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2}) for Txn at (.*) card.* (?:acc bal.|bal in acc )(?:INR|Rs)[\\.,\\s\\+]+([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "760002", | |
"sort_UID": "760002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)payment to (?:merchant through |)(.*) for (?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2}) from a\\/c \\d*(\\d{4})", | |
"account_type": "bank", | |
"pattern_UID": "760003", | |
"sort_UID": "760003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"amount": { | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)\\w+ \\d*(\\d{4}) (credited|debited) by (?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2}) current avbl bal (?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2}) as on (\\d{2}-\\d{2}-\\d{4}\\s\\d{2}:\\d{2}:\\d{2})", | |
"account_type": "bank", | |
"pattern_UID": "760004", | |
"sort_UID": "760004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"group_id": 5, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy HH:mm:ss" | |
} | |
] | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "default", | |
"value": "debited" | |
}, | |
{ | |
"txn_type": "credit", | |
"value": "credited" | |
} | |
], | |
"group_id": 2 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2}) deposited .* a\\/c \\w* \\d*(\\d{4}) at .* bal .* is (?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "760005", | |
"sort_UID": "760005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c \\w* \\d*(\\d{4}) credited with (?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2}).* bal.* is (?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "760006", | |
"sort_UID": "760006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)available balance in \\w* \\d*(\\d{4}) .*is (?:INR|Rs)[\\.,\\s]+([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "760007", | |
"sort_UID": "760007", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"use_sms_time": true | |
} | |
} | |
} | |
], | |
"sender_UID": "90000076", | |
"senders": [ | |
"TMBANK" | |
] | |
}, | |
{ | |
"name": "Lakshmi Vilas", | |
"patterns": [ | |
{ | |
"regex": "(?i)transaction of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) made on lvb card x+(\\d{4}) at \\+(.*) on .* balance .* is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "770001", | |
"sort_UID": "770001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_atm", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"value": "ATM", | |
"set_no_pos": true | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)transaction of (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) made on lvb card x+(\\d{4}) at (.*) on .* balance .* is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "debit_card", | |
"pattern_UID": "770002", | |
"sort_UID": "770002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "debit_card", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c \\d*x*(\\d{4}) debited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on .* txn (.*) and bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "770003", | |
"sort_UID": "770003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"pos_override": "Cheque", | |
"value": "to clg", | |
"txn_type": "cheque" | |
}, | |
{ | |
"pos_override": "Net Banking", | |
"txn_type": "net_banking", | |
"value": "neft" | |
}, | |
{ | |
"pos_override": "Debit", | |
"txn_type": "default", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"date": { | |
"use_sms_time": true | |
}, | |
"pos": { | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c \\d*x*(\\d{4}) credited with (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on .*and bal is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "770004", | |
"sort_UID": "770004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* balance .* a\\/c \\d*x*(\\d{4}) as of ([\\d\\/\\s:]*)", | |
"account_type": "bank", | |
"pattern_UID": "770005", | |
"sort_UID": "770005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"account_balance": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd/MM/yy HH:mm:ss" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "90000077", | |
"senders": [ | |
"LVBANK" | |
] | |
}, | |
{ | |
"name": "RBS", | |
"patterns": [ | |
{ | |
"regex": "(?i)a\\/c x+(\\d{4}) has been debited for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on .*towards (?:dr fr|ecom): (.*?)\\,.* balance in your a\\/c is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "780001", | |
"sort_UID": "780001", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "net_banking", | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pos": { | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c x+(\\d{4}) has been debited for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) on .*towards (.*)\\. balance in your a\\/c is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "780002", | |
"sort_UID": "780002", | |
"sms_type": "transaction", | |
"data_fields": { | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"note": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Debit", | |
"set_no_pos": true | |
}, | |
"transaction_type_rule": { | |
"rules": [ | |
{ | |
"txn_type": "debit_atm", | |
"acc_type_override": "debit_card", | |
"value": "atm cash", | |
"pos_override": "ATM" | |
}, | |
{ | |
"txn_type": "net_banking", | |
"value": "e trf", | |
"pos_override": "Online Transfer" | |
}, | |
{ | |
"txn_type": "default", | |
"value": "" | |
} | |
], | |
"group_id": 3 | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(cheque no. \\d*) for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) issued from your a\\/c x+(\\d{4}) has been debited. balance .*is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "780003", | |
"sort_UID": "780003", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "cheque", | |
"note": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"pan": { | |
"group_id": 3 | |
}, | |
"pos": { | |
"value": "Cheque", | |
"set_no_pos": true | |
}, | |
"account_balance": { | |
"group_id": 4 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)(?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) has been credited in your a\\/c x+(\\d{4}).* balance in your a\\/c is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "780004", | |
"sort_UID": "780004", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"amount": { | |
"group_id": 1 | |
}, | |
"pan": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)a\\/c x+(\\d{4}) has been credited for (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2}) .* balance in your a\\/c is (?:INR|Rs)[\\.,\\s]*([\\d,]*\\.?\\d{0,2})", | |
"account_type": "bank", | |
"pattern_UID": "780005", | |
"sort_UID": "780005", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "credit", | |
"date": { | |
"use_sms_time": true | |
}, | |
"pan": { | |
"group_id": 1 | |
}, | |
"amount": { | |
"group_id": 2 | |
}, | |
"account_balance": { | |
"group_id": 3 | |
} | |
} | |
}, | |
{ | |
"regex": "(?i)balance .* x+(\\d{4}) is\\s*(?:INR|Rs)[\\.,\\s]*([\\d,-]*\\.?\\d{0,2}) on (\\d{2}-\\d{2}-\\d{4} at \\d{2}:\\d{2}:\\d{2})", | |
"account_type": "bank", | |
"pattern_UID": "780006", | |
"sort_UID": "780006", | |
"sms_type": "transaction", | |
"data_fields": { | |
"transaction_type": "balance", | |
"pan": { | |
"group_id": 1 | |
}, | |
"account_balance": { | |
"group_id": 2 | |
}, | |
"date": { | |
"group_id": 3, | |
"formats": [ | |
{ | |
"use_sms_time": false, | |
"format": "dd-MM-yy 'at' HH:mm:ss" | |
} | |
] | |
} | |
} | |
} | |
], | |
"sender_UID": "90000078", | |
"senders": [ | |
"RBSIND" | |
] | |
} | |
], | |
"version": "6403" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment