You may find the following posting helpful:
http://community.quickfile.co.uk/t/netting-off-receivables-and-payables/345