commerceguys / tax

A PHP 5.5+ tax library.
MIT License
275 stars 39 forks source link

Minor update: Adds swiss vat rates from 1995-2010 #48

Closed el-seirh closed 7 years ago

el-seirh commented 7 years ago

I just added the general vat rates for Switzerland from 1995-2010 (according to this information https://de.wikipedia.org/wiki/Mehrwertsteuer_(Schweiz)#Politik) to fill the gap. Sorry the wiki article in german only. Be aware that the article also mentions that this vat type was subjected to 26 exceptions which made it complicated to use. The exceptions basically covered parties that were excluded from paying the tax. These exceptions were all thrown out the window in the 2011 version.

I am unsure if this is the reason why this information hasn't been included yet in the project. If so feel free to reject this pull request.

On the other hand it makes me who is located in Switzerland unable to use the library since I have to get vat rates going back to 2003 in order to make my app work. I don't need those exceptions covered. I just need the vat rates for that time.

bojanz commented 7 years ago

Thanks!

el-seirh commented 7 years ago

@bojanz Cool, you're welcome! Can you do me a favour and add a new version tag for this? In our project we have a 'stable' minimum-stability setting that we're not supposed to change. Thanks!

bojanz commented 7 years ago

What's your minimum-stability? master now depends on the new addressing and zone betas, so a new release might not help you until those libraries also get stable releases (in which case you'll want to add your commit as a patch)