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
With temperatures peaking at 29C today, it is the hottest April day for nearly 70 years.
Russian trolls are behind a disinformation campaign about chemical weapons attacks in Syria and Salisbury, a government source has said.
Decontamination work is to begin at nine sites across the city.