PHPackages                             youniwemi/digital-invoice - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. youniwemi/digital-invoice

ActiveLibrary[Payment Processing](/categories/payments)

youniwemi/digital-invoice
=========================

Digital Invoice is an easy wrapper around easybill/zugferd-php, josemmo/einvoicing and atgp/factur-x that will allow you generate Factur-x and UBL (Peppol, Cius...) invoices in a very easy way.

v0.2.8(8mo ago)81.4k↓25%3[1 PRs](https://github.com/Youniwemi/digital-invoice/pulls)MITPHPCI passing

Since Nov 8Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/Youniwemi/digital-invoice)[ Packagist](https://packagist.org/packages/youniwemi/digital-invoice)[ GitHub Sponsors](https://github.com/rahal)[ RSS](/packages/youniwemi-digital-invoice/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (22)Used By (0)

Digital Invoice
===============

[](#digital-invoice)

Digital Invoice offers an effortless and unified interface for generating E-Invoices across various formats. It serves as a simplified wrapper around key libraries such as `easybill/zugferd-php`, `josemmo/einvoicing`, and `atgp/factur-x`. Our objective is to streamline the process of E-Invoice generation by bringing together the capabilities of these established libraries into one easy-to-use package.

We extend our sincere appreciation to the developers of these libraries for their foundational contributions to the field.

Supported Formats
-----------------

[](#supported-formats)

Digital Invoice supports a range of formats, catering to diverse invoicing needs:

- **Factur-X PDF Invoice**:

    - Profiles: `MINIMUM`, `BASIC_WL`, `BASIC`, `EN16931`, `EXTENDED`
- **ZUGFeRD PDF Invoice**:

    - Profiles: `CONFORT`, `BASIC`, `EXTENDED`
- **XRechnung XML Invoice**:

    - A widely-used German XML format
- **UBL XML Invoices**:

    - Profiles: `Peppol`, `Nlcius`, `CiusRo`, `CiusIt`, `CiusEsFace`, `CiusAtNat`, `CiusAtGov`, `Malaysia`

Installation
------------

[](#installation)

```
composer require youniwemi/digital-invoice
```

Getting Started
---------------

[](#getting-started)

To integrate Digital Invoice into your PHP project:

1. Install via Composer (see Installation section above)
2. Explore our test cases for examples and usage guidelines

Key Features
------------

[](#key-features)

- **Enhanced Buyer Identification**: Support for multiple identification types (TAX, VAT, LEGAL, ELECTRONIC)
- **Multi-Currency Support**: Including Malaysian Ringgit (MYR) for Malaysia UBL invoices
- **Comprehensive Format Coverage**: Support for all major European e-invoicing standards plus Malaysia
- **Unified API**: Single interface for all supported formats

Digital Invoice enables you to generate E-Invoices in the following formats with ease:

- **Factur-X PDF Invoice**:

    - Profiles: `MINIMUM`, `BASIC_WL`, `BASIC`, `EN16931`, `EXTENDED`
- **ZUGFeRD PDF Invoice**:

    - Profiles: `CONFORT`, `BASIC`, `EXTENDED`
- **XRechnung XML Invoice**:

    - A standard German XML format
- **UBL XML Invoices**:

    - Profiles: `Peppol`, `Nlcius`, `CiusRo`, `CiusIt`, `CiusEsFace`, `CiusAtNat`, `CiusAtGov`, `Malaysia`

Development Status and Collaboration
------------------------------------

[](#development-status-and-collaboration)

**Active Development**: Please note that Digital Invoice is currently under active development. As such, the API and functionalities may undergo changes. We encourage users to use this package with caution and to stay updated with the latest versions for the most stable experience.

**Collaboration and Support**: We welcome collaboration and are eager to support specific use cases that enhance the utility of Digital Invoice. If you have unique invoicing needs or suggestions for improvements, we would be delighted to hear from you and work together to expand the capabilities of this package. Your contributions and feedback are invaluable in shaping a more versatile and robust tool.

Contributors
------------

[](#contributors)

@yassiNebeL : Adding support to UBL Format using josemmo/einvoicing

Credits and Acknowledgements
----------------------------

[](#credits-and-acknowledgements)

We are grateful to the following projects and teams for their contributions:

- [ZUGFeRD PHP SDK (Factur-X, XRechnung)](https://github.com/easybill/zugferd-php) - For enabling the generation of Factur-X, XRechnung and Zugferd.
- [European Invoicing (eInvoicing)](https://github.com/josemmo/einvoicing) - For enabling the generation of UBL invoices.
- [PHP Factur-X Library](https://github.com/atgp/factur-x) - Providing foundational tools for Factur-X invoicing.
- [Tiime Software Team](https://github.com/Tiime-Software/EN-16931) - For their work on structured data types in E-Invoicing.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance67

Regular maintenance activity

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~36 days

Recently: every ~30 days

Total

19

Last Release

268d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/434d10de4e57eb930e47e929c07b956e13153ae9738179eecd10151b65e08b59?d=identicon)[rahal](/maintainers/rahal)

---

Top Contributors

[![rahal](https://avatars.githubusercontent.com/u/34531?v=4)](https://github.com/rahal "rahal (31 commits)")[![yassiNebeL](https://avatars.githubusercontent.com/u/108750248?v=4)](https://github.com/yassiNebeL "yassiNebeL (1 commits)")

---

Tags

e-invoicingfactur-xpeppolublinvoiceZUGFeRDfactur-xdigital invoiceublpeppole-invoicingCius

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/youniwemi-digital-invoice/health.svg)

```
[![Health](https://phpackages.com/badges/youniwemi-digital-invoice/health.svg)](https://phpackages.com/packages/youniwemi-digital-invoice)
```

###  Alternatives

[horstoeko/zugferd

A library for creating and reading european electronic invoices

4174.3M18](/packages/horstoeko-zugferd)[num-num/ubl-invoice

A modern object-oriented PHP library to create and read valid UBL and EN 16931/Peppol BIS 3.0 files

135820.5k](/packages/num-num-ubl-invoice)[atgp/factur-x

PHP library to manage your Factur-X / ZUGFeRD 2.0 PDF invoices files

138825.5k3](/packages/atgp-factur-x)[josemmo/einvoicing

Library for reading and creating European-compliant electronic invoices (EN 16931)

173279.6k2](/packages/josemmo-einvoicing)[horstoeko/zugferdublbridge

Convert Factur-X/ZUGFeRD (CII-Syntax) to PEPPOL (UBL-Syntax) and visa versa

16135.6k5](/packages/horstoeko-zugferdublbridge)[easybill/e-invoicing

A package to read and create EN16931 e-invoices or CIUS like: XRechnung, ZUGFeRD etc.

12122.5k](/packages/easybill-e-invoicing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
