ubl-invoice
ubl-invoice copied to clipboard
TypeError in Invoice.php setInvoiceTypeCode (expects string) because type constants are declared as ints in InvoiceTypeCode.php
This dies with a TypeError:
(new \NumNum\UBL\Invoice())->setInvoiceTypeCode(\NumNum\UBL\InvoiceTypeCode::INVOICE)
for the reason explained in the subject.