Handling 2 Document Types in a Single Transaction

Hello all,
Here I am in a situation where I have an inbound XML PO coming to TN.At times wants to send another document say confirmation along with the PO.
Requirement is:How to handle these 2 different documents and split it at TN level.
Thanks in advance.

Using processing rule you can invoke a service, which can send the confirmation along with PO.

Thanks for your suggesstion.My query is those 2 documents should be handled at TN level and invoke different services that is one for PO and the other for confirmation

Create different document types based on the input document.
Then you can always create different processing rules based on your different document types. Each processing rule can invoke a different service.