create receipt class