It is set out in article 27 of the Spanish General Tax Law and only applies if you move before receiving a formal notice: if the tax agency writes first, you fall into the penalty regime. The step by step for catching up is in the guide I missed a deadline.
Rather have this calculated for you?
kontora generates your tax forms box by box, tells you how much to set aside and reminds you before every deadline.