VAT in KSA

Is the tax calculated for the individual contents of the invoice or can the tax be calculated on the total value of the invoice ? Kindly please explain

Any item price will include the VAT and then it will show as a total vat