From aae830f60c971de0bae543b331c5974cf5de7b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 11 Oct 2024 17:55:41 +0200 Subject: [PATCH] include einvoice token on submission --- app/Services/EDocument/Jobs/SendEDocument.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Services/EDocument/Jobs/SendEDocument.php b/app/Services/EDocument/Jobs/SendEDocument.php index 9426d5cfdc..3cf81a1e9e 100644 --- a/app/Services/EDocument/Jobs/SendEDocument.php +++ b/app/Services/EDocument/Jobs/SendEDocument.php @@ -65,6 +65,9 @@ class SendEDocument implements ShouldQueue 'document' => base64_encode($xml), 'tenant_id' => $model->company->company_key, 'identifiers' => $identifiers, + 'e_invoicing_token' => $model->company->e_invoicing_token, + + // include whitelabel key. ]; $r = Http::withHeaders($this->getHeaders())