2017 © Pedro Peláez
 

library fiscal-verification

Slovenian Fiscal Verification

image

neonbug/fiscal-verification

Slovenian Fiscal Verification

  • Wednesday, February 28, 2018
  • by neonbug
  • Repository
  • 3 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

Neonbug\FiscalVerification

Latest Version on Packagist ![Software License][ico-license] Build Status, (*1)

Implementation of the JSON standard for fiscal verification of invoices in Slovenia., (*2)

More info available at their site: http://www.datoteke.fu.gov.si/dpr/index_en.html, (*3)

Install

Via Composer, (*4)

``` bash $ composer require neonbug/fiscal-verification, (*5)


## 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 ``` bash $ 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., (*6)

Security

If you discover any security related issues, please email tadej@ncode.si instead of using the issue tracker., (*7)

Credits

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions

04/01 2016
04/01 2016
03/01 2016