GetSpecifiedAdvancePaymentTaxExemptionReasonCode
Methode (Function) · gibt String zurück
GetSpecifiedAdvancePaymentTaxExemptionReasonCode ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK.
Beschreibung (Originaltext der englischen SDK-Dokumentation): Returns the VAT exemption reason code of a tax entry included in an advance payment (SpecifiedAdvancePayment / IncludedTradeTax / ExemptionReasonCode). Text, category and rate are returned by GetSpecifiedAdvancePaymentTax. Available from version 11.0.0.20.
Rückgabe: The code (e.g. VATEX-EU-AE), or an empty string if there is none or an index is out of range
Deklaration
Public Function GetSpecifiedAdvancePaymentTaxExemptionReasonCode(ByVal index As Integer, ByVal TaxIndex As Integer) As String
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
index | Integer | erforderlich | Zero-based index of the advance payment |
TaxIndex | Integer | erforderlich | Zero-based index of the tax entry within the advance payment |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim index As Integer = 0
Dim TaxIndex As Integer = 0
Dim ergebnis = alo.GetSpecifiedAdvancePaymentTaxExemptionReasonCode(index, TaxIndex)
Aufruf (C#)
var zfStandard = Aloaha_ZUGFeRD.iXML.ZUGFeRDVersion.xInvoice; // Optional ByRef im Konstruktor: in C# mit ref übergeben
var alo = new Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, false, "IHR-LIZENZSCHLUESSEL", ref zfStandard);
int index = 0;
int taxIndex = 0;
var ergebnis = alo.GetSpecifiedAdvancePaymentTaxExemptionReasonCode(index, taxIndex);