In some cases we book TDS (Tax Deducted At Source) at the time of making purchase vouchers, for that you need to follow these steps:
1. Create new tax account named as TDS on Purchase but it's percentage should be in negative.
2. Suppose you are creating a purchase transaction for rent paid to your landlord. There can be two cases:
a) He does not charge any tax or GST on the same. However, you need to deduct TDS and pay to the government. There is no need to create a new tax group in this case. The tax account created in first step should be added to the purchase transaction.
b) He charges GST on the same and issues you a GST invoice. Now, you need to create a new tax group which will include GST and TDS also. Check below image for creating such a tax group.
Note: Make sure name of tax group starts with GST@ or IGST@
3. After making Tax Group, now you can create Purchase Voucher and select this tax group.
Example: You have paid rent: 30000 + GST@18% (2700 + 2700)
But you have deducted TDS 10%, that is Rs. 3000
So, you will be paying your supplier to 30000 - 3000 + 2700 + 2700 = Rs. 32400
4. This Rs. 3000 will also be shown in Balance Sheet
5. Once you pay this TDS to government, you need to make Expense Entry. After making this entry, TDS account becomes zero in Balance Sheet.