Credit notes and vat

I’m trying to issue credit notes that had 20% vat on them and resend on zero rate vat.

Will the credit notes produced reduce the vat on the vat return or does this have to be manually input?