From: Moritz Bunkus Date: Thu, 26 Nov 2020 10:04:09 +0000 (+0100) Subject: Factur-X/ZUGFeRD: UStID-Nr des Kunden nur ausgeben, wenn tatsächlich angegeben X-Git-Tag: kivitendo-mebil_0.1-0~9^2~562^2~4 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=ec4cffa8a9fe604ecaab2a0af734b5e28c040935;p=kivitendo-erp.git Factur-X/ZUGFeRD: UStID-Nr des Kunden nur ausgeben, wenn tatsächlich angegeben --- 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; #