How to record TDS while recording the payment for purchase/sales invoice on web?

Step 1:Please go to the sales invoice >> select the record payment option.

Step 2: Select the TDS option >> select the applicable TDS section >> Click on update payment.