1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Update ZugferdEInvoice.php

This commit is contained in:
Lars Kusch 2023-11-27 18:21:19 +01:00 committed by GitHub
parent 0388f4b7ca
commit 8ca3dc2dff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,8 @@ class ZugferdEInvoice extends AbstractService
$profile = $client->getSetting('e_invoice_type');
$profile = match ($profile) {
"XInvoice_3_0" => ZugferdProfiles::PROFILE_XRECHNUNG_3,
"XInvoice_2_3" => ZugferdProfiles::PROFILE_XRECHNUNG_2_3,
"XInvoice_2_2" => ZugferdProfiles::PROFILE_XRECHNUNG_2_2,
"XInvoice_2_1" => ZugferdProfiles::PROFILE_XRECHNUNG_2_1,
"XInvoice_2_0" => ZugferdProfiles::PROFILE_XRECHNUNG_2,