PHPackages                             bluerocktel/ubl-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. bluerocktel/ubl-invoice

ActiveLibrary[Payment Processing](/categories/payments)

bluerocktel/ubl-invoice
=======================

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

v1.3.0(10mo ago)2185MITPHPPHP ^7.3 || ^8.0

Since Jul 12Pushed 10mo agoCompare

[ Source](https://github.com/bluerocktel/ubl-invoice)[ Packagist](https://packagist.org/packages/bluerocktel/ubl-invoice)[ Docs](https://github.com/num-num/ubl-invoice)[ RSS](/packages/bluerocktel-ubl-invoice/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (6)Used By (0)

UBL-Invoice
===========

[](#ubl-invoice)

A modern object-oriented PHP library to create valid UBL and Peppol BIS 3.0 files. Please feel free to [contribute](https://github.com/num-num/ubl-invoice/pulls) if you are missing features or tags.

[![Latest Version on Packagist](https://camo.githubusercontent.com/e8ecd5b0a1a290864169acf6e47a26452953ff0144bbc0cec55a7cc7f324edb1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e756d2d6e756d2f75626c2d696e766f6963652e7376673f7374796c653d726f756e6465642d737175617265)](https://packagist.org/packages/num-num/ubl-invoice)[![Total Downloads](https://camo.githubusercontent.com/ced8b4623d49b335c4af4a13f9efdae0740a198882839406a7b08caed2b58e41/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e756d2d6e756d2f75626c2d696e766f6963652e7376673f7374796c653d726f756e6465642d737175617265)](https://packagist.org/packages/num-num/ubl-invoice)

[![Num•Num UBL Invoice](https://camo.githubusercontent.com/48a9f1df49b6e144fa3221137f776dd81650b4bec3f19414c27c649f4b85747e/68747470733a2f2f692e696d6775722e636f6d2f4a5079464259512e706e67)](https://camo.githubusercontent.com/48a9f1df49b6e144fa3221137f776dd81650b4bec3f19414c27c649f4b85747e/68747470733a2f2f692e696d6775722e636f6d2f4a5079464259512e706e67)

Installation and usage
----------------------

[](#installation-and-usage)

This package requires PHP 7.4 or higher and is fully compatible with PHP8. Installation can be done through [composer](https://www.getcomposer.org).

```
$ composer require num-num/ubl-invoice
```

Contributing
------------

[](#contributing)

This library is not 100% UBL/Peppol feature-complete, in the sense that it doesn't (yet) support **all** UBL XML tags &amp; functionality. "Yet" being the keyword, since this definitely is the long-term goal. All common UBL tags that are required for most invoices are present in the library. This includes tags for discounts, cash discounts, special vat rates, etc...

If you are missing functionality, please feel free to add it :-) Adding additional tags &amp; attributes is fairly straight-forward. Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information.

Examples &amp; documentation
----------------------------

[](#examples--documentation)

This repository does not have a documentation website at this moment. For now, please check out some code examples by checking the unit tests in the `tests` folder.

Changelog
---------

[](#changelog)

A changelog is available since version v1.9.0. If you are upgrading a minor version (1.x) or major version, please check the changelog to see if you need to implement any breaking changes...

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance57

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 74.3% 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 ~178 days

Total

5

Last Release

317d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7c605c71ebef94596a6c0f89e40a62e0d685b052288fe8a0017a0378c85823f?d=identicon)[tgeorgel](/maintainers/tgeorgel)

---

Top Contributors

[![brtdv](https://avatars.githubusercontent.com/u/932365?v=4)](https://github.com/brtdv "brtdv (220 commits)")[![TSimkus](https://avatars.githubusercontent.com/u/14792406?v=4)](https://github.com/TSimkus "TSimkus (15 commits)")[![JorisDebonnet](https://avatars.githubusercontent.com/u/3286264?v=4)](https://github.com/JorisDebonnet "JorisDebonnet (8 commits)")[![p1eterdeboer](https://avatars.githubusercontent.com/u/33135160?v=4)](https://github.com/p1eterdeboer "p1eterdeboer (7 commits)")[![rodehoed](https://avatars.githubusercontent.com/u/6515395?v=4)](https://github.com/rodehoed "rodehoed (6 commits)")[![tgeorgel](https://avatars.githubusercontent.com/u/11785727?v=4)](https://github.com/tgeorgel "tgeorgel (5 commits)")[![antal-levente](https://avatars.githubusercontent.com/u/63246047?v=4)](https://github.com/antal-levente "antal-levente (4 commits)")[![mabjavaid](https://avatars.githubusercontent.com/u/62252347?v=4)](https://github.com/mabjavaid "mabjavaid (4 commits)")[![Stormyy](https://avatars.githubusercontent.com/u/5009558?v=4)](https://github.com/Stormyy "Stormyy (3 commits)")[![vsadrn](https://avatars.githubusercontent.com/u/141677995?v=4)](https://github.com/vsadrn "vsadrn (2 commits)")[![dietercoopman](https://avatars.githubusercontent.com/u/4672752?v=4)](https://github.com/dietercoopman "dietercoopman (2 commits)")[![japsen](https://avatars.githubusercontent.com/u/4325546?v=4)](https://github.com/japsen "japsen (2 commits)")[![KarelBrijs](https://avatars.githubusercontent.com/u/16884712?v=4)](https://github.com/KarelBrijs "KarelBrijs (2 commits)")[![karstennilsen](https://avatars.githubusercontent.com/u/8917480?v=4)](https://github.com/karstennilsen "karstennilsen (2 commits)")[![markovic131](https://avatars.githubusercontent.com/u/1120908?v=4)](https://github.com/markovic131 "markovic131 (2 commits)")[![stedekay](https://avatars.githubusercontent.com/u/1071560?v=4)](https://github.com/stedekay "stedekay (2 commits)")[![homer8173](https://avatars.githubusercontent.com/u/8720867?v=4)](https://github.com/homer8173 "homer8173 (1 commits)")[![pjcarly](https://avatars.githubusercontent.com/u/2808694?v=4)](https://github.com/pjcarly "pjcarly (1 commits)")[![Quazz](https://avatars.githubusercontent.com/u/1630369?v=4)](https://github.com/Quazz "Quazz (1 commits)")[![christopheg](https://avatars.githubusercontent.com/u/199087?v=4)](https://github.com/christopheg "christopheg (1 commits)")

---

Tags

xmlinvoiceeinvoiceE-Invoiceublinvoiceelectronic invoicexml invoiceubl invoicedigital invoiceublefffpeppolpeppol bispeppolbispeppol invoiceeuinvoice

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bluerocktel-ubl-invoice/health.svg)

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

###  Alternatives

[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)[saleh7/php-zatca-xml

An unofficial PHP library for generating ZATCA Fatoora e-invoices. This library facilitates the creation of compliant e-invoices, QR Codes, and certificates, as well as the submission of e-invoices to ZATCA's servers. It provides developers with an easy-to-use, customizable, and robust toolkit to integrate and automate ZATCA e-invoicing processes in PHP applications.

5112.5k](/packages/saleh7-php-zatca-xml)[sevaske/php-zatca-xml

An unofficial PHP library for generating ZATCA Fatoora e-invoices. This library facilitates the creation of compliant e-invoices, QR Codes, and certificates, as well as the submission of e-invoices to ZATCA's servers. It provides developers with an easy-to-use, customizable, and robust toolkit to integrate and automate ZATCA e-invoicing processes in PHP applications.

193.3k1](/packages/sevaske-php-zatca-xml)[cleverit/ubl_invoice

A PHP wrapper for UBL invoices

36283.4k](/packages/cleverit-ubl-invoice)[josemmo/einvoicing

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

173279.6k2](/packages/josemmo-einvoicing)[atgp/factur-x

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

138825.5k3](/packages/atgp-factur-x)

PHPackages © 2026

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