retrive PDF invoice method