Does Uipath switch resp in orcle--- Complex stuff

Hi Team,

The scenario sound quite complex:-

Suppose I have two invoices with different responsibility how could I switch responsibilities to pull both of them without creating two different xaml.file
???
Please advise