Hans im Gluck (Grimm #83)
Well, not exactly the same, but similar: 'Trading down' from valuable to less valuable items, though "Swapping Boy" has the protagonist inherit wealth, while poor Hans has to work seven long years for the lump of silver he loses so quickly.