Here it is. Sorry about the mess of it but I'm only starting out.
OK sorry I solved that problem. You were right, the problem was with all my choping and changing I changed VATRate to VATRateID and did not realise it.
Thanks for all you help on that one. I still have the header problem, but I...