diff --git a/app/Jobs/Invoice/CreateXInvoice.php b/app/Jobs/Invoice/CreateXInvoice.php index 1e2ee2c4d07c..34353a418b19 100644 --- a/app/Jobs/Invoice/CreateXInvoice.php +++ b/app/Jobs/Invoice/CreateXInvoice.php @@ -190,7 +190,7 @@ class CreateXInvoice implements ShouldQueue } } - return $client->invoice_filepath($invoice->invitations->first()) . $invoice->getFileName("xml"); + return $client->xinvoice_filepath($invoice->invitations->first()) . $invoice->getFileName("xml"); } private function getTaxType(string $name): string