VAT (sales tax) on general journal displays as Input, not Output

I post a general journal with a £1.00 debit to code 1245 (till) and a £1.00 credit to code 4000 (sales)

The VAT group and item VAT groups are set and the VAT/sales tax amount calculates correctly but it displays as Input vat (“Purchase VAT payable”). as the transaction is a sale it should be Output (“VAT payable”).

What is the easiest way to fix this?