-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Income summed under Expense #736
Conversation
@zachgoll The tests are written in the way that it expects income amount to be negative. Was this intentional?. If we are going to fix this issue, what should we going to modify, the scope |
@Harry-kp yes, the convention that we're using is that any inflow to an account has a negative amount, while any outflow has a positive amount. This affects the account balance differently based on the |
@zachgoll I am slightly confused between
|
@Harry-kp that's my bad, at second glance, looks like the Wiki was not up-to-date with the convention we're using in the app. I've re-written it with a bit more clarity, let me know if that helps! https://github.com/maybe-finance/maybe/wiki/Vision#signage-of-money And to your question about
|
@zachgoll I found the updated wiki much clearer, thank you! I just want to clarify something: When we talk about income, is it the same as inflow? And similarly, is expense the same as outflow, or does it depend on how the accounts are classified? |
In theory, income and expense should be a subset of inflow and outflow. Right now, since we don't have the concept of transaction types yet, we're approximating anything with a negative amount as "income" and anything with a positive amount as "expense". This is an "interim" solution at best, but we don't have a much better one until those transaction types are introduced. |
Covered by #759 |
Description
inflows
scope.Fix.Income.Sum.mov