Using aggregation to produce financial reports