AddItemAllowancePercent
Methode (Sub)
AddItemAllowancePercent ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK.
Beschreibung (aus der SDK-Dokumentation): Sets the percentage of the item price discount / charge (on the gross price) of an invoice line.
Hinweis: Writes CalculationPercent of the first gross price allowance / charge of the line and sets the profile to Extended.
Deklaration
Public Sub AddItemAllowancePercent(ByVal Itemno As Integer, ByVal AllowancePercent As String)
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
Itemno | Integer | erforderlich | Zero-based index of the line item. Ignored if out of range |
AllowancePercent | String | erforderlich | Discount / charge percentage (normalized to 2 decimals). Ignored if empty |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.AddItemAllowancePercent(Itemno, AllowancePercent)