getDocumentNote

Methode (Sub)

getDocumentNote ist eine Methode der Klasse Aloaha_ZUGFeRD.XML in der Aloaha ZUGFeRD SDK. Sie betrifft BG-1 (Freitext zur Rechnung), BT-22 (Freitext zur Rechnung), BT-21 (Code zur Qualifizierung des Freitextes zur Rechnung).

Beschreibung (aus der SDK-Dokumentation): BG-1: Reads an invoice note by index.

Hinweis: Output arguments that are Nothing are set to an empty string. An invalid index is ignored (errors are swallowed).

Deklaration

Public Sub getDocumentNote(ByVal Index As Integer, ByRef Content As String, Optional ByRef ContentCode As String = "", Optional ByRef SubjectCode As String = "")

Parameter

NameTypPflichtBeschreibung
IndexIntegererforderlichZero-based index of the note (0 to DocumentNotesCount - 1)
ContentStringerforderlichBT-22: Note text (output)
ContentCodeStringoptional (Standard: "")Content code of the note (output)
SubjectCodeStringoptional (Standard: "")BT-21: Subject code of the note, e.g. AAI, REG (output)

Aufruf (VB.NET)

Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.getDocumentNote(Index, Content)

Business Terms (EN 16931)

Artikel mit getDocumentNote

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