issue for generating multiple invoices resolved