driesvints / vat-calculator

Handle all the hard stuff related to EU MOSS tax/vat regulations, the way it should be.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Switzerland to the VAT Calculator

theo-pirkl opened this issue · comments

Hey there,

first, thank you for this wonderful package. It's really helpful especially combined with Laravel Spark.

I was wondering if it you could add the Swiss VAT to your package ? Switzerland's not in the EU and has a VAT that differs from EU's percentage. It is a 7.7 % tax (source : The Swiss authorities ).

It would really help me finish my app (many of my users will be in Switzerland). Using the config.php does not seem to be changing much (maybe I'm using it wrong ?) :

    'rules' => [
        // 'XX' => 0.17,
	    'CH' => 0.077
    ],

Thank you in advance for your help.

EDIT : I see this has already been discussed (#29), however I believe this package could also add Switzerland, especially since Norway has been added. Since Norway's not in the EU, I believe Switzerland should be in there too.

Seems to be added in #69

Actually, CH shouldn't have been added as it's not part of the EU.