Boundary Layers and Pathways to the Magnetotail -- 2. Quantifying Energy Transfer at the