ofxstatement plugins for Russian banks
Project description
ofxstatement is a tool to convert proprietary bank statement to OFX format, suitable for importing to GnuCash. Plugin for ofxstatement parses a particular proprietary bank statement format and produces common data structure, that is then formatted into an OFX file.
ofxstatement-ru provides some Russian banks plugins for ofxstatement.
Supported banks:
Avangard Bank (http://avangard.ru) plugin ‘avangard’
Tinkoff Bank (http://tinkoff.ru) plugin ‘tinkoff’
SberBank (http://sbrf.ru) plugins ‘sberbank_csv’, ‘sberbank_txt’
AlfaBank (https://www.alfabank.ru) plugin ‘alfabank’
VTB (https://www.vtb.ru) plugin ‘vtb’
Raiffeisen (https://www.raiffeisen.ru) plugin ‘raiffeisen’
Avangard
CSV statements for credit, debit or current account.
Tinkoff
CSV statement for credit, debit and saving account.
SberBankCSV
CSV statement (available via “request statement by e-mail as Excel sheet” function).
SberBankTxt
Legacy TXT statement (available via “request statement by e-mail” function) for debit card.
AlfaBank
CSV statement for current account.
VTB
CSV statement for debit card.
Raiffeisen
CSV statemenr for account. Basic support for DEBIT and CREDIT transactions.
Plugin configuration parameters
avangard
- bank
Bank id (default is ‘Avangard’)
- account
Account id
- currency
Currency (default is ‘RUB’)
tinkoff
- bank
Bank id (default is ‘Tinkoff’)
- account
Account id
- currency
Currency (if not set, will be extracted from the first record)
sberbank_txt
- bank
Bank id (default is ‘SberBank’)
- account
Account id (if not set, will be extracted from the statement)
- currency
Currency (if not set, will be extracted from the statement)
alfabank
- bank
Bank id (default is ‘Alfabank’)
- account
Account id (if not set, will be extracted from the statement)
- currency
Currency (if not set, will be extracted from the statement)
- user_date
if ‘true’ then transaction date will be set to the date when transaction is created (so called user date) rather then record date. User date is extracted in description if it is present there
- file_encoding
cp1251 by default. No need to change in regular usage (download statement, then convert), but could be handy in case of some file processing that involves encoding change
vtb
- bank
Bank id (default is ‘VTB’)
- user_date
if ‘true’ then transaction date will be set to the date when transaction is created (so called user date) rather then record date.
raiffeisen
- bank
Bank id (default is ‘Raiffeisen’)
- account
Account id
- currency
Currency
Development
Project is targeting python 3 (3.9 for sure as current widespread version) and pytest is used for testing.
Recommended way to setup is with DevContainer in VSCode.
Manual development setup is as follows:
1. Create virtual environment and activate it .. code-block:: bash
make install poetry shell
2. Run tests using pytest .. code-block:: bash
make test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ofxstatement_ru-0.5.0-py3-none-any.whl.
File metadata
- Download URL: ofxstatement_ru-0.5.0-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87951f24d209834e65ec262229278e19debc9e6a6a8eaf4bdca445c9b7a8a41a
|
|
| MD5 |
1ab91652cd45a1a4921611c792b2b073
|
|
| BLAKE2b-256 |
74d9a846d34c6fe1d726aecff8ebdd16140fe7f3d1e274939b05c942b9c6fce5
|
Provenance
The following attestation bundles were made for ofxstatement_ru-0.5.0-py3-none-any.whl:
Publisher:
publish.yaml on senz/ofxstatement-ru
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ofxstatement_ru-0.5.0-py3-none-any.whl -
Subject digest:
87951f24d209834e65ec262229278e19debc9e6a6a8eaf4bdca445c9b7a8a41a - Sigstore transparency entry: 152624587
- Sigstore integration time:
-
Permalink:
senz/ofxstatement-ru@3c80262dfb79e65603dfcecc6075bb3226eee421 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/senz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@3c80262dfb79e65603dfcecc6075bb3226eee421 -
Trigger Event:
release
-
Statement type: