openprovider/vat
Composer 安装命令:
composer require openprovider/vat
包简介
Openprovider Calculator Vat Percent
README 文档
README
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).
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
Thank you for your understanding!
License
统计信息
- 总下载量: 265
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-16