Registered Member
|
I have a knucklehead bank that provides an OFX file where the Charge values are positive and the Payment values are negative.
Kmymoney seems to not use the <TRNTYPE>, but only imports based on the <TRNAMT> of the transaction. is there a way to force it into the correct column based on <TRNTYPE> rather than <TRNAMT>? Is there any way to adjust this before the import? I've emailed the bank complaining, but I don't expect a response. |
KDE Developer
|
About signs, the OFX spec version 2.2 says the following:
and on the TRNTYPE I found:
Does KMyMoney violate any of this in your case? There's always the possibility to write a little script that reverses the amount of transactions in your file before you import it into KMyMoney, but that is outside of the scope of the application. Hope that helps/clarifies.
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
openSuSE Leap 15.4 64bit, KF5 |
Registered Member
|
Well, so the OFX in question has a <STMTTRN> like this:
This has a <TRNTYPE> of Charge (which doesn't seem to exist in the OFX Spec). I have tried changing that to DEBIT, but the <TRNAMT> is positive instead of negative. My experiments in this found that changing the <TRNTYPE> made no difference. I also found another credit card that does this too. I guess things are clarified in that the only field that matters In this case is <TRNAMT> and not <TRNTYPE>. |
KDE Developer
|
The following transaction types are listed in OFX 2.2 (shown on http://www.ofx.net/ as being the current one):
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
openSuSE Leap 15.4 64bit, KF5 |
Registered users: bartoloni, Bing [Bot], Google [Bot], q.ignora, watchstar