Script to create a json file with world standard VAT rates or approximation.
See file: vat-rates.json
- Go to https://www.vatcalc.com/vat-rates/
- Open debugger and select the table with VAT rates
- Right klick the table node and select
Copy outer HTML - Paste the HTML into
vat-table.html - Run
node clean-table.mjsto clean the code - Run
node vat-table-clean.htmlto recreate thevat-rates.jsonfile