GNOME Bugzilla – Bug 737933
Comdirect bank (Germany): Subaccount not correctly set up
Last modified: 2018-06-29 23:34:37 UTC
AqHBCI-tool4 already supports the feature "subaccounts". However Gnucash does not. This is needed for SEPA with banks like Comdirect which operate with subaccounts. Gnucash should have an option in the onlinebanking wizard to select a specific subaccount and use this subaccount in the SEPA transaction. A quick and probably more versatile solution would be to add a freefield in the onlinebanking options which is added to the AqHBCI transactions eg. "--subaccount Girokonto". This would be less userfriendly but can be used for all kinds of AqHBCI commands. This is a feature request. Thanks Matthias
(as discussed on the gnucash-de mailing list) Matthias, can you send me in private mail a screenshot of the online banking setup (!) wizard with the "Online-Konten zuordnen" window? Additionally, can you send me in private mail the output of a command line call "aqhbci-tool4 listaccounts", and mark to me in both account lists the ones where you need to distinguish the different subaccounts? I don't have subaccounts here personally, so I cannot directly test the difference and need your input here. Thanks!
I'm also affected by the bug of not being able to send SEPA transfers with Comdirect Bank (altough I haven't root-caused it to the sub-accounts issue as Matthias aparently has). If you need any help debugging, I'd be more than willing to help. Regards Felix
@Felix: Here's the workaround we found out: 1. Make sure to have your Girokonto account only once in the account list, by deleting every duplicate in the setup wizard. 2. You need to call the command line command "aqhbci-tool4 getaccsepa --account=123400 --subaccount=Girokonto", where 123400 is the account number of your Girokonto, and the string after subaccount (the "subAccountId") might be correct or alternatively it must be looked up in the aqbanking configuration files. To look up your current "subAccountId", go into the ~/.aqbanking/settings/accounts directory and open the various files there with a text editor. Find out the ones which contain your account number e.g. 123400. The approx. 5th line in that file reads subAccountId="...", which is probably "Girokonto". This must be given in the --subaccount=... option. Now call the getaccsepa command. 3. After calling the getaccsepa command, check this very configuration file again. Probably the subAccountId=... string has now changed, e.g. into "Tagesgeld Plus". Use a text editor to change it back to the original value, such as "Girokonto". 4. Now use this account in gnucash, and for Matthias all now worked. If it doesn't work, please contact me by private e-mail and send me the output of "aqhbci-tool4 listaccounts", and we see what we can find out together. As for the root of this bug: Either the bank sends some wrong values, or aqbanking has a bug in its "getaccsepa" command, I don't know.
we have found a workaround (c.f above Christians comment). So although it is not "Fixed" I consider it as resolved.
No, the bug should be left open until I've found an actual solution. The above is just that: A workaround, but not more. The bug report should please stay open to collect further information in the future.
The above mentioned workaround did not help me when GnuCash refused to work with my comdirect account two weeks ago. However the following workaround helped: http://www.onlinebanking-forum.de/forum/topic.php?p=122436#real122436
GnuCash bug tracking has moved to a new Bugzilla host. The new URL for this bug is https://bugs.gnucash.org/show_bug.cgi?id=737933. Please continue processing the bug there and please update any external references or bookmarks.