Reduce database consumption when processing large numbers of receipts