[IMP] Refactor VAT format functions