Query scopes:
interval($start, $end)
joinBookings()
withSignedAmount()
joinAccountBranch()
Sum functions:
balanceAt($date)
expedituresInInterval($start, $end, $group)
incomesInInterval($start, $end, $group)
cashFlowInInterval($start, $end, $type, $group)