Hi
One of the ways could be that you create two with holding tax codes, one of which would deduct the amount from vendor liability and create a service tax payable entry. The other tax code would create a entry by debiting expense and crediting the vendor account.
Regards
Sanil Bhandari