Allow user to pass paramaters when fetching invoices