The generalised Vaidya spacetime has several important applications in gravity. We study the embedding of an N-dimensional generalised Vaidya spacetime into an \((N+1)\) -dimensional pseudo-Euclidean spacetime. The Gauss–Codazzi–Ricci equations reduce to a single condition, a Riccati equation, containing components of the Riemann tensor that can be solved in general in terms of elementary functions. The generalised mass function is found, representing the gravitational potential, which has a unique representation in terms of elementary functions. Our results have important geometrical and dynamical consequences. This mass function does not allow for the existence of a strong curvature singularity. The embedding in the Vaidya geometry generates a model of a radiating star with concentric layers.