[Kmymoney] Last update/transaction date for an account

Niranjan Rao nhrdls at gmail.com
Fri Sep 16 22:44:34 UTC 2011


Hi Folks,

I am trying to write automatic script to download ofx transactions from 
my bank. My bank charges money if you use the ofx servers directly, but 
allows me to download the transactions if I login to online banking and 
download from there.

In my script, I would like to set the date range based on information I 
can collect from kmymoney - e.g. last transaction date for my account or 
ideally if it's available last ofx statement import date for that 
account or something similar.

Is it possible to get such date from kmymoney programmatically? I know 
file format is essentially xml on my machine and can probably read it 
from there if required. However not prefer to that since I want to treat 
kmymoney as blackbox file.

Also, is it possible to ask kmymoney to import a file using command line 
by pointing it to account in which file needs to be imported and ofx 
download?

Thanks,

- Niranjan


More information about the KMyMoney mailing list