eInvoicing is a PHP library for creating and reading electronic invoices according to the eInvoicing Directive and European standard.
It aims to be 100% compliant with EN 16931 as well as with the most popular CIUS and extensions, such as PEPPOL BIS.
⚠️ WARNING: This library is almost ready for production. Some features may not be available yet.⚠️
First of all, make sure your environment meets the following requirements:
- PHP 7.1 or higher
- SimpleXML extension for reading and exporting UBL/CII invoices
Then, you should be able to install this library using Composer:
composer require josemmo/einvoicing
For a quick guide on how to get started, visit the documentation website at https://josemmo.github.io/einvoicing/.
These are the expected features for the library and how's it going so far:
- Representation of invoices, parties and invoice lines as objects
- Compatibility with the most used CIUS and extensions
- Export invoices to UBL documents
- Import invoices from UBL documents
- Export invoices to CII documents
- Import invoices from CII documents
- Proper documentation