AddMonetarySummation

Methode (Sub)

AddMonetarySummation 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): BG-22: Sets a document total amount.

Hinweis: SummationType values: LineTotalAmount (BT-106), AllowanceTotalAmount (BT-107), ChargeTotalAmount (BT-108), TaxBasisTotalAmount (BT-109), TaxTotalAmount (BT-110), GrandTotalAmount (BT-112), TotalPrepaidAmount (BT-113), RoundingAmount (BT-114), DuePayableAmount (BT-115).

Deklaration

Public Sub AddMonetarySummation(ByVal Amount As String, ByVal SummationType As iXML.SummationType, Optional ByVal CurrencyID As String = "")

Parameter

NameTypPflichtBeschreibung
AmountStringerforderlichAmount (comma is converted to dot, normalized to 2 decimals)
SummationTypeiXML.SummationTypeerforderlichWhich total to set (see remarks)
CurrencyIDStringoptional (Standard: "")Currency code. Empty uses the invoice currency; sets the invoice currency if not yet set

Aufruf (VB.NET)

Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.AddMonetarySummation(Amount, SummationType)

Business Terms (EN 16931)

Artikel mit AddMonetarySummation

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