include einvoice token on submission

This commit is contained in:
Benjamin Beganović 2024-10-11 17:55:41 +02:00
parent b0aa22c86d
commit aae830f60c
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ class SendEDocument implements ShouldQueue
'document' => base64_encode($xml), 'document' => base64_encode($xml),
'tenant_id' => $model->company->company_key, 'tenant_id' => $model->company->company_key,
'identifiers' => $identifiers, 'identifiers' => $identifiers,
'e_invoicing_token' => $model->company->e_invoicing_token,
// include whitelabel key.
]; ];
$r = Http::withHeaders($this->getHeaders()) $r = Http::withHeaders($this->getHeaders())