added few more parameters in invoice create function (invoice lib)