Regardless of the time of day you decide to fly, the ticket price will remain around the same. Book flights from Indonesia to Puerto Rico as you normally would.
Denpasar Bali Ngurah Rai Airport is DPS and San Juan Luis Munoz Marin Intl Airport is SJU. These codes are created by the International Air Transport Association (IATA) and airlines use them to identify the departing and arrival airports in the flight routes they service. Aguadilla Borinquen Airport (BQN), San Juan Isla Grande Airport (SIG), Ponce Mercedita Airport (PSE), Vieques Airport (VQS), Culebra Airport (CPX) are some additional IATA codes for airports related to your trip.