Git Product home page Git Product logo

monzo-export's People

Contributors

andrew-schofield avatar dependabot[bot] avatar scottrobertson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

monzo-export's Issues

Joint Accounts

Trying to set this up on Windows ATM. If no luck will try on linux.

Does this pull out data for Joint accounts linked to a main current account on Monzo?
Is that something that can be done?

nil date causes error

With Ruby v2.4, the default date causes an error so the --since option is required

Amounts are off by 100x

All transaction amounts are off by a factor of 100 i.e. something that should be £10.43 is being output as £1043. I suspect this is something that the Mondo lib used to handle.

Exception due to undefined var/method

Thanks for creating this - I've just got my Monzo card and this will totally make keeping YNAB in sync a lot easier. 🎉 😄

I can't get HEAD of master to run, instead I get the following exception:

monzo-to-qif git:(master)$ ruby monzo-to-qif.rb generate --access_token=$MONZO --since=2016-10-10 --folder=/Users/shildrew/test/monzo --trace
[1/5] Exporting [2017-06-09T14:34:29+00:00] tx_00009LGeNiqJL4vc54eW8n... /Users/shildrew/working/monzo-to-qif/lib/qif_creator.rb:52:in `block (2 levels) in create': undefined local variable or method `merchant' for #<QifCreator:0x007f8463308f38> (NameError)
	from /Users/shildrew/working/monzo-to-qif/lib/qif_creator.rb:15:in `each'
	from /Users/shildrew/working/monzo-to-qif/lib/qif_creator.rb:15:in `each_with_index'
	from /Users/shildrew/working/monzo-to-qif/lib/qif_creator.rb:15:in `block in create'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/qif-1.2.0/lib/qif/writer.rb:57:in `initialize'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/qif-1.2.0/lib/qif/writer.rb:23:in `new'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/qif-1.2.0/lib/qif/writer.rb:23:in `block in open'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/qif-1.2.0/lib/qif/writer.rb:22:in `open'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/qif-1.2.0/lib/qif/writer.rb:22:in `open'
	from /Users/shildrew/working/monzo-to-qif/lib/qif_creator.rb:13:in `create'
	from monzo-to-qif.rb:25:in `block (2 levels) in <main>'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/runner.rb:68:in `run!'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
	from /Users/shildrew/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/commander-4.4.0/lib/commander/import.rb:5:in `block in <top (required)>'

Reseting my git checkout to the previous commit on master has allowed me to export a QIF file successfully.

Transactions below £1 are omitted

I believe the following line is the issue:
if transaction.amount.to_i == 0 [skip] end

If the transaction is below £1, the value is truncated to 0 by the to_i

Transaction memos are prefixed by gobbledegook

It seems like this could be a problem on Monzo's end. The gibberish values are coming from the transaction.merchant.emoji field.

T-[Amount]
P[Retailer 1]
M­ƒìÅ 👍 [rest of memo]
^
D[Date]
T-[Amount]
P[Retailer 2]
M­ƒì┤ 👍 [rest of memo]
^
D[Date]
T-[Amount]
P[Retailer 2]
M­ƒì┤ 👍 [rest of memo]
^```

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.