Hmm!
Seems a bit weird thing to do!
It depends what the pipe is connected to.
I would imagine an external back inlet gully with a branch off through the wall is the usual way to connect to waste water to the drains. But you can use a stub stack.
I imagine you may have an external trapped gully on it though, even if it has a sealed lid, because if it was connected directly to the main house drain you would be getting all kinds of smells coming up.
If it does have an external gully, its usual to fit a 110mm x 42mm reducer and put the waste into that. An AAV is not normally required. But as I said your system seems a bit weird to bring a waste connection up in the living room.
Mind you I have known it happen before, drain layers are not always alert, or plans change and people alter the layout.
Anyway go to the government planning website and load down Approved document H that will tell you a lot more.
Hope this helps!