Intercompany PI to SI

Hi Experts,

Is it possible to do intercompany Invoicing doing PI first? how?

I mean form PI from company A to SI of company B? I tried but it doesnt work only Si to PI and PO to SO

Thanks

What is error you are facing ??