In this paper we give an explicit formula for the solution of the non-homogeneous complex Cauchy problem with Cauchy data given on a bounded smooth strictly convex domain in a non-characteristic hyperplane. These formulas are obtained using the explicit version of the fundamental principle given in terms of residue currents; moreover, we characterize the domain of definition of the solution and we generalize these techniques to the non-homogeneous Goursat problem.