Write the receipt