Making sure to generate all invoices at once