Updated receipts patch to follow new API