The invoice rules prescribe a separate field to mandatorily mention prominently, the amount of tax and the rate of tax applicable on the price at which the supply is made. Therefore, mentioning a consolidated amount without showing the tax separately will not be valid.
(ICAI FAQ PUBLICATIONS 06-09-2017 TAX INVOICE, CREDIT AND DEBIT NOTES: FAQ NO. 47)