We can add a ledger account category to another category by using the [add ledger account category to category](🔗) endpoint. For this call, we again need ids of both categories:



As above, a category can be removed from another by using the [remove ledger account category from category](🔗) endpoint. This also does not affect underlying transactions: it simply removes the newly excluded child category balance from the parent category balance calculation.

As of now, nested categories up to level 4 are allowed. A root category without any nested category is considered level 0.