vat-calculator-ph
v1.0.1
Published
A simple TypeScript utility to calculate VAT (Value Added Tax) for the Philippines or custom rates.
Maintainers
Readme
vat-calculator-ph
A TypeScript utility for calculating Value Added Tax (VAT) in the Philippines or other regions.
Install
npm install vat-calculator-phUsage
import { computeVAT } from "vat-calculator-ph";
const result = computeVAT(266.96, "net");
console.log(result);
// ➜ { net: 266.96, vat: 32.04, gross: 299 }