After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 737933 - Comdirect bank (Germany): Subaccount not correctly set up
Comdirect bank (Germany): Subaccount not correctly set up
Status: RESOLVED OBSOLETE
Product: GnuCash
Classification: Other
Component: Import - AqBanking
unspecified
Other All
: Normal normal
: ---
Assigned To: gnucash-import-maint
gnucash-import-maint
Depends on:
Blocks:
 
 
Reported: 2014-10-05 15:49 UTC by m.faeth
Modified: 2018-06-29 23:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description m.faeth 2014-10-05 15:49:36 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
Comment 1 Christian Stimming 2014-10-05 18:27:50 UTC
(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!
Comment 2 Felix Braun 2014-10-12 09:27:54 UTC
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
Comment 3 Christian Stimming 2014-10-13 20:18:16 UTC
@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.
Comment 4 m.faeth 2014-10-14 16:50:26 UTC
we have found a workaround (c.f above Christians comment). So although it is not "Fixed" I consider it as resolved.
Comment 5 Christian Stimming 2014-10-14 19:51:40 UTC
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.
Comment 6 wulmer 2016-02-01 21:56:29 UTC
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
Comment 7 John Ralls 2018-06-29 23:34:37 UTC
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.