neonbug/fiscal-verification
Composer 安装命令:
composer require neonbug/fiscal-verification
包简介
Slovenian Fiscal Verification
README 文档
README
Implementation of the JSON standard for fiscal verification of invoices in Slovenia.
More info available at their site: http://www.datoteke.fu.gov.si/dpr/index_en.html
Install
Via Composer
$ composer require neonbug/fiscal-verification
Usage
See tests folder (esp. InvoiceTest.php) for usage examples.
Testing
Convert your test certificate to PEM format and place it in tests/assets folder.
Open tests/_config.php and fill out all the information (for every test to be run successfully, all fields are required).
Afterwards, open a terminal, navigate to the project's folder and run
$ composer test
TODO
- more tests,
- better error handling,
- implement batch invoices (i.e. /v1/cash_registers_batch/invoices),
- a (more robust) system for retrying requests.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email tadej@ncode.si instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 4.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-01-03