VAT/Tax free purchases by companies


Is there a nice way of enabling registered companies (VAT number) to place orders that are tax free? Regular customers need to pay taxes, by companies with a registered VAT should be able to enter the VAT and make the purchase tax free. Since companies can be from any country, it would need to be possible for any country.