I have attempted this and the biggest issue is that sometimes the receipts use codes hard to understand. And the codes will change from store to store.
If you're lucky, you won't need to go to a grocery store and determine what a code means, you will only need to map the code to an actual item you bought.