WriteShipToTradeParty

Methode (Sub)

WriteShipToTradeParty ist eine Methode der Klasse Aloaha_ZUGFeRD.XML in der Aloaha ZUGFeRD SDK. Sie betrifft BG-13 (Lieferinformationen), BT-70 (Name des Waren- oder Dienstleistungsempfängers), BT-71 (Kennung des Lieferorts).

Beschreibung (aus der SDK-Dokumentation): BG-13: DELIVERY INFORMATION

Deklaration

Public Sub WriteShipToTradeParty(ByVal CompanyName As String, ByVal PostCode As String, ByVal City As String, ByVal Streetline1 As String, Optional ByVal Streetline2 As String = "", Optional ByVal CountryCode_2Letter_ISO As String = "", Optional ByVal LocationID As String = "", Optional ByVal VAT_No As String = "", Optional ByVal Leitweg_ID As String = "", Optional ByVal Streetline3 As String = "", Optional ByVal GlobalID As String = "", Optional ByVal GlobalIDSchemeID As String = "")

Parameter

NameTypPflichtBeschreibung
CompanyNameStringerforderlichBT-70: Deliver to party name
PostCodeStringerforderlichBT-X-433: PostalTradeAddress Post code
CityStringerforderlichBT-X-437: PostalTradeAddress City
Streetline1StringerforderlichBT-X-434: PostalTradeAddress Address line 1
Streetline2Stringoptional (Standard: "")BT-X-435: PostalTradeAddress Address line 2
CountryCode_2Letter_ISOStringoptional (Standard: "")BT-X-438: PostalTradeAddress Country code
LocationIDStringoptional (Standard: "")BT-71: Deliver to location identifier
VAT_NoStringoptional (Standard: "")BT-X-161: VAT identifier BT of the goods recipient
Leitweg_IDStringoptional (Standard: "")LeitwegID
Streetline3Stringoptional (Standard: "")BT-X-436: PostalTradeAddress Address line 3
GlobalIDStringoptional (Standard: "")BT-71-0: Deliver to location global identifier
GlobalIDSchemeIDStringoptional (Standard: "")BT-71-1: Scheme identifier

Aufruf (VB.NET)

Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.WriteShipToTradeParty(CompanyName, PostCode, City, Streetline1)

Business Terms (EN 16931)

Artikel mit WriteShipToTradeParty

Quelle: XML-Dokumentationskommentare der Aloaha ZUGFeRD SDK (xml.vb). Gleiche Signatur in VB6/VBA über COM; in C# mit Semikolon.