From 51fc68732704eeb155066c5f60398e3b16e79b89 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 9 Aug 2023 09:24:41 +1000 Subject: [PATCH] Fixes for spanishj e-invoicing --- app/Services/Invoice/EInvoice/FacturaEInvoice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/Invoice/EInvoice/FacturaEInvoice.php b/app/Services/Invoice/EInvoice/FacturaEInvoice.php index 12be24138c9e..9f97da9e4519 100644 --- a/app/Services/Invoice/EInvoice/FacturaEInvoice.php +++ b/app/Services/Invoice/EInvoice/FacturaEInvoice.php @@ -483,8 +483,8 @@ class FacturaEInvoice extends AbstractService "fax" => "", "website" => substr($company->settings->website, 0, 50), "contactPeople" => substr($company->owner()->present()->name(), 0, 40), - "firstName" => $company->owner()->present()->firstName(), - "lastName" => $company->owner()->present()->lastName(), + "firstSurname" => $company->owner()->present()->firstName(), + "lastSurname" => $company->owner()->present()->lastName(), // 'centres' => $this->setFace(), // "cnoCnae" => "04647", // Clasif. Nacional de Act. Económicas // "ineTownCode" => "280796" // Cód. de municipio del INE