Add_Invoice_Document_Note
Methode (Sub)
Add_Invoice_Document_Note ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im 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 (Originaltext der englischen SDK-Dokumentation): BG-1: Adds an invoice note (BT-22) with optional subject code (BT-21) on document level. Existing notes are kept; the new note is appended. Nothing is added if Content is empty.
Deklaration
Public Sub Add_Invoice_Document_Note(ByVal Content As String, ByVal SubjectCode As String)
Parameter
| Name | Typ | Pflicht | Beschreibung |
|---|---|---|---|
Content | String | erforderlich | BT-22: Free text on document level. Leading/trailing spaces are trimmed. |
SubjectCode | String | erforderlich | BT-21: Code qualifying the free text (UNTDID 4451), e.g. AAI, SUR, REG, ABL, TXD, CUS. May be empty. |
Aufruf (VB.NET)
Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, "IHR-LIZENZSCHLUESSEL")
Dim Content As String = ""
Dim SubjectCode As String = ""
alo.Add_Invoice_Document_Note(Content, SubjectCode)
Aufruf (C#)
var alo = new Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, false, "IHR-LIZENZSCHLUESSEL");
string content = "";
string subjectCode = "";
alo.Add_Invoice_Document_Note(content, subjectCode);
Business Terms (EN 16931)
Artikel mit Add_Invoice_Document_Note
COM-Schnittstelle
Add_Invoice_Document_Note ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 181 von 343) und damit auch aus VB6, VBA/Access und anderen COM-Clients über CreateObject("Aloaha_ZUGFeRD.XML") aufrufbar. Neue Mitglieder werden immer am Ende von iXML angefügt, damit bestehende COM-Clients unverändert weiterlaufen; nach einem Update die Typbibliothek neu registrieren.