This article defines the class of H-valued autoregressive (AR) processes with a unit root of finite type, where H is a possibly infinite-dimensional separable Hilbert space, and derives a generalization of the Granger-Johansen Representation Theorem valid for any integration order d = 1,2, ... An existence theorem shows that the solution of an AR process with a unit root of finite type is necessarily integrated of some finite integer order d, displays a common trends representation with a finite number of common stochastic trends, and it possesses an infinite-dimensional cointegrating space when dim H = infinity. A characterization theorem clarifies the connections between the structure of the AR operators and (i) the order of integration, (ii) the structure of the attractor space and the cointegrating space, (iii) the expression of the cointegrating relations, and (iv) the triangular representation of the process. Except for the fact that the dimension of the cointegrating space is infinite when dim H = infinity, the representation of AR processes with a unit root of finite type coincides with the one of finite-dimensional VARs, which can be obtained setting H = R-p in the present results.