This paper addresses the problem of approximating smooth bivariate functions from the samples of their partial derivatives. The approximation is carried out under the assumption that the subspace to which the functions to be recovered are supposed to belong, possesses an approximant in the form of a principal shift-invariant (PSI) subspace. Subsequently, the desired approximation is found as the element of the PSI subspace that fits the data the best in the (2)-sense. In order to alleviate the ill-posedness of the process of finding such a solution, we take advantage of the discrete nature of the problem under consideration. The proposed approach allows the explicit construction of a projection operator which maps the measured derivatives into a stable and unique approximation of the corresponding function. Moreover, the paper develops the concept of discrete PSI subspaces, which may be of relevance for several practical settings where one is given samples of a function instead of its continuously defined values. As a final point, the application of the proposed method to the problem of phase unwrapping in homomorphic deconvolution is described.