Regardless of the time of day you decide to fly, the ticket price will remain around the same. Book flights from Denpasar to Cartagena as you normally would.
This is defined as Denpasar Bali Ngurah Rai Airport (DPS) and Cartagena Rafael Nunez Airport (CTG). Codes like Cartagena Rafael Nunez Airport are often used to just call airports uniquely.