Vat provision in invoice

Hello all,

Can anyone help me in generating 20% VAT in invoice,
should i define VAT percentage in sale_tax_rate parameter and tell the item
type as (services,vat)

or item type parameter will automatic assume my item in services mode if i

I need example of array to understand this better.

please help ASAP.