koosh/vat-utility

VAT utility to check for tax free zones in the European Union.

dev-master 2016-01-10 21:00 UTC

This package is not auto-updated.

Last update: 2024-12-11 20:17:40 UTC


README

This is a simple class to check based on country/region ISO and the zip/postal code if a place in the EU is considered a tax free zone based on https://en.wikipedia.org/wiki/European_Union_value_added_tax.

Install via Composer

{
    "require": {
        "koosh/vat-utility": "dev-master"
    }
}

Example usage

use koosh\VATUtility;

if (EUVATFreeZone::isEUTaxFreeZone('FI', 22100)) {
    // Is VAT free zone.
} else {
    // Is not VAT free zone.
}