Hi Flavio,
Please check if the partner profile is correctly configured using the transaction WE20. We need to assign the IDOC basic type to the logical system.
Below is the link for your reference.
https://help.sap.com/saphelp_nw04/helpdata/en/dc/6b809b43d711d1893e0000e8323c4f/content.htm
Thanks,
Divya.