You'll need to enable and set up to record the TDS in the invoice. To enable the TDS for the customer. Please follow the below steps to enable the customer for TDS.
To enable TDS for customers, while creating a new customer, enter customer's PAN number and check the box TDS Applicable, which is available under Tax info tab. For enabling TDS for already existing customers, follow the steps below:
Select Sales or Invoicing from the left menu.
Press Customers at the top.
Click on the name of the customer for whom you want to enable TDS and click Edit.
In the customer information pop up, click on Tax info tab and enter the PAN number and check the TDS Applicable checkbox.
Tap Save.
Once TDS is enabled for a particular customer, while creating the invoice for that customer, you will get option to select TDS section and enter the TDS amount applicable in that invoice.