added Basket Plugin - Check VAT ID

I need some help adding the Basket Plugin for the VAT ID Check.
If VAT ID is set, the taxrate must be removed. 
If VAT ID is removed, the taxrate must be added again.
First, use a try/catch statement to get the payment address. If the payment address isn't available, there's nothing to do