GetSpecifiedAdvancePayment
Methode (Sub)
GetSpecifiedAdvancePayment ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK.
Beschreibung (Originaltext der englischen SDK-Dokumentation): Reads an advance payment (SpecifiedAdvancePayment) of the document.
Hinweis: Outputs are left unchanged if index is out of range.
Deklaration
Public Sub GetSpecifiedAdvancePayment(ByVal index As Integer, ByRef PaidAmount As String, Optional ByRef TaxCount As Integer = 0, Optional ByRef ReceivedDate As String = "", Optional ByRef ReceivedDateFormat As String = "102", Optional ByRef InvoiceNumber As String = "", Optional ByRef TypeCode As String = "", Optional ByRef InvoiceDate As String = "", Optional ByRef InvoiceDateFormat As String = "")
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
index | Integer | erforderlich | Zero-based index of the advance payment |
PaidAmount | String | erforderlich | Paid amount (output) |
TaxCount | Integer | optional (Standard: 0) | Number of included tax entries, use with GetSpecifiedAdvancePaymentTax (output) |
ReceivedDate | String | optional (Standard: "") | Date the payment was received (output) |
ReceivedDateFormat | String | optional (Standard: "102") | Date format code of ReceivedDate (output) |
InvoiceNumber | String | optional (Standard: "") | Number of the referenced advance payment invoice (output) |
TypeCode | String | optional (Standard: "") | Type code of the referenced invoice (output) |
InvoiceDate | String | optional (Standard: "") | Date of the referenced invoice (output) |
InvoiceDateFormat | String | optional (Standard: "") | Date format code of InvoiceDate (output) |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim index As Integer = 0
Dim PaidAmount As String = ""
alo.GetSpecifiedAdvancePayment(index, PaidAmount)
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;
string paidAmount = "";
int taxCount = 0;
string receivedDate = "";
string receivedDateFormat = "102";
string invoiceNumber = "";
string typeCode = "";
string invoiceDate = "";
string invoiceDateFormat = "";
alo.GetSpecifiedAdvancePayment(index, ref paidAmount, ref taxCount, ref receivedDate, ref receivedDateFormat, ref invoiceNumber, ref typeCode, ref invoiceDate, ref invoiceDateFormat);
COM-Schnittstelle
GetSpecifiedAdvancePayment ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 248 von 343) und damit auch aus VB6, VBA/Access und anderen COM-Clients über CreateObject("Aloaha_ZUGFeRD.XML") aufrufbar. Neue Mitglieder werden immer am Ende von iXML angefügt, damit bestehende COM-Clients unverändert weiterlaufen; nach einem Update die Typbibliothek neu registrieren.