To automatically calculate and display tax or VAT in the Invoice, simply fill-out Tax field in the Invoice record. You may need to expose it if not visible in your page layout.

Below is an example of Invoice with Tax applied:

 

Tax is automatically displayed in the Invoice: