Changing sale invoice payment allocation after VAT return submitted

There’s a feature request for this which is not marked as implemented as yet.

There is a workaround in that thread if that helps.