fixed auto generate invoice paylevel