income, expenses, profit): expenses are negative, and income + expenses == profit.as_displayed): expenses are positive, matching what the page prints. type_multiplier records which way each was flipped. Do not mix the two in one calculation.{
"income": {
"periods": {
"property1": 0,
"property2": 0
},
"total": 0
},
"expenses": {
"periods": {
"property1": 0,
"property2": 0
},
"total": 0
},
"profit": {
"periods": {
"property1": 0,
"property2": 0
},
"total": 0
},
"as_displayed": {
"income": {
"periods": {
"property1": 0,
"property2": 0
},
"total": 0,
"type_multiplier": 1
},
"expenses": {
"periods": {
"property1": 0,
"property2": 0
},
"total": 0,
"type_multiplier": 1
}
}
}