implementation of receipt details