ItemWriteBillingPeriod

Methode (Sub)

ItemWriteBillingPeriod ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK. Sie betrifft BG-26 (Rechnungspositionszeitraum), BT-134 (Anfangsdatum des Rechnungspositionszeitraums), BT-135 (Enddatum des Rechnungspositionszeitraums).

Beschreibung (aus der SDK-Dokumentation): BG-26: Sets the invoicing period of an invoice line (BT-134 start date, BT-135 end date).

Deklaration

Public Sub ItemWriteBillingPeriod(ByVal ItemNo As Integer, ByVal StartDateTime As String, ByVal EndDateTime As String, Optional ByVal DateFormat As String = "102")

Parameter

NameTypPflichtBeschreibung
ItemNoIntegererforderlichZero-based index of the line item
StartDateTimeStringerforderlichBT-134: Line invoicing period start date, e.g. YYYYMMDD for format 102. Ignored if empty
EndDateTimeStringerforderlichBT-135: Line invoicing period end date, e.g. YYYYMMDD for format 102. Ignored if empty
DateFormatStringoptional (Standard: "102")Date format code used for both dates (default 102 = YYYYMMDD; empty is treated as 102)

Aufruf (VB.NET)

Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.ItemWriteBillingPeriod(ItemNo, StartDateTime, EndDateTime)

Business Terms (EN 16931)

Artikel mit ItemWriteBillingPeriod

COM-Schnittstelle

ItemWriteBillingPeriod ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 145 von 328) 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.

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