From ec4cffa8a9fe604ecaab2a0af734b5e28c040935 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 26 Nov 2020 11:04:09 +0100 Subject: [PATCH] =?utf8?q?Factur-X/ZUGFeRD:=20UStID-Nr=20des=20Kunden=20nu?= =?utf8?q?r=20ausgeben,=20wenn=20tats=C3=A4chlich=20angegeben?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Helper/ZUGFeRD.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/DB/Helper/ZUGFeRD.pm b/SL/DB/Helper/ZUGFeRD.pm index 86daa9c96..5455398cd 100644 --- a/SL/DB/Helper/ZUGFeRD.pm +++ b/SL/DB/Helper/ZUGFeRD.pm @@ -477,7 +477,7 @@ sub _buyer_trade_party { $params{xml}->dataElement("ram:Name", _u8($self->customer->name)); _customer_postal_trade_address(%params, customer => $self->customer); - _specified_tax_registration($self->customer->ustid, %params); + _specified_tax_registration($self->customer->ustid, %params) if $self->customer->ustid; $params{xml}->endTag; # -- 2.20.1