Registered Member
|
Hi,
I'm looking for a solution how to import splitted transactions into existing KMyMoney file/db. I want to import transactions from 3rd party DB which contains both single (simple) transactions and also splitted transaction. In this case I can choose any intermediate format used to import data into KMyMoney. When exporting to CSV details about splitted transaction are appended to end of row which contains splitted transaction (splitCategory, splitMemo splitAmount). Is there any way to import split-transactions? If so:
|
KDE Developer
|
AFAIR, QIF is the only format that supports the import of split transactions. As stated on the QIF Definition page:
What you can do to see how such transactions look like in QIF is creating one in a 'demo' account in KMyMoney and then export it to QIF. CSV using additional columns for splits is not supported. Not sure if OFX supports splits at all. p.s. nice nick name
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
openSuSE Leap 15.4 64bit, KF5 |
Registered Member
|
Thank you! QIF looks as the right choice, specially because last paragraph "Special KMyMoney QIF extensions" applies to my application. So I can overcome one of drawbacks this format has.
I have two more questions about this special '#' field:
|
KDE Developer
|
Of course I know (ok, can find out) where KMyMoney stores that information. It is kept in an internal field and not accessible to the user. Usually, this information is provided by your institution when you download transactions online from your bank's server (using OFX or HBCI).
ipwizard, proud to be a member of the KMyMoney forum since its beginning.
openSuSE Leap 15.4 64bit, KF5 |
Registered Member
|
Yes, I suppose that transaction unique ID will not be accessible to the user through GUI. I want to use it to detect which transactions from 3rd party SW was already imported to the KMyMoney and which transactions should be exported to QIF for next import. I'm using MySQL as KMyMoney storage so I want to look into DB and make QIF export fully automated. Could you help me with identification of this column? Afterwards I can study KMM sources and find the QIF '#' field limitations.
|
Registered Member
|
Finally I realized that transaction identifier from KMyMoney custom tag '#' in QIF is stored in db colum 'kmmSplits.bankId'. Data type is MEDIUMTEXT so there is almost no limitation
Automated export to QIF and import to KMM works now as expected, thank you! |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]