Skip to content

ivmikhail/vtb24-miles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

208 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vtb24-miles

Codacy Badge Build Status

A small utility to calculate miles/bonus rewards for VTB24 cards. Supported cards:

Useful for validating the bank's reward calculation.

How to use

System requirements

  • Any OS works: Windows, Mac, etc.
  • Java 8 or newer must be installed.

Usage

  1. Download the latest release from https://github.com/ivmikhail/vtb24-miles/releases/.
    • You need the *.jar file.
  2. Download your transaction statement.
    • https://online.vtb.ru > authenticate > find your card > statement > select period > "Show" > Export > CSV
    • It is recommended to export the full card usage period. You can filter by month during analysis.
    • Place the statement (usually named statement.csv) into the same directory as the *.jar file.
  3. Open a terminal and navigate to that directory.
  4. Run analysis with java -jar vtb24-miles-1.5.jar -s statement.csv. The program prints a report.
  5. To save the result as csv, run java -jar vtb24-miles-1.5.jar -s statement.csv -export 1.csv.
  6. Open 1.csv from the same directory in Excel or LibreOffice.
  7. The jar filename may differ; vtb24-miles-1.5.jar is only an example.
  8. To change reward rules, pass -rule %option%, for example -rule MC_TRAVEL. Supported options: KM_PLATINUM, KM_GOLD, MC_TRAVEL, MC_CASHBACK. By default, rewards are calculated using KM_PLATINUM (Card of the World Platinum).

In the example below, both the program and statement are in the vtb24-miles folder, and the goal is to view miles for December 2017.

How to use vtb24-miles

Launch options

Launch options

FAQ

My card account is in USD (or EUR). How are miles calculated?
The transaction amount is converted to rubles (because 1 mile = 1 RUB). The exchange rate is taken from VTB at https://www.vtb24.ru/banking/currency/rate-of-conversion/ for the operation date. Then 4% or 5% is applied to the amount in RUB.
My card account is in USD (or EUR). Can I trust the result?
In this case, the miles value is approximate. There are several reasons: bank/payment-system conversion fees and rates are not included, and the exact internal bank rate used for miles calculation is unknown.
My card account is in RUR. Can I trust the result?
In general, yes.
Which operations are treated as "foreign" (5% cashback)?
Operations where transaction currency differs from account currency, and operations whose descriptions match keywords from the config file: https://github.com/ivmikhail/vtb24-miles/blob/master/src/main/resources/app.properties
Which operations do not get miles?
Transactions with amount < 100 RUB and transactions whose descriptions match keywords from the config file: https://github.com/ivmikhail/vtb24-miles/blob/master/src/main/resources/app.properties
Why is MCC not used to determine transaction category?
The statement does not include MCC code.
My calculated miles do not match the bank's miles
Most likely some operations were categorized incorrectly (see the next question if you found such a case), or the bank credited miles incorrectly. In that case, submit a claim to the bank.
I know operation XXX should be treated as "foreign" or ignored. What should I do?
Download the config file (https://github.com/ivmikhail/vtb24-miles/blob/master/src/main/resources/app.properties) into the program directory, adjust it, and run the program with that file. Example: "java -jar vtb24-miles.jar -s statement.csv -p app.properties". If possible, send your updated file to ivmikhail at gmail com so it can be added for everyone.
How can I calculate miles for 2 or more cards?
Download a separate statement for each card (see step 2), then run: "java -jar vtb24-miles.jar -s statement.csv -s statement2.csv"
I see a large difference for operations before July 1, 2017
Rules were different at that time. VTB converted old points to the new format, apparently not per transaction, which may cause differences. To calculate old operations, use the older version: https://github.com/ivmikhail/vtb24-miles/releases/tag/vtb24-miles-1.1
I want to improve the program/code. What should I do?
https://git-scm.com/book/en/v2/GitHub-Contributing-to-a-Project
If you have a suggestion/question or found a bug
Email ivmikhail at gmail com, or better create an issue: https://github.com/ivmikhail/vtb24-miles/issues/

License

Copyright (c) 2017, Mikhail Ivanov <ivmikhail at gmail com>

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright
      notice, this list of conditions and the following disclaimer in the
      documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

About

VTB bank credit cards miles calculator

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors