You can add the TDS (Tax Deducted at Source) in your sales invoice after setting it up to your customer's details. This is done to make this option show on the invoice page. Here's how:
If your customer was not yet registered to QuickBooks:
Go to the Sales menu, select Customers.
Click on the New customer button.
Enter your customer's details and click on the Tax info tab.
Enter the PAN No. and tick the box that has Apply TDS for this customer.
If the customer already existed, you can simply repeat steps 1, 3, and 4. By the time you're going to create an invoice transaction, select the customer that you've set up to apply TDS. I've added a screenshot for your additional reference: