getItemSpecifiedTradeAllowanceCharge
Methode (Sub)
getItemSpecifiedTradeAllowanceCharge ist eine Methode der Klasse Aloaha_ZUGFeRD.XML in der Aloaha ZUGFeRD SDK. Sie betrifft BG-27 (Abschläge auf Ebene der Rechnungsposition), BG-28 (Zuschläge auf Ebene der Rechnungsposition).
Beschreibung (aus der SDK-Dokumentation): get BG-27/BG-28 Invoice Line Charges and Allowances
Deklaration
Public Sub getItemSpecifiedTradeAllowanceCharge(ByVal ItemIndex As Integer, ByVal ChargeIndex As Integer, ByRef isCharge As Boolean, Optional ByRef CalculationPercent As String = "", Optional ByRef BasisAmount As String = "", Optional ByRef ActualAmount As String = "", Optional ByRef ReasonCode As String = "", Optional ByRef Reason As String = "")
Parameter
| Name | Typ | Pflicht |
|---|---|---|
ItemIndex | Integer | erforderlich |
ChargeIndex | Integer | erforderlich |
isCharge | Boolean | erforderlich |
CalculationPercent | String | optional (Standard: "") |
BasisAmount | String | optional (Standard: "") |
ActualAmount | String | optional (Standard: "") |
ReasonCode | String | optional (Standard: "") |
Reason | String | optional (Standard: "") |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.getItemSpecifiedTradeAllowanceCharge(ItemIndex, ChargeIndex, isCharge)