[Kmymoney-devel] [Bug 285761] QIF import for credit card account and deposit account not working properly

Andreas Stempfhuber andi at afulinux.de
Sat Nov 5 14:02:02 UTC 2011


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





--- Comment #3 from Andreas Stempfhuber <andi afulinux de>  2011-11-05 14:02:01 ---
Actually I am interested in importing data to an existing account. The "Steps
to Reproduce" was just an example but maybe not a good one, sorry for the
confusion.

My old script created QIF files with the following header:

!Type:Bank
CX
POpening Balance
L[name of the account]

This was working fine with all type of accounts and kmymoney 0.8.9 (Debian
Lenny). The data are imported to the existing accounts as expected.

The script is still working for giro accounts in newer kmymoney versions. But
it does not work with other accounts like credit card or deposit accounts. A
new account is created instead with the same name.

Then I checked the QIF specification and found out that using !Type:Bank is not
the right thing to do for all accounts, so I updated my script to use
!Type:CCard for credit card accounts, but it was still not working.
Unfortunately I am not sure anymore if I tested it with kmymoney 4.5.3 or only
with 3.98.1. As exports always showing !Type:Bank I was assuming that the type
is ignored by kmymoney and it's not worth to play around with it.

Basically you confirmed now that the type is important which is good to know!
Let me try it again with !Type:CCard for a credit card account and kmymoney
4.5.3.

What type do I need to use for a deposit account?

PS.: If the type is important then yes I agree, the export should use the
correct type of the account and not a static one configured on a QIF profile.

PPS.: Just as a feedback, I am not very happy with the date auto-detection
feature for QIF imports because if there are only a few entries in the QIF file
with dates like 12.10.2011 or 05.11.2011 then the auto-detection fails and I
have to select each time the date format manually.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list