I am a little bit confused with the idea of an invertible ideal sheaf. I cannot convince myself that there are invertible ideal sheaves on a scheme $X$ non isomorphic to the structure sheaf of $X$. I would like to know where my reasoning fails.
Given an invertible ideal sheaf $\mathcal{I} \subset \mathcal{O}_X$ it comes equipped with the inclusion morphism into the structure sheaf. If the localization $\mathcal{I}_x \cong \mathcal{O}_{X,x}$ how is possible that the inclusion morphism does not induce an isomorphism between stalks?