johnzweng / bankomatinfos

Android NFC app for reading some infos from Austrian Bankomat Cards (Maestro banking cards).
Other
65 stars 32 forks source link

Feature request: saving transactions to a file or sharing them #11

Open jnareb opened 9 years ago

jnareb commented 9 years ago

It would be nice if one could save or share the transactions from 'Transactions' tabs to a CSV or JSON file. You can share 'Log' but not 'Transactions'.

It would be nice to have at least date (perhaps full time if possible), amount, currency (assuming that we use card currency). It could be used for banking applications, like e.g. Ledger CLI or GNUcash.

johnzweng commented 9 years ago

Hi!

Sounds like a good idea and should not be that difficult. The information available depends on the card. There are different log formats out there in the wild. Some cards only store the date, others date and time. AFAIK all cards should store the currency along with the transaction (as you could make any transaction in different currencies, i.e. when using the card abroad).

Is there any standardized format out there (CSV, JSON, XML,.. ?) which I can/should adopt?

jnareb commented 9 years ago

On Sat, Jan 24, 2015 at 3:44 PM, Johannes Zweng notifications@github.com wrote:

Hi!

Sounds like a good idea and should not be that difficult. The information available depends on the card. There are different log formats out there in the wild. Some cards only store the date, others date and time. AFAIK all cards should store the currency along with the transaction (as you could make any transaction in different currencies, i.e. when using the card abroad).

Is there any standardized format out there (CSV, JSON, XML,.. ?) which I can/should adopt?

I think most personal accounting programs have now ability to import data in CSV format. If you provide headers, the format is quite well self-describing.

I don't think you want to fiddle with OFX, QIF, etc support ;-)

Jakub Narębski

jnareb commented 9 years ago

On Sat, Jan 24, 2015 at 6:40 PM, Jakub Narębski jnareb@gmail.com wrote:

On Sat, Jan 24, 2015 at 3:44 PM, Johannes Zweng notifications@github.com wrote:

Hi!

Sounds like a good idea and should not be that difficult. The information available depends on the card. There are different log formats out there in the wild. Some cards only store the date, others date and time. AFAIK all cards should store the currency along with the transaction (as you could make any transaction in different currencies, i.e. when using the card abroad).

Is there any standardized format out there (CSV, JSON, XML,.. ?) which I can/should adopt?

I think most personal accounting programs have now ability to import data in CSV format. If you provide headers, the format is quite well self-describing.

I don't think you want to fiddle with OFX, QIF, etc support ;-)

On the other hand that is what GnuCash Mobile does: export recorded transactions them in the QIF or OFX format for desktop GnuCash. It uses Apache License 2.0, which means that you can borrow code into GPLv3 Bankomatinfos. Or you can borrow export code from also GPLv3 app MyExpenses (either QIF or CSV).

Jakub Narębski