[GNC] Change account type by editing XML?

david whiting dw at davidwhiting.me.uk
Wed Apr 29 14:25:25 EDT 2020


Hello,

When I first set up my accounts (for a local club) I knew very little
about accounting and misinterpreted some information I was given by an
accountant and ended up creating some sub-accounts in Accounts Receivable.
I now know that was not the correct thing to do, and I should have created
these accounts as straight-forward asset accounts.

Using gnucash I cannot change the account type for these accounts. When I
use ctrl+e on these accounts I only see account type A/Receivable so I
cannot change them through the GUI.

I've compared the XML structure of one of these accounts with another
simple asset account and they are the same except for the <act:type>, i.e.:

<act:type>RECEIVABLE</act:type>

versus

<act:type>ASSET</act:type>

I've tried editing this (on a copy) and simply changing RECEIVABLE to ASSET
seems to work when I re-open the file. Once this is done I used gnucash to
move the account to the correct place in the accounts hierarchy and all
seemed well.

Before I do this to all instances in my working file are there any
potential adverse consequences that doing this could cause that I am
not aware of?

Thanks.

David
-- 
David Whiting


More information about the gnucash-user mailing list