Is this any use to you?
http://community.quickfile.co.uk/t/managing-cis-tax-taken-on-sales-invoices/1732/5?u=parker1090