On 2023.04.23 11:35, Jonatan Cloutier via KMyMoney-devel wrote:
[snip.....]
On the other side, I was able to confirm that there seems to be a
real issue in regards to loan scheduled transaction, when matched to
an import. My mortage just jump to a higher amount than the us debt!
(by exactly 92 233 720 368 547 758,07 which is actually LLONG_MAX/100
??). I'll try reproducing that in a test file. Let me know if there
is any specific information that might be valuable. I'll open a bug
when I feel I have enough info and that I'm not the one that created
the issue with either my custom import or some manual change I would
have done in my file.
I was about to file a wishlist for matching the ending balance of the
brokerage account when importing an investment account (using libofx)
and noticed something strange.
The ofxlog.txt included the snippets "<INVBAL><AVAILCASH>234.56" and
"<BAL><NAME>TotalMarketValue<DESC>Total Market
Value<BALTYPE>DOLLAR<VALUE>123.45" (amounts edited) which match the
balance of the brokerage account and the value of the investment
account. However, in kmm-statement-2023-04-23T22-16-58.913.txt, the
line beginning <STATEMENT includes
'closingbalance="-9223372036854775807/100"' which is the same amount
you noticed. It looks like some numeric conversion is getting
confused, but I don't know if it's libofx or KMM itself.