How do I deal with only being noticed when inventory is wrong?
You keep the inventory dead accurate, day after day, and the thanks for it is silence. The only time anyone looks up is when a number is off. That is a real and quiet injustice, and the resentment you feel about it is fair. Good, invisible work is its own kind of lonely. Here is the hard truth about work like yours. Accuracy is noticed by its absence, the way you only notice a floor when it is dirty. That is not because your work does not matter; it is because it works so well it disappears. The recognition problem is real, but it is not a sign your work is worthless. It is a sign it is doing its job. Since the praise will not reliably come, do two things. Quietly keep your own record of what you keep running smoothly, so you can see it even when others do not. And where you can, make some of your value visible, a short note on what you prevented or caught. You should not have to fight to be seen. But you can make sure that, at minimum, you never lose sight of your own worth.