Wastewater isn't always toxic, but even non-toxic wastewater can be harmful if it's put straight into the sewer without the problem substances being removed first.
Before you let wastewater go into the sewerage system, you need to remove the contaminants, and your company needs to get a wastewater permit from the local water authority.
This permit will specify the treatment process required and any other standards that may apply.