Some advice on CIS please

When invoicing do i add VAT before or after the CIS deduction ?

CIS is on labour only, vat will be on both labour and material