AV 1231 then JA 5642 at Bogotá
Medellín → Bogota → Cucuta
Timetable, Bogota time
15:15AV 1231 from Medellín at the gate
15:05JA 5642 to Cucuta leaves the gate
23 h 50 apart on the timetable, overnight
JA 5642 leaves 23 h 50 after AV 1231 arrives on the timetable: more than half a day, so not a connection we count.