updated createInvoice public side