GetLogisticsServiceCharge
Methode (Sub)
GetLogisticsServiceCharge ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK.
Beschreibung (Originaltext der englischen SDK-Dokumentation): Reads a logistics service charge of the document.
Hinweis: Outputs are left unchanged if Index is out of range.
Deklaration
Public Sub GetLogisticsServiceCharge(ByVal Index As Integer, ByRef Description As String, ByRef AppliedAmount As String, ByRef AppliedAmountCurrencyID As String, ByVal TypeCode As String, ByRef CategoryCode As String, ByRef ApplicablePercent As String)
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
Index | Integer | erforderlich | Zero-based index of the service charge |
Description | String | erforderlich | Service charge description (output) |
AppliedAmount | String | erforderlich | Service charge amount (output) |
AppliedAmountCurrencyID | String | erforderlich | Currency code of the amount (output) |
TypeCode | String | erforderlich | Tax type code (passed ByVal, not filled) |
CategoryCode | String | erforderlich | Tax category code (output) |
ApplicablePercent | String | erforderlich | Tax rate (output) |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim Index As Integer = 0
Dim Description As String = ""
Dim AppliedAmount As String = ""
Dim AppliedAmountCurrencyID As String = ""
Dim TypeCode As String = ""
Dim CategoryCode As String = ""
Dim ApplicablePercent As String = ""
alo.GetLogisticsServiceCharge(Index, Description, AppliedAmount, AppliedAmountCurrencyID, TypeCode, CategoryCode, ApplicablePercent)
Aufruf (C#)
var zfStandard = Aloaha_ZUGFeRD.iXML.ZUGFeRDVersion.xInvoice; // Optional ByRef im Konstruktor: in C# mit ref übergeben
var alo = new Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, false, "IHR-LIZENZSCHLUESSEL", ref zfStandard);
int index = 0;
string description = "";
string appliedAmount = "";
string appliedAmountCurrencyID = "";
string typeCode = "";
string categoryCode = "";
string applicablePercent = "";
alo.GetLogisticsServiceCharge(index, ref description, ref appliedAmount, ref appliedAmountCurrencyID, typeCode, ref categoryCode, ref applicablePercent);
COM-Schnittstelle
GetLogisticsServiceCharge ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 252 von 343) 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.