Welcome to the Community page,
The way in which you could record this in your Quickbooks account is to create an expense to your HMRC category and then match the expense to the banking page. As long as the amount, account, and date are the same it will find the matched transaction for you on the banking page in Quickbooks.
left-hand navigation bar click on +new>expense> fill the information in>save go to banking page find the transaction it should have find match>click on match this will move the transaction form for review to reviewed for you.
If you have any other queries please reach back out to us.