2023-04-24 commodity HOUSE
; Tracking house as a commodity.
; This will allow us to track the value of the house over time as the market price changes and to
; reflect this in your balance sheet.
; Join accounts
2023-04-24 open Liabilities:Mortgage EUR
2023-04-24 open Assets:House HOUSE
2023-04-24 open Expenses:Mortgage-Interest EUR
; Partner A accounts
2023-04-24 open Equity:PartnerA:Initial-Cap EUR
2023-04-24 open Equity:PartnerA:Drawings EUR
2023-04-24 open Assets:PartnerA:Bank EUR
2023-04-24 open Income:PartnerA:Salary EUR
; Partner B accounts
2023-04-24 open Equity:PartnerB:Initial-Cap EUR
2023-04-24 open Equity:PartnerB:Drawings EUR
2023-04-24 open Assets:PartnerA:Bank EUR
2023-04-24 open Income:PartnerA:Salary EUR
; Initial capital
2023-04-24 * "Initial capital partner A, invested in household"
Equity:PartnerA:Initial-Cap -100,000.00 EUR
Assets:PartnerA:Bank
; *** Buyin the house
2023-04-24 price HOUSE 400,000.00 EUR
; you can tag the transaction with the mortgage account to make it easier to track the mortgage payments
2023-04-24 * "Buy House" ^mortgage
Liabilities:Mortgage -300,000.00 EUR
Assets:House 1 HOUSE @@ 400,000.00 EUR
Assets:PartnerA:Bank -100,000.00 EUR ; You partners 100,000.00 EUR invested in the house is not your income, it is your partner's initial capital
2023-04-29 * "Partner A income"
Assets:PartnerA:Bank 4,000.00 EUR
Income:PartnerA:Salary
2023-04-29 * "Partner B income"
Assets:PartnerB:Bank 3,000.00 EUR
Income:PartnerB:Salary
; I do not think it is correct to write how much of every parner's payment goes to interest and how much goes to reduce mortgage.
; you just note how much each of you paid to the bank
2023-05-01 * "Bank" "Mortgage payment: 200,00; Interest: 400,00" ^mortgage
Assets:PartnerA:Bank -400.00 EUR
Assets:PartnerB:Bank -200.00 EUR
Liabilities:Mortgage 200.00 EUR
Expenses:Mortgage-Interest 400.00 EUR
; now market price of your house has increased.
; congratulations!
2024-01-01 price HOUSE 450,000.00 EUR
; you will see this when you run a balance sheet -like beanqury. e.g.
;
; SELECT account, convert(position, 'EUR') as amount WHERE account ~ "Assets|Liabilities"