{"id":36408087,"url":"https://github.com/num-num/ubl-invoice","last_synced_at":"2026-02-09T12:11:09.398Z","repository":{"id":33190847,"uuid":"154506502","full_name":"num-num/ubl-invoice","owner":"num-num","description":"A modern object-oriented PHP library to read and create valid UBL and Peppol BIS files","archived":false,"fork":false,"pushed_at":"2026-01-26T10:41:11.000Z","size":634,"stargazers_count":128,"open_issues_count":8,"forks_count":96,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-01-27T00:30:56.383Z","etag":null,"topics":["peppol","php","ubl","ubl-invoice","ubl20","ubl21","xml"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/num-num.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-10-24T13:31:13.000Z","updated_at":"2026-01-26T13:58:31.000Z","dependencies_parsed_at":"2024-06-19T01:52:35.619Z","dependency_job_id":"f1ca72e1-87a4-4875-a92b-551f66f0a572","html_url":"https://github.com/num-num/ubl-invoice","commit_stats":{"total_commits":152,"total_committers":20,"mean_commits":7.6,"dds":0.5328947368421053,"last_synced_commit":"004d5b1188d410cc03258a2a904d933ccc4e2a25"},"previous_names":[],"tags_count":83,"template":false,"template_full_name":null,"purl":"pkg:github/num-num/ubl-invoice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/num-num%2Fubl-invoice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/num-num%2Fubl-invoice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/num-num%2Fubl-invoice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/num-num%2Fubl-invoice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/num-num","download_url":"https://codeload.github.com/num-num/ubl-invoice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/num-num%2Fubl-invoice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29174387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T19:56:27.068Z","status":"ssl_error","status_checked_at":"2026-02-06T19:56:18.934Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["peppol","php","ubl","ubl-invoice","ubl20","ubl21","xml"],"created_at":"2026-01-11T16:47:32.747Z","updated_at":"2026-02-06T20:05:07.699Z","avatar_url":"https://github.com/num-num.png","language":"PHP","readme":"# UBL-Invoice\n\nA modern object-oriented PHP library to **create** and **read** 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.\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/num-num/ubl-invoice.svg?style=rounded-square)](https://packagist.org/packages/num-num/ubl-invoice)\n[![Total Downloads](https://img.shields.io/packagist/dt/num-num/ubl-invoice.svg?style=rounded-square)](https://packagist.org/packages/num-num/ubl-invoice)\n\n\n![Num•Num UBL Invoice](https://i.imgur.com/JPyFBYQ.png)\n\n## Installation and usage\n\nThis package is fully compatible with **PHP 8.x** and also supports **PHP 7.4**. You can install it using [Composer](https://www.getcomposer.org).\n```zsh\n$ composer require num-num/ubl-invoice\n```\n\n#### Creating UBL files\n\n```php\n$invoice = (new \\NumNum\\UBL\\Invoice())\n    -\u003esetUBLVersionId('2.4')\n    -\u003esetId(123);\n    // ... etc, all other props you need\n\n$generator = new \\NumNum\\UBL\\Generator();\n$ublXml = $generator-\u003einvoice($invoice);\n```\n\nPlease check some of the example code in the `tests/Write` folder to see how you can quickly create an UBL file and use all included properties.\n\n#### Reading UBL files ✨\n\nNeed to quickly read UBL files? As of version 2.0, this library now supports UBL file reading. It's simple and easy to use:\n\n```php\n$ublReader = \\NumNum\\UBL\\Reader::ubl();\n$invoice = $ublReader-\u003eparse(file_get_contents($fileName));\nvar_dump($invoice); // An \\NumNum\\UBL\\Invoice instance with filled properties!\n```\n\nPlease check some additional example code in the `tests/Read` folder.\n\n## Upgrading\n\nIf you are upgrading from version 1.x to 2.0, please check the [UPGRADING.md](UPGRADING.md) guide for breaking changes and migration instructions.\n\n## Contributing - bug reporting\n\nThis library is **not 100% UBL/Peppol feature-complete**, in the sense that it doesn't (yet) support **all** UBL XML tags \u0026 functionality. \"Yet\" being the keyword, since this definitely is the long-term goal. However, **all common UBL tags that are required to create and read most common invoices and creditnotes** are present in the library. This includes tags for discounts, cash discounts, special vat rates, etc...\n\nIf you are missing functionality, please feel free to add it :-) Adding additional tags \u0026 attributes is *very* straight-forward. Check out [CONTRIBUTING.md](CONTRIBUTING.md) for more information.\n\nAre you experiencing a bug? Please feel free to open an issue in the issue tracker!\n\n## Documentation\n\n- [Getting Started](docs/getting-started.md) - Quick start guide with installation and basic examples\n- [Creating Invoices](docs/creating-invoices.md) - Detailed invoice creation guide\n- [Creating Credit Notes](docs/creating-credit-notes.md) - Credit note creation guide\n- [Reading UBL Files](docs/reading-ubl-files.md) - Parsing existing UBL documents\n- [Advanced Features](docs/advanced-features.md) - Payment means, attachments, EN16931 compliance\n\nFor additional examples, check the unit tests in the `tests` folder.\n\n## Changelog\n\nSince version 2.0, all changelog information can be found on the [GitHub Releases](https://github.com/num-num/ubl-invoice/releases) page.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnum-num%2Fubl-invoice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnum-num%2Fubl-invoice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnum-num%2Fubl-invoice/lists"}