Closing intersite PO

We have intersite POs that need to be closed. But we get the following error. The PO is a sales order->delivery-> and an invoice. But it still gives this error.