Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

No-way

Compare
Choose a tag to compare
@spaze spaze released this 30 May 00:41

While Norway is not part of the EU, the country also uses VAT. But if you're in EU selling to NO customers, you don't always want to charge VAT. See upstream's driesvints#43 and driesvints#14 (comment). This release removes Norway VAT and adds a method to add it back manually.

  • Norway VAT rate removed, can be manually added back with VatRates::addRateForCountry() (BC BREAK)
  • VatCheckUnavailableException always thrown, forwardSoapFaults option has been removed (BC BREAK)
  • Some countries have various VAT rates depending on location resulting in getTaxRateForCountry() removal, use getTaxRateForLocation() instead (BC BREAK)
  • Separate class VatRates for rates, you need to pass the class to VatCalculator constructor (BC BREAK)