A late breakthrough in negotiations has paved the way for an agreement to be unveiled at a meeting with Ursula von der Leyen in London.