How to apply TDS for specific product in the invoice?

TDS is applied to the total document value and cannot be assigned to a specific product in the invoice.
If needed, you may separate taxable and non-taxable items into different invoices.