AV 8413 then AV 2962 at Bogotá
Riohacha → Bogota → Arauca
Timetable, Bogota time
13:25AV 8413 from Riohacha at the gate
12:10AV 2962 to Arauca leaves the gate
22 h 45 apart on the timetable, overnight
AV 2962 leaves 22 h 45 after AV 8413 arrives on the timetable: more than half a day, so not a connection we count.