How to apply TCS for specific product in the invoice?

TCS 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.