Download the PHP package fajarsulaksono/ubl-invoice without Composer
On this page you can find all versions of the php package fajarsulaksono/ubl-invoice. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download fajarsulaksono/ubl-invoice
More information about fajarsulaksono/ubl-invoice
Files in fajarsulaksono/ubl-invoice
Download fajarsulaksono/ubl-invoice
More information about fajarsulaksono/ubl-invoice
Files in fajarsulaksono/ubl-invoice
Vendor fajarsulaksono
Package ubl-invoice
Short Description A PHP wrapper for creating UBL 2.1 XML invoices
License MIT
Homepage https://github.com/fajarsulaksono/ubl-invoice
Package ubl-invoice
Short Description A PHP wrapper for creating UBL 2.1 XML invoices
License MIT
Homepage https://github.com/fajarsulaksono/ubl-invoice
Please rate this library. Is it a good library?
Informations about the package ubl-invoice
UBL Invoice
A PHP wrapper for creating UBL (Universal Business Language) 2.1 invoices. This package generates valid UBL XML invoices compliant with the OASIS UBL 2.1 standard.
Features
- Generate UBL 2.1 XML invoices
- Full support for invoice lines, tax totals, monetary totals
- Supplier and customer party information (address, contact, legal entity)
- Tax schemes, categories, and subtotals
- Allowances and charges
- Additional document references (e.g., PDF attachments)
- Currency support
- Laravel auto-discovery (ServiceProvider & Facade)
- Well-tested with schema validation
Requirements
- PHP 8.1 or higher
- Laravel 10, 11, 12, or 13 (optional — the library works standalone)
Installation
Configuration (Laravel)
The service provider is auto-discovered. If you want to customise the configuration, publish the config file:
Facade
Usage
Standalone
Laravel
Available Classes
| Class | Description |
|---|---|
Invoice |
Top-level invoice document |
InvoiceLine |
A single invoice line item |
Party |
Accounting supplier or customer party |
Address |
Postal address (street, city, country) |
Contact |
Contact information (phone, email) |
Country |
Country with identification code |
LegalEntity |
Legal entity registration name and ID |
TaxTotal |
Tax total with subtotals |
TaxSubTotal |
A single tax subtotal entry |
TaxCategory |
Tax category (ID, name, percent, scheme) |
TaxScheme |
Tax scheme (e.g., VAT) |
Item |
Product or service item |
Price |
Price amount, base quantity, unit code |
AllowanceCharge |
Allowance or charge entry |
AdditionalDocumentReference |
Reference to additional documents |
LegalMonetaryTotal |
Monetary totals |
Generator |
Entry point for XML generation |
Running Tests
License
This package is open-source software licensed under the MIT license.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
All versions of ubl-invoice with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
sabre/xml Version ^3.0 || ^4.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0 || ^13.0
sabre/xml Version ^3.0 || ^4.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0 || ^13.0
The package fajarsulaksono/ubl-invoice contains the following files
Loading the files please wait ...