I think a similar question has been asked, if you're referring to immunities in inverse battles.
According to Serebii they are inverted and do the damage as if the Pokemon was not immune.
Ehh so bla bla bla it'll do 2x damage not 4x. Look at the serebii chart. :D?