From 7e140ea8bda12016a691f46310446cb52cd769f7 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 3 Mar 2020 12:46:42 +0100 Subject: [PATCH] =?utf8?q?ZUGFeRD:=20Verk=C3=A4ufer-UStID=20ist=20=C3=BCbe?= =?utf8?q?r=20Validierung=20erzwungen=20vorhanden?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Helper/ZUGFeRD.pm | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/SL/DB/Helper/ZUGFeRD.pm b/SL/DB/Helper/ZUGFeRD.pm index d4e5b4294..8b554283a 100644 --- a/SL/DB/Helper/ZUGFeRD.pm +++ b/SL/DB/Helper/ZUGFeRD.pm @@ -415,14 +415,12 @@ sub _seller_trade_party { } my $ustid_nr = $::instance_conf->get_co_ustid; - if ($ustid_nr) { - $ustid_nr = "DE$ustid_nr" unless $ustid_nr =~ m{^[A-Z]{2}}; - # - $params{xml}->startTag("ram:SpecifiedTaxRegistration"); - $params{xml}->dataElement("ram:ID", _u8($ustid_nr), "schemeID" => "VA"); - $params{xml}->endTag; - # - } + $ustid_nr = "DE$ustid_nr" unless $ustid_nr =~ m{^[A-Z]{2}}; + # + $params{xml}->startTag("ram:SpecifiedTaxRegistration"); + $params{xml}->dataElement("ram:ID", _u8($ustid_nr), "schemeID" => "VA"); + $params{xml}->endTag; + # $params{xml}->endTag; # -- 2.20.1