How to compute tax amount from final price

is there a way to compute tax from my declared price
example:
i have a soap that sells for $13, lets say my tax is 10% so my VAT should read $1.3

(tax_inclusive) / (1+tax_percentage) = price_excl_tax.

In your case, tax=0.1(10%), $13 is tax_included, so the actual_tax is $1.182
$11.82+$1.18(tax) = $13

@trentmu
where should i put that?

https://erpnext.com/docs/user/manual/en/setting-up/setting-up-taxes.html

1 Like