If Iblis (la) decisives us by taking away us from what is halal and telling us to do haram, does it mean that he has a perfect understanding of the Shari’a?
And if so, how did he aquire it?

Shaytan knows that he can takes us away from Allah due to disobedience, thus, that is what he whispers