2017 © Pedro Peláez
 

library vat

Openprovider Calculator Vat Percent

image

openprovider/vat

Openprovider Calculator Vat Percent

  • Friday, December 18, 2015
  • by CSharpRU
  • Repository
  • 10 Watchers
  • 10 Stars
  • 256 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Openprovider VAT Percentage Calculator

From 01-01-2015 rules on VAT calculation in EU has changed and this package helps us to meet the legislation requirements regarding VAT percentage calculation throughout and outside EU including VAT exemption regions (e.g. like Canarian Islands)., (*1)

Installation

$ composer require openprovider/vat 

Usage

$calc = new \Openprovider\Vat\Calculator('2015-12-16', []);
$calc->setProviderCountry('RU');
$calc->setCustomerCountry('RU');
$calc->setIsB2b(true);
$vat = $calc->calculate();

Changelog

1.0.4

  • Release to open source

1.0.3

  • Rename method checkProvincesEu -> isEuExemption

1.0.2

  • Update unit-tests

Authors

Contributors

All the contributors are welcome. If you would like to be the contributor please accept some rules. - The pull requests will be accepted only in "develop" branch - All modifications or additions should be tested, (*2)

Thank you for your understanding!, (*3)

License

MIT Public License, (*4)

The Versions

18/12 2015

dev-master

9999999-dev http://openprovider.eu

Openprovider Calculator Vat Percent

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Openprovider

16/12 2015

1.0.4

1.0.4.0 http://openprovider.eu

Openprovider Calculator Vat Percent

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Openprovider

28/09 2015

1.0.3

1.0.3.0 http://openprovider.eu

Openprovider Calculator Vat Percent

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Openprovider

28/09 2015

1.0.2

1.0.2.0 http://openprovider.eu

Openprovider Calculator Vat Percent

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Openprovider

11/09 2015

1.0.0

1.0.0.0 http://openprovider.eu

Openprovider Calculator Vat Percent

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Openprovider