LibOFX ledger balance handling
Cristian OneČ› <[email protected]> Sat, 23 Aug 2014 02:03:49 +0300
| Newsgroups | gmane.comp.kde.kmymoney2.devel,gmane.comp.finance.libofx.devel |
|---|---|
| Message-ID | <CANqZg3tB673MD3FbKsaoczjViOtD6o=u6cFvgFFiNQ0KrUYkaA@mail.gmail.com> |
Hi,
I would like to ask libOFX developers some questions about an OFX file
which triggered this [1] bug report.
The reported problem is that the date of the balance differs from the
end date. Thus the statement produced by libOFX (using ofxdump) does
not have a valid balance (at least not for the displayed end date):
ofx_proc_statement():
Currency: USD
Account ID: 000000000 3243783275
Start date of this statement: Wed Jan 1 08:00:00 2014 EET
End date of this statement: Fri Jan 31 07:00:00 2014 EET
Ledger balance: 8697.95
Available balance: 8697.95
The question is if the statement is valid what should happen with the
balance. Would a proper implementation of the 'ledger_balance_date'
member fix this?
Thanks,
Regards,
Cristian
[1] https://bugs.kde.org/show_bug.cgi?id=323480