Download the PHP package i3or1s/efakture without Composer
On this page you can find all versions of the php package i3or1s/efakture. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package efakture
Library for "Sistem elektronskih faktura"
List of services that make use of SEF API to send invoices.
Installation
- Install library with Composer
- This library is in beta. Versioning is yet to be supported
Contributing
EFakture is an Open Source library that will remain free. You are most welcomed to create issues and pull requests on github.
Licence
At this moment there is no special licence attached to this product. This will be addressed in the future. There is no intention to limit or in any way disrupt the usage of the library.
Code organization
System depends on the UBL standard to create the objects that are to be sent to SEF.
UBL implementation that library depends on.
All responses from the SEF are built as objects in the Model directory.
Storing response results from the SEF is currently done in file system.
Support for other types of storage is covered through the use of StorageInterface
Cache folder is by default in location /tmp/sefStorage.
Some of SEF responses are large so API can take some time to cache.
UBL directory contains adapters over standard UBL formats for the purpose of constructing the UBL for SEF and removing the complexity of class instantiation.
Example usage
Initial setup before every API call
Retrieve available units
Retrieve available companies
Find company
For this call to work you should have generated list of companies in the cache.
Retrieve TAX exemption reasons
For this call to work you should have generated list of companies in the cache.
Create and send invoice
Note: Company data should be valid in SEF in order for this to work
All versions of efakture with dependencies
i3or1s/ubl Version 0.0.3
react/http Version ^1.8
react/async Version ^4
react/promise-timer Version ^1.9
ramsey/uuid Version 4.x-dev