GetPayeeTradeParty
Methode (Sub)
GetPayeeTradeParty 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: Reads the payee (PayeeTradeParty) of the invoice. All arguments are outputs; values not present are returned as empty strings.
Deklaration
Public Sub GetPayeeTradeParty(Optional ByRef ID As String = "", Optional ByRef GlobalID As String = "", Optional ByRef GlobalIDScheme As String = "", Optional ByRef CompanyName As String = "", Optional ByRef RoleCode As String = "", Optional ByRef VAT As String = "", Optional ByRef PersonName As String = "", Optional ByRef DepartmentName As String = "", Optional ByRef PhoneNumber As String = "", Optional ByRef FAXNumber As String = "", Optional ByRef email As String = "", Optional ByRef Street1 As String = "", Optional ByRef Street2 As String = "", Optional ByRef Street3 As String = "", Optional ByRef PostCode As String = "", Optional ByRef City As String = "", Optional ByRef Country As String = "", Optional ByRef CountrySubDivisionName As String = "")
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
ID | String | optional (Standard: "") | BT-60: Payee identifier (output) |
GlobalID | String | optional (Standard: "") | BT-60: Global identifier of the payee (output) |
GlobalIDScheme | String | optional (Standard: "") | BT-60-1: Scheme of the global identifier (output) |
CompanyName | String | optional (Standard: "") | BT-59: Payee name (output) |
RoleCode | String | optional (Standard: "") | Role code of the party (output) |
VAT | String | optional (Standard: "") | VAT identifier of the payee, taken from the first tax registration of type VA/VAT (output) |
PersonName | String | optional (Standard: "") | Contact person name (output) |
DepartmentName | String | optional (Standard: "") | Contact department name (output) |
PhoneNumber | String | optional (Standard: "") | Contact telephone number (output) |
FAXNumber | String | optional (Standard: "") | Contact fax number (output) |
email | String | optional (Standard: "") | Contact e-mail address (output) |
Street1 | String | optional (Standard: "") | Address line 1 (output) |
Street2 | String | optional (Standard: "") | Address line 2 (output) |
Street3 | String | optional (Standard: "") | Address line 3 (output) |
PostCode | String | optional (Standard: "") | Post code (output) |
City | String | optional (Standard: "") | City (output) |
Country | String | optional (Standard: "") | Country code (output) |
CountrySubDivisionName | String | optional (Standard: "") | Country subdivision / state (output) |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.GetPayeeTradeParty()
Business Terms (EN 16931)
Artikel mit GetPayeeTradeParty
COM-Schnittstelle
GetPayeeTradeParty ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 304 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.