Weapons don't get damaged when they strike, armors and shields don't get damaged when they intercept a hit... or at least the game rules don't care about these sort of nicks which yes, your character might need to fix between adventuring days (for weapons, this is made clear by the presence in the game of the whetstone, which, unlike other mundane equipment, has no rules attached; it's easy to assume the same level of detail is to be used for armor).
There are, anyway, situations where the HP and hardness of a suit of armor are used.
You could try to sunder or otherwise attack an armor that is not being worn, sometimes to break a curse, sometimes to get rid of an evil magic item, sometimes to break the item upon which an unconvenient spell has been cast, sometimes to expose a demon that is possessing it, sometimes to prevent some kind of undead to come back the next day (I'm sure this kind of undead exists in Pathfinder 1e but I think 3.5e also has it).
There are enemies, usually some kind of ooze, that deal damage to your armor when they hit you.
Some spells or class features might be able to specifically damage armor.
If you roll a natural 1 on a saving throw against a spell, you need to identify the four items that are more exposed (according to a table) and randomly roll which one item might also be damaged if it fails a separate saving throw (the table starts with shield, then armor, so if a character is wearing armor there's at least a 25% chance that it risks being damaged).
Therefore... no, armor is not invulnerable.