You should have a journal in 2017 Ye to record CT and liability as follows
Dr 8500 Corporation Tax Charge for the Year
Cr 2320 Corporation Tax
When you paid in July 2018, you should have tagged bank payment as CT payment and it would have brought balance down on 2320 Corporation Tax
2 Likes