Extracted VAT calculation

Could be refactored further into some pluggable dispatcher, but this is
too much for now.