Visit https://www.facua.org/es/simuladores.php with a copy of your last two bills to see if it was accurate.
The scam that Endesa was running was to charge you bugger all on your (estimated) bill in December, then put the price up on the 1st of Jan and charge you all of December on the new (more expensive) tariff. Something could be illegal. Go there and find out.