get invoices for the last quarter