I don't see why everyone needs access, it could just be kept with the Department of Energy (or whoever would be in charge of the proposed universal deposit program). Accessing it would require a court order, just like digging through someone's trash.
Although that said, an open database of every single purchase would have all sorts of uses!
For instance, if someone litters, the authorities could track the unique code to the purchase and then... well. ๐
Do you think that kind of surveillance isn't already happening with credit card companies, online shopping, and chain stores?