added deleted receipts to apiReceipt routine