Tax Code rate changes

See this Guide, which describes exactly your situation:

It’s not simple. But if you always charge all components of a tax code, see this Guide: