As mentioned above, you can use the exit to define custom settlement rule.
Else, you have to use 2 different order types (one for having order as receiver & another one having Cost center as receiver). Orders has to be created accordingly. But it will not feasible for end users to analyze on order type selection.
So I would suggest to use exit for your case.