Finish receipt code