[Kmymoney-devel] [kmymoney4] [Bug 334167] New: kmymoney ofx import inverts the amount of imported transaction

Dominique Dumont domi.dumont at free.fr
Thu May 1 07:44:47 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=334167

            Bug ID: 334167
           Summary: kmymoney ofx import inverts the amount of imported
                    transaction
    Classification: Unclassified
           Product: kmymoney4
           Version: 4.6.4
          Platform: Debian unstable
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: domi.dumont at free.fr

I import ofx file into a credit cart account (a liability account). The OFX
file is provided by French La Banque Postale.

The Ofx file reports credit card transaction with a positive amount. Ex:
<TRNTYPE>POS
<TRNAMT>57.53

The liability account report each credit card transaction as an increase. On
ofx import, all credit card transaction are imported in the column "decrease"
instead of the column "increase".

All the best 

Reproducible: Always

Steps to Reproduce:
1. Import an ofx file in a credit card account (type liability)
2.
3.
Actual Results:  
all credit card transaction are imported in the column "decrease"

Expected Results:  
all credit card transaction should be imported in the column "increase"

Could you offer the user a choice when importing the ofx file whether to invert
of not the amount ?

Work around:
 process the ofx file before import with:
 perl -p -e 's/TRNAMT>/TRNAMT>-/g'  bad.ofx > good.ofx

All the best

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list