Gas and electricity supplier npower has written to its 3.4 million domestic customers and donated £1 million to vulnerable consumers after billing errors led to it being the most complained-about energy company.
Regulator Ofgem said there had been a "serious deterioration" in customer service levels after the German firm admitted a glitch had led to a number of errors.
The errors included; a number of bills and statements failing to go out on time, direct debit payments not being set up properly and some customer accounts having problems being started
npower chief executive Paul Massara said that anyone affected would not lose out financially as a result in his letter to customers.
Ofgem said it had been increasingly concerned about npower's customer complaint levels, which have risen sharply in the last year, but welcomed the apology and payment.
More top news
The mother of "bucket list" cancer patient Stephen Sutton has said signs of her son's illness were "ignored".
Boxing champion and occasional actor Mike Tyson has been praised for coming to the aid of a motorcyclist injured in a crash in Las Vegas.
A website is threatening the release of hacked nude pictures of Emma Watson, reportedly in response to her speech on gender equality.