No it wont devalue your car, if it is done from an authorized dealer, such as toyota itself.

Dont go for a cheap solution. They will paint the whole panel not the effected place. I mean if it was the door they will repaint it all, not the scratch alone.