/**
* Remove VAT from a value that includes VAT (gross) to get net amount
* @param {number} value_inc_vat Value with VAT (gross)
* @param {number} vat_percentage VAT percentage
* @returns {number}
*/
const removeVAT = (value_inc_vat, vat_percentage) => {
const vat_factor = 1 + (vat_percentage / 100);
return value_inc_vat / vat_factor;
};
export {
removeVAT,
};