Invoice groups with sub-totals on a single invoice

Invoice groups with sub-totals on a single invoice

Looking for ways to either group by item/service type or by customer on a single invoice with the group sub-totals.  Is there functionality to do this?  Anyone have an idea how if functionality doesn't exist?

For Example; Customer wants to see service/product totals by location