ReadTradeItemCSV

Methode (Function) · gibt String zurück

ReadTradeItemCSV ist eine Methode der Klasse Aloaha_ZUGFeRD.XML in der Aloaha ZUGFeRD SDK.

Beschreibung (aus der SDK-Dokumentation): Exports all invoice lines of the current invoice as CSV text: one header row plus one row per line item. Columns include seller/buyer/global item IDs, name, description, note, LineID, quantity and unit, net/gross price, line total, VAT rate/category/type/exemption reason, the first gross price allowance, delivery note and order/contract/quotation references of the line.

Rückgabe: CSV text with lines separated by CRLF, or an empty string if the invoice has no line items.

Hinweis: Line breaks are replaced in IDs, name, description, note and document references. Values are not quoted.

Deklaration

Public Function ReadTradeItemCSV(Optional ByVal Seperator_Char As String = ",") As String

Parameter

NameTypPflichtBeschreibung
Seperator_CharStringoptional (Standard: ")Column separator (default comma)

Aufruf (VB.NET)

Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
Dim ergebnis = alo.ReadTradeItemCSV()

Artikel mit ReadTradeItemCSV

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