WriteItemTradeTax

Methode (Sub)

WriteItemTradeTax 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: Adds LINE VAT INFORMATION

Deklaration

Public Sub WriteItemTradeTax(ByVal ItemIndex As Integer, ByVal RateApplicablePercent As String, ByVal CategoryCode As String, Optional ByVal Reason As String = "", Optional ByVal ExemptionReasonCode As String = "", Optional ByVal CalculatedAmount As String = "", Optional ByVal TypeCode As String = "VAT")

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: "VAT")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.WriteItemTradeTax(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.