Tax payable understanding and deduction from payable

SO I SOLD GOODS TO A CUSTOMER BY USING A TAX CODE IN SALES INVOICE FOR 17% ST BUT DID NOT ENTER THE PURCHASE NOW THAT THE TAX PAYABLE AMOUNT IS SHOWING AS 10000 BUT I PAID AND SUBMITTED IT TO THE TAX AUTHORITIES BUT ITS STILL SHOWING IN THE TAX PAYABLE COLUM
IF SOME ONE COULD HELP ME IN MAKING A PROPER ENTRY OR HOW TO DO IT WOULD BE HELP FUL I HAVE TRIED READING THE GUIDES AND FORUMS BUT NO RESOLVE. please help in this regard.

First, please do not post in all capital letters. That is interpreted as shouting.

Second, to record a payment of the tax to the tax authority, just enter a payment transaction. Select the tax liability account (whatever you have named it) on the line item. Do not apply any tax code, because your payment to the authority is not a taxable event.