VAT year was not filled after changing payment

The VAT Year field was not filled when VAT was applied to a payment, and if this payment had previously been saved without VAT.