diff --git a/res/sales_tax_rates.json b/res/sales_tax_rates.json index 0ec3e40..21d2aae 100644 --- a/res/sales_tax_rates.json +++ b/res/sales_tax_rates.json @@ -333,7 +333,7 @@ "GC": { "rate": -0.07, - "type": "vat" + "type": "igic" }, "ML": { @@ -343,7 +343,7 @@ "TF": { "rate": -0.07, - "type": "vat" + "type": "igic" } } }, diff --git a/test/sales_tax-test.js b/test/sales_tax-test.js index 5c0e7b5..3dc55d8 100644 --- a/test/sales_tax-test.js +++ b/test/sales_tax-test.js @@ -1699,11 +1699,11 @@ describe("node-sales-tax", function() { return SalesTax.getAmountWithSalesTax("ES", "GC", 1000.00) .then(function(tax) { assert.equal( - tax.type, "vat", "Tax type should be VAT" + tax.type, "igic", "Tax type should be IGIC" ); assert.equal( - tax.rate, 0.00, "Tax rate should be 0%" + tax.rate, 0.07, "Tax rate should be 7%" ); assert.equal( @@ -1731,7 +1731,7 @@ describe("node-sales-tax", function() { ); assert.equal( - tax.total, 1000.00, "Total amount should be 1000.00" + tax.total, 1070.00, "Total amount should be 1070.00" ); assert.equal(