getTotals

Methode (Sub)

getTotals ist eine Methode der Klasse Aloaha_ZUGFeRD.XML in der Aloaha ZUGFeRD SDK. Sie betrifft BG-22 (Gesamtsummen auf Dokumentenebene), BT-106 (Summe der Nettobeträge aller Rechnungspositionen), BT-112 (Rechnungsgesamtbetrag einschließlich Umsatzsteuer), BT-115 (Fälliger Zahlungsbetrag).

Beschreibung (aus der SDK-Dokumentation): BG-22: Reads the Document Totals.

Deklaration

Public Sub getTotals(ByRef NettoTotal As String, Optional ByRef Total As String = "0.00", Optional ByRef DuePayable As String = "0.00", Optional ByRef TaxableTotal As String = "0.00", Optional ByRef TaxTotal As String = "0.00", Optional ByRef DiscountTotal As String = "0.00", Optional ByRef Prepaid As String = "0.00", Optional ByRef RoundingAmount As String = "0.00", Optional ByRef ChargeTotal As String = "0.00", Optional ByRef Currency As String = "")

Parameter

NameTypPflichtBeschreibung
NettoTotalStringerforderlichBT-106: Sum of invoice line total amount
TotalStringoptional (Standard: "0.00")BT-112: Invoice total amount with VAT
DuePayableStringoptional (Standard: "0.00")BT-115: Amount due for payment
TaxableTotalStringoptional (Standard: "0.00")BT-109: Invoice total amount without VAT
TaxTotalStringoptional (Standard: "0.00")BT-110: Invoice total VAT amount
DiscountTotalStringoptional (Standard: "0.00")BT-107: Sum of allowances on document level
PrepaidStringoptional (Standard: "0.00")BT-113: Paid amount
RoundingAmountStringoptional (Standard: "0.00")BT-114: Rounding amount
ChargeTotalStringoptional (Standard: "0.00")BT-108: Sum of charges on document level
CurrencyStringoptional (Standard: "")

Aufruf (VB.NET)

Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.getTotals(NettoTotal)

Business Terms (EN 16931)

Artikel mit getTotals

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