From d5bb25fb35ce3568ec6a2c723c3a7d8620bced06 Mon Sep 17 00:00:00 2001 From: Lars Kusch Date: Tue, 14 Mar 2023 21:26:28 +0100 Subject: [PATCH] Minor fix --- app/Jobs/Invoice/CreateXInvoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Jobs/Invoice/CreateXInvoice.php b/app/Jobs/Invoice/CreateXInvoice.php index 7e1e21aaa772..b9a0f359808c 100644 --- a/app/Jobs/Invoice/CreateXInvoice.php +++ b/app/Jobs/Invoice/CreateXInvoice.php @@ -194,7 +194,7 @@ class CreateXInvoice implements ShouldQueue $xrechnung->addDocumentTax("S", "VAT", $taxnet_2, $taxamount_2, $invoice->tax_rate2); } if ($taxnet_3 > 0) { - $xrechnung->addDocumentTax("CS", "VAT", $taxnet_3, $taxamount_3, $invoice->tax_rate3); + $xrechnung->addDocumentTax("S", "VAT", $taxnet_3, $taxamount_3, $invoice->tax_rate3); } $xrechnung->writeFile(explode(".", $client->invoice_filepath($invoice->invitations->first()))[0] . "-xinvoice.xml");