sales-tax-cad
v1.0.0
Published
Federal and provincial sales tax helpers
Downloads
5
Readme
const SalesTax = require('sales-tax-cad');
const tax = new SalesTax(
'ON', // reference rates.json if unsure
21.41, // ensure that this is a number
2, // leave blank for raw result
);
tax.get(); // returns an array of all chargeable taxes
tax.sum(); // returns the total payable tax