We propose a hierarchy of novel absorbing boundary conditions for the one-dimensional stationary Schrödinger equation with general (linear and nonlinear) potential. The accuracy of the new absorbing boundary conditions is investigated numerically for the computation of energies and ground-states for linear and nonlinear Schrödinger equations. It turns out that these absorbing boundary conditions and their variants lead to a higher accuracy than the usual Dirichlet boundary condition. Finally, we give the extension of these ABCs to N-dimensional stationary Schrödinger equations.