The present work aims at proposing a rigorous analysis of the mathematical and numerical modelling of ultrasonic piezoelectric sensors. This includes the well-posedness of the final model, the rigorous justification of the underlying approximation and the design and analysis of numerical methods. More precisely, we first justify mathematically the classical quasi-static approximation that reduces the electric unknowns to a scalar electric potential. We next justify the reduction of the computation of this electric potential to the piezoelectric domains only. Particular attention is devoted to the different boundary conditions used to model the emission and reception regimes of the sensor. Finally, an energy preserving finite element/finite difference numerical scheme is developed; its stability is analyzed and numerical results are presented.