Skip to main content
# BBVisa2OFX

[![Build Status](https://travis-ci.org/josecoelho/bbvisa2ofx.svg?branch=master)](https://travis-ci.org/josecoelho/bbvisa2ofx)

This software converts the file of credit card accounts, generated from
Banco do Brasil website, to the OFX format.

You are not from Brazil? So you do not has an account on Banco do Brasil
and this software is useless for you... But if you want a help to
convert a txt file to OFX format (in python), this project would be used
as reference :)

## Portugues-BR:

Este software converte o extrato de cartão de crédito, gerado através do
site do Banco do Brasil, para o formato OFX.

Bem... Eu tenho uma conta no Banco do Brasil e utilizo o GnuCash? para
cuidar das minhas finanças.

Eu sempre exporto os meus extratos para o formato OFX e importo no
GnuCash?. Porém, para o extrato do cartão de credito, VISA no meu caso,
o Banco do Brasil só oferece a opção de exportar para TXT. Então, para
evitar fadiga, eu criei este "script" em python que converte este
arquivo TXT para OFX.

Agora posso importar o extrato do Cartão de credito do Banco do Brasil
no GnuCash? e não perder tempo digitando linha a linha.

Cartoes Master Card tambem sao suportados, e voce pode importar varios
cartoes diferentes que o gnucash vai considerar contas distintas.
(agradecimentos ao Daniel Roviriego)

Mais uma contribuição. Graças ao patch disponibilizado por Rodrigo
Primo, agora o valores em dolar são automaticamente convertidos para
real utilizando a taxa de conversão disponível na fatura.

## INSTALL


```
pip install bbvisa2ofx
```

## Running


With GUI
```
bbvisa2ofx
```

Commandline
```
bbvisa2ofx_cli
```


## Development

### Contribution

1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create new Pull Request


### Running tests

From root dir exec
```
python -m bbvisa2ofx.test.txtparser
```

### Publishing a new release (I think it can be done only by me...)

1. increment the version number in your setup.py file,
2. update your CHANGES.txt file,
3. run python setup.py sdist upload again.


WEB Interface
==============

Web Interface on https://github.com/josecoelho/bbvisa2ofx_web

Release files for bbvisa2ofx 0.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bbvisa2ofx 0.21
File Size Uploaded
bbvisa2ofx-0.21.tar.gz 11.3 kB Details

Release files / bbvisa2ofx-0.21.tar.gz

Download URL bbvisa2ofx-0.21.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2bdb215c37fb0d633d3684f15a0e7bab60adcddf4370fe3e4b457faf0ad7b6fb
BLAKE2b-256 checksum
How to use checksums
24b6c7ffa1806a6eff3a962eccbbb6e60d554948379b6d5e5a6a45d426374aa6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.21 This release

1 release file

0.20

1 release file

0.19

1 release file

0.18

1 release file

0.11

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page