I need to send an ipa to the client to submit it to the App Store (he has given me his .p12 key and certificate, together with the provisioning profile).
When it was XCo
Your client could use the application loader to upload the ipa.
You should first select Deliver Your App and not Open Package which is misleading.
Deliver Your App
Open Package