-
Notifications
You must be signed in to change notification settings - Fork 0
Algorithm
Lucas Wiener edited this page Apr 25, 2014
·
2 revisions
The algorithm that keeps track of the fairness between the owners.
There are two balances for each owner:
- Money: The amount of money an owner has exclusive VAT. When negative, the owner is in dept to the other owners.
- VAT: The amount the owner has to pay/get from the IRS. When negative, the owner is in dept to the IRS. However, negative VAT means the amount is present at the company bank, so this amount can be spent on expenses. When positive, the owner will get the amount back from the IRS.
- Increase all owner money balances (according to owner percentage).
- Decrease all owner VAT balances (according to owner percentage).
- Increase the owner money balance by the price exclusive VAT.
- Decrease the owners money balances (according to owner percentage).
- Increase the owners VAT balances (according to owner percentage) by the VAT of the price.