Meteor js. How to sum records per month of the same collection

I have the collection of invoices, with the tax field, I must call the invoices for each month and calculate the total tax.

I have Momentjs add to meteor and uses blaze.

app invoices

You can use aggregate to do it on the server and pass it through method back to client