maxiwell / ofx-bot Goto Github PK
View Code? Open in Web Editor NEWBank reconciliation using OFX files
Bank reconciliation using OFX files
Seria muito interessante adicionar suporte as contas pessoas jurídicas e para serem executados em servidores sem interface gráfica - vi algo nesse link sobre o caso. Isso ajudaria muito pequenas empresas a fazerem conciliação bancária.
Estou tentando rodar o ofx-itau no OSX.
Compilou tudo corretamente, mas está dando esse erro do título depois que eu inputo os dados de login.
O que pode ser?
OS: Ubuntu 16.04 x86_64
ofx-bot: nightly-2016-03-22/7.10.3
em 06/06/2016 às 22:48.
Iniciando Selenium Server Efetuando login Erro durante a execuçãoFailedCommand ElementNotVisible Session: SessionId "d980aad5-6af9-4595-bd1c-7cba70f32d97" at "127.0.0.1":4444 org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be interacted with Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:16:47' System info: host: 'sarue', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-22-generic', java.version: '1.7.0_79' Driver info: driver.version: unknown <anonymous class>.fxdriver.preconditions.visible (file:///tmp/anonymous2816778135061828114webdriver-profile/extensions/[email protected]/components/command-processor.js:9615) <anonymous class>.DelayedCommand.prototype.checkPreconditions_ (file:///tmp/anonymous2816778135061828114webdriver-profile/extensions/[email protected]/components/command-processor.js:12265) <anonymous class>.DelayedCommand.prototype.executeInternal_/h (file:///tmp/anonymous2816778135061828114webdriver-profile/extensions/[email protected]/components/command-processor.js:12282) <anonymous class>.fxdriver.Timer.prototype.setTimeout/<.notify (file:///tmp/anonymous2816778135061828114webdriver-profile/extensions/[email protected]/components/command-processor.js:603) Desligando Selenium Server
Na página de faturas, tenho 14 abas: de AGO 15 a SET (ano corrente, ou seja, 2016). Contudo só foi extraído até MAR (ano corrente). Suspeito que seja por não entender o scroll horizontal.
No momento, o _nubank_ baixa o OFX de todos os meses, desde a criação do cartão. Uma opção interesse seria baixar o OFX apenas do último mês.
As datas de anos anteriores estão sendo extraídas incorretamente. Parece ser um problema não usar a label
da aba, pois o Nubank não exibe em qualquer outro lugar de que fatura se trata.
Aba DEZ 15:
<STMTTRN> <TRNTYPE>DEBIT <DTPOSTED>20161215100000[-03:EST] <TRNAMT>-19.90 <FITID>Venc. 10 JAN <CHECKNUM>Venc. 10 JAN <MEMO>Netflix Com </STMTTRN>
Aba NOV 15:
<STMTTRN> <TRNTYPE>DEBIT <DTPOSTED>20161115100000[-03:EST] <TRNAMT>-19.90 <FITID>Venc. 10 DEZ <CHECKNUM>Venc. 10 DEZ <MEMO>Netflix Com </STMTTRN>
Could you create a Docker image to run this application?
Não é um bug, mas apenas uma ajuda pra quem usa Gentoo: Os pacotes stable no momento não são suficientes pra compilar o ofx-bot, então é necessário dar unmask em alguns pacotes. No caso eu também estou usando a haskell overlay. Então, basicamente, seria isso:
Adicione a haskell overlay usando o layman:
layman -a haskell
Crie um set com as dependências necessárias (coloque o conteúdo a seguir no arquivo /etc/portage/sets/ofx-bot
ou outro nome de sua preferência):
dev-python/selenium
www-client/firefox-bin
=dev-lang/ghc-7.10.3 ~amd64
=dev-haskell/haskell-platform-2014.2.0.0 ~amd64
=dev-haskell/nats-1.1 ~amd64
=dev-haskell/haddock-2.16.1 ~amd64
=dev-haskell/transformers-0.4.3.0 ~amd64
=dev-haskell/mtl-2.2.1-r1 ~amd64
=dev-haskell/cabal-1.22.8.0 ~amd64
=dev-haskell/cabal-install-1.22.8.0 ~amd64
=dev-haskell/unordered-containers-0.2.7.0 ~amd64
=dev-haskell/parallel-3.2.1.0 ~amd64
=dev-haskell/semigroups-0.18.1 ~amd64
=dev-haskell/hashable-1.2.4.0 ~amd64
=dev-haskell/async-2.1.0 ~amd64
=dev-haskell/primitive-0.6.1.0-r1 ~amd64
=dev-haskell/case-insensitive-1.2.0.6 ~amd64
=dev-haskell/haddock-api-2.16.1 ~amd64
Depois basta dar emerge no set:
emerge @ofx-bot
Quando a fatura tem muitos registros e o scroll vertical é visível, os registros não exibidos são ignorados.
Any possibility to export into json instead of ofx/csv?
Regards
Opa, legal o projeto! Estou tentando usar aqui, em especial o Nu-Bank. Ele compilou OK, após a satisfação de todas as dependências, mas na hora de executar ele só lança essa mensagem aí:
ofx-nubank: fd:5: hGetLine: end of file
Em certa tentativa a janela do FF chegou a abrir, depois nem isso. Foi criado um arquivo de log, mas ele só apresenta o conteúdo "NPP_GetValue is called".
Precisando de informações adicionais, basta me dizer quais são.
Hello contributors, congratulations for the initiative.
I was interested to test the bot but after run build, I got the following error in my console:
cp: cannot stat '/build/ofx-itau/ofx-itau': No such file or directory
Any idea of what might be?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.