Autonomous wastewater treatment system of tertiary category for commercial applications which combines the advanced secondary BIONESTTM system and phosphate removal by chemical precipitation allowing for disposal in sensitive environments.