SetPayeeTradeParty
Methode (Sub)
SetPayeeTradeParty ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK. Sie betrifft BG-10 (Zahlungsempfänger), BT-60 (Kennung des Zahlungsempfängers), BT-59 (Firmierung/Name des Zahlungsempfängers).
Beschreibung (aus der SDK-Dokumentation): BG-10: Sets the payee (PayeeTradeParty) of the invoice. Nothing values are treated as empty strings.
Hinweis: Passing a non-empty RoleCode, PersonName, DepartmentName, PhoneNumber, FAXNumber, Street1-3, PostCode, City or Country switches ZUGFeRD_Profile to EXTENDED.
Deklaration
Public Sub SetPayeeTradeParty(ByVal ID As String, ByVal GlobalID As String, ByVal GlobalIDScheme As String, ByVal CompanyName As String, ByVal RoleCode As String, ByVal VAT As String, ByVal PersonName As String, ByVal DepartmentName As String, ByVal PhoneNumber As String, ByVal FAXNumber As String, ByVal email As String, ByVal Street1 As String, ByVal Street2 As String, ByVal Street3 As String, ByVal PostCode As String, ByVal City As String, ByVal Country As String, ByVal CountrySubDivisionName As String)
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
ID | String | erforderlich | BT-60: Payee identifier |
GlobalID | String | erforderlich | BT-60: Global identifier of the payee |
GlobalIDScheme | String | erforderlich | BT-60-1: Scheme of the global identifier (e.g. 0088 for GLN) |
CompanyName | String | erforderlich | BT-59: Payee name |
RoleCode | String | erforderlich | Role code of the party (EXTENDED only) |
VAT | String | erforderlich | VAT identifier of the payee; stored as the only tax registration with scheme VA |
PersonName | String | erforderlich | Contact person name (EXTENDED only) |
DepartmentName | String | erforderlich | Contact department name (EXTENDED only) |
PhoneNumber | String | erforderlich | Contact telephone number (EXTENDED only) |
FAXNumber | String | erforderlich | Contact fax number (EXTENDED only) |
email | String | erforderlich | Contact e-mail address |
Street1 | String | erforderlich | Address line 1 (EXTENDED only) |
Street2 | String | erforderlich | Address line 2 (EXTENDED only) |
Street3 | String | erforderlich | Address line 3 (EXTENDED only) |
PostCode | String | erforderlich | Post code (EXTENDED only) |
City | String | erforderlich | City (EXTENDED only) |
Country | String | erforderlich | Country code (EXTENDED only) |
CountrySubDivisionName | String | erforderlich | Country subdivision / state |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.SetPayeeTradeParty(ID, GlobalID, GlobalIDScheme, CompanyName, RoleCode, VAT, PersonName, DepartmentName, PhoneNumber, FAXNumber, email, Street1, Street2, Street3, PostCode, City, Country, CountrySubDivisionName)
Business Terms (EN 16931)
Artikel mit SetPayeeTradeParty
COM-Schnittstelle
SetPayeeTradeParty ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 305 von 328) und damit auch aus VB6, VBA/Access und anderen COM-Clients über CreateObject("Aloaha_ZUGFeRD.XML") aufrufbar. Neue Mitglieder werden immer am Ende von iXML angefügt, damit bestehende COM-Clients unverändert weiterlaufen; nach einem Update die Typbibliothek neu registrieren.