fixed balance and total amount calculation