ReadAdditionalReferencedDocument

Methode (Sub)

ReadAdditionalReferencedDocument ist eine Methode der Klasse Aloaha_ZUGFeRD.XML im Aloaha ZUGFeRD SDK. Sie betrifft BG-24 (Rechnungsbegründende Unterlagen), BT-17 (Ausschreibungs- oder Losreferenz), BT-18 (Objektkennung), BT-122 (Kennung der rechnungsbegründenden Unterlage).

Beschreibung (aus der SDK-Dokumentation): BG-24: Reads a document-level additional referenced document by index.

Hinweis: If the index does not exist, the outputs keep their passed values (Nothing becomes an empty string). The Base64 content itself is not returned.

Deklaration

Public Sub ReadAdditionalReferencedDocument(ByVal Index As Integer, ByRef IssuerAssignedID As String, ByRef URIID As String, Optional ByRef TypeCode As String = "", Optional ByRef Name As String = "", Optional ByRef MimeCode As String = "", Optional ByRef FileName As String = "", Optional ByRef IssueDateTime As String = "", Optional ByRef Document_DateFormat As String = "", Optional ByRef ReferenceTypeCode As String = "", Optional ByRef MimeType As String = "")

Parameter

NameTypPflichtBeschreibung
IndexIntegererforderlichZero-based index of the document (see AdditionalReferencedDocumentCount)
IssuerAssignedIDStringerforderlich(output) BT-17, BT-18, BT-122: Document reference
URIIDStringerforderlich(output) BT-124: External document location
TypeCodeStringoptional (Standard: "")(output) Referenced document type code
NameStringoptional (Standard: "")(output) BT-123: Supporting document description
MimeCodeStringoptional (Standard: "")(output) MIME type of the attached binary object (filled only if an attachment exists)
FileNameStringoptional (Standard: "")(output) BT-125-2: Attached document file name
IssueDateTimeStringoptional (Standard: "")(output) Document date
Document_DateFormatStringoptional (Standard: "")(output) Date format code
ReferenceTypeCodeStringoptional (Standard: "")(output) BT-18-1: Scheme identifier
MimeTypeStringoptional (Standard: "")(output) BT-125-1: Attached document MIME code

Aufruf (VB.NET)

Dim alo As New Aloaha_ZUGFeRD.XML(Aloaha_ZUGFeRD.iXML.ZUGFeRDProfile.comfort, False, LicenseKey)
' …
alo.ReadAdditionalReferencedDocument(Index, IssuerAssignedID, URIID)

Business Terms (EN 16931)

Artikel mit ReadAdditionalReferencedDocument

COM-Schnittstelle

ReadAdditionalReferencedDocument ist Mitglied der Schnittstelle Aloaha_ZUGFeRD.iXML (Position 224 von 328) 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.

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