GetItemTradeTax
Methode (Sub)
GetItemTradeTax ist eine Methode der Klasse Aloaha_ZUGFeRD.XML in der Aloaha ZUGFeRD SDK. Sie betrifft BG-30 (Umsatzsteuerinformationen auf der Ebene der Rechnungsposition), BT-152 (Umsatzsteuersatz für den in Rechnung gestellten Artikel), BT-151 (Code der Umsatzsteuerkategorie des in Rechnung).
Beschreibung (aus der SDK-Dokumentation): BG-30: Gets LINE VAT INFORMATION
Deklaration
Public Sub GetItemTradeTax(ByVal ItemIndex As Integer, ByRef RateApplicablePercent As String, ByRef CategoryCode As String, Optional ByRef Reason As String = "", Optional ByRef ExemptionReasonCode As String = "", Optional ByRef CalculatedAmount As String = "", Optional ByRef TypeCode As String = "")
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
ItemIndex | Integer | erforderlich | Identifier of the invoice line item |
RateApplicablePercent | String | erforderlich | BT-152: Invoiced item VAT rate |
CategoryCode | String | erforderlich | BT-151: Invoiced item VAT category code |
Reason | String | optional (Standard: "") | BT-X-96: VAT exemption reason text |
ExemptionReasonCode | String | optional (Standard: "") | BT-X-97: VAT exemption reason code |
CalculatedAmount | String | optional (Standard: "") | BT-X-95: Tax Amount |
TypeCode | String | optional (Standard: "") | BT-151-0: Invoiced item VAT category code. Usually VAT |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.GetItemTradeTax(ItemIndex, RateApplicablePercent, CategoryCode)