<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Jesse,</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On Dienstag, 24. November 2020 18:13:38 CET Jesse wrote:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Is there a way to import qif/ofx files and tell it not to import the Description as the Payee? </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> What happens today is that the import brings in the Description as a Payee but my bank set the Description to things like: </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> 1213ada3 McDonalds #124565</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> or </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> One Gas PR Util Paymt 1278232365652864 </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> These are not payees exactly because they include numbers that make it specific to the transaction. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> I think the best solution is to allow the user to import transactions without setting a payee. Is this possible? Maybe I just missed the option. I tried to read through the documentation and search google. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">> Any help would be great! </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">This is where payee matching comes into play. The download via QIF and OFX contains the information about the payee and KMyMoney extracts it. There is no way to suppress this.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The mentioned behavior led to the development of the payee matching in KMyMoney. It is described in the manual which you can find at</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><a href="https://docs.kde.org/stable5/en/extragear-office/kmymoney/details.payees.personalinformation.html#details.payees.personalinformation.matching">https://docs.kde.org/stable5/en/extragear-office/kmymoney/details.payees.personalinformation.html#details.payees.personalinformation.matching</a> </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">You can add the settings manually. To get started I suggest the following:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">a) open the payees view</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">b) make sure you have the payee as you want it to show up on file (w/o numbers)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">c) select the payee you don't want (the one with the changing numbers)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">d) delete that payee and re-assign the transaction to the payee in b). Make sure to check the checkbox to 'assign deleted names to the selected payee's matching list. Press OK to finish the deletion</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">e) select the payee found in b)</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">f) the 'Matching' tab now shows the payee with the numbers.</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">g) adjust that entry so that it matches in general</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The next import should now assign the transaction to the your existing payee and don't create the name with the fancy name.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">For a payee 'McDonalds' I would use the following matching rule:</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">   ".* McDonalds #\d+"</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">without the quotes which are used here to show the limits of the regex</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hope that helps.</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-- </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Regards</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thomas Baumgart</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">https://www.signal.org/       Signal, the better WhatsApp</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-------------------------------------------------------------</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">How can you make a programming language that will be good for</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">everything if you cannot even make such a screwdriver?</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">An open source enthusiast</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">-------------------------------------------------------------</p>
<br /></body>
</html>