powerpaul17 / nc_money

Nextcloud app for finance management
GNU Affero General Public License v3.0
97 stars 9 forks source link

Everything is inverted #6

Closed sergedc closed 1 year ago

sergedc commented 1 year ago

Hi, Nice tool, but what am I not getting: if I get 100 of income from my work, my bank account (asset) has 100. Currently when you put 100 of income, Assets are going to -100

powerpaul17 commented 1 year ago

Hello, what you observed is due to the nature of double-entry accounting. If it goes into your bank account it has to come from somewhere, in your case the income account. So mathematically this is going to be a negative value. As far as I know accountants use two columns for keeping track and in income accounts it is labeled differently but I'm not an accountant unfortunately.. :sweat_smile:

But I'm aware of this issue and that it seems not intuitive (even if mathematically correct) and I am thinking about simply inversing the values of the income accounts but I want to investigate the possible solutions more before I start implementing something..

Hope I made it clear somehow.. :sweat_smile:

sergedc commented 1 year ago

I am an accountant and double entry accouting means that each entry is reflected 2 times.An income can either be reflected as an increase in asset or decrease in liabilities. An expense can either be reflected as a decreade in asset or an increase in liability. Double entry accounting is not "it has to come from somewhere"  ---- On Thu, 06 Oct 2022 03:46:25 -0400 @.*** wrote ----

Hello, what you observed is due to the nature of double-entry accounting. If it goes into your bank account it has to come from somewhere, in your case the income account. So mathematically this is going to be a negative value. As far as I know accountants use two columns for keeping track and in income accounts it is labeled differently but I'm not an accountant unfortunately.. 😅

But I'm aware of this issue and that it seems not intuitive (even if mathematically correct) and I am thinking about simply inversing the values of the income accounts but I want to investigate the possible solutions more before I start implementing something..

Hope I made it clear somehow.. 😅

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

powerpaul17 commented 1 year ago

It is reflected 2 times. One time you have +100 on your asset account. And on the other side you have -100 on your income account so the net is zero. Then it's a balanced transaction (sorry if I don't have the correct wording as I said, I'm not an accountant :wink: ).

This shows more of what I mean: https://www.quora.com/Why-do-income-accounts-have-negative-signs-in-ledgers?share=1

powerpaul17 commented 1 year ago

Or in other words, I'm currently only depicting the debits column of an account table (due to space constraints) so it can become negative.