Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7e140ea8

Von Moritz Bunkus vor etwa 5 Jahren hinzugefügt

  • ID 7e140ea8bda12016a691f46310446cb52cd769f7
  • Vorgänger b7c38d99
  • Nachfolger 27e9e34d

ZUGFeRD: Verkäufer-UStID ist über Validierung erzwungen vorhanden

Unterschiede anzeigen:

SL/DB/Helper/ZUGFeRD.pm
}
my $ustid_nr = $::instance_conf->get_co_ustid;
if ($ustid_nr) {
$ustid_nr = "DE$ustid_nr" unless $ustid_nr =~ m{^[A-Z]{2}};
# <ram:SpecifiedTaxRegistration>
$params{xml}->startTag("ram:SpecifiedTaxRegistration");
$params{xml}->dataElement("ram:ID", _u8($ustid_nr), "schemeID" => "VA");
$params{xml}->endTag;
# </ram:SpecifiedTaxRegistration>
}
$ustid_nr = "DE$ustid_nr" unless $ustid_nr =~ m{^[A-Z]{2}};
# <ram:SpecifiedTaxRegistration>
$params{xml}->startTag("ram:SpecifiedTaxRegistration");
$params{xml}->dataElement("ram:ID", _u8($ustid_nr), "schemeID" => "VA");
$params{xml}->endTag;
# </ram:SpecifiedTaxRegistration>
$params{xml}->endTag;
# </ram:SellerTradeParty>

Auch abrufbar als: Unified diff