Originally Posted by
craigthemif
https://www.iberia.com/us/iberiaplus/earn-elite-points/
I think you earned Avios for the SJO-PTY simply due to how the €-based earning is allocated to individual flights in an itinerary, rather than an actual entitlement to Avios and Elite Points for Copa flights with an IB code.
Thanks, I suspected it was the case but the Avios credit was confusing..