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

NameTypPflichtBeschreibung
ItemIndexIntegererforderlichIdentifier of the invoice line item
RateApplicablePercentStringerforderlichBT-152: Invoiced item VAT rate
CategoryCodeStringerforderlichBT-151: Invoiced item VAT category code
ReasonStringoptional (Standard: "")BT-X-96: VAT exemption reason text
ExemptionReasonCodeStringoptional (Standard: "")BT-X-97: VAT exemption reason code
CalculatedAmountStringoptional (Standard: "")BT-X-95: Tax Amount
TypeCodeStringoptional (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)

Business Terms (EN 16931)

Quelle: XML-Dokumentationskommentare der Aloaha ZUGFeRD SDK (xml.vb). Gleiche Signatur in VB6/VBA über COM; in C# mit Semikolon.