ReadTotalsCSV
Methode (Function) · gibt String zurück
ReadTotalsCSV ist eine Methode der Klasse Aloaha_ZUGFeRD.XML in der Aloaha ZUGFeRD SDK. Sie betrifft BG-22 (Gesamtsummen auf Dokumentenebene).
Beschreibung (aus der SDK-Dokumentation): Exports the invoice header data and document totals of the current invoice as CSV text (one header row and one data row). Columns include currency, type, leitwegid, invoiceid, invoicedate, the BG-22 totals (LineTotalAmount ... DuePayableAmount), payment terms, PaymentReference, invoice notes, delivery and billing period dates, LanguageID, BusinessProcessSpecifiedDocumentContextParameter, VAT breakdown (TAX* columns per rate), preceding invoice reference, project, contract and order references.
Rückgabe: CSV text: header line and data line separated by CRLF. Line breaks are replaced in free-text and reference values (e.g. notes, payment terms, IDs).
Hinweis: Repeated groups (notes, VAT breakdown) get a numeric suffix from the second entry on, e.g. InvoiceNote1, TAXTypeCode1. Values are not quoted.
Deklaration
Public Function ReadTotalsCSV(Optional ByVal Seperator_Char As String = ",") As String
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
Seperator_Char | String | optional (Standard: ") | Column separator; empty or Nothing uses a comma |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
Dim ergebnis = alo.ReadTotalsCSV()