diff --git a/app/Jobs/ConvertInvoiceToUbl.php b/app/Jobs/ConvertInvoiceToUbl.php index 323e0401bf..59d51d5751 100644 --- a/app/Jobs/ConvertInvoiceToUbl.php +++ b/app/Jobs/ConvertInvoiceToUbl.php @@ -48,7 +48,7 @@ class ConvertInvoiceToUbl extends Job $ublInvoice->setAccountingCustomerParty($customerParty); // line items - $invoiceLine = []; + $invoiceLines = []; $taxable = $invoice->getTaxable(); foreach ($invoice->invoice_items as $index => $item) {