Sewerage Treatment Plants & Residential Property
The rules differ for England & Wales and also depending on whether discharging to ground or surface water.
Read requirements here ...
England is controlled by Environmsnt Agency
Wales by Natural Resource Wales
See my related articles on this subject.