The TCS will be applied both on net amount and total amount. You can select net amount or total amount while applying the TCS on invoice creation.