More than half a million of the firm’s customers received energy bills that were inaccurate.