THPDFFacturXInvoiceInfo Record

描述已載入文件中內嵌的 Factur-X 或 ZUGFeRD 發票:附件檔名、XMP 中繼資料值、設定檔識別碼、MIME 類型,以及補充的 UBL 與 EDIFACT 表示法檔名

宣告

THPDFFacturXInvoiceInfo= record
  FileName: AnsiString;
  XMPDocumentFileName: AnsiString;
  XMPNamespaceURI: AnsiString;
  DocumentType: AnsiString;
  Version: AnsiString;
  ConformanceLevel: AnsiString;
  GuidelineID: AnsiString;
  AFRelationship: AnsiString;
  AttachmentMimeType: AnsiString;
  // Supplementary UBL representation file name ('factur-xubl.xml') when the
  // document embeds a UBL view alongside the primary CII invoice per
  // Factur-X 1.09 spec 6.4; empty when no UBL attachment is present. UBL is
  // a supplementary representation, never the primary invoice XML
  UBLFileName: AnsiString;
  // Supplementary EDIFACT representation file name ('factur-xedifact.edi')
  // when the document embeds an EDIFACT view alongside the primary CII
  // invoice per Factur-X 1.09 spec 6.4; empty when no EDIFACT attachment is
  // present. Like UBL it is a supplementary representation, never the
  // primary invoice XML
  EDIFACTFileName: AnsiString;
end;

單元

HPDFDoc

欄位

欄位用途
FileName實際找到的內嵌發票附件名稱:可解析時為 XMP DocumentFileName,否則為 factur-x.xml、xrechnung.xml、zugferd-invoice.xml、ZUGFeRD-invoice.xml 之一
XMPDocumentFileName從文件 XMP 中繼資料讀到的 fx:DocumentFileName 文字
XMPNamespaceURIXMP 中繼資料中 DocumentFileName 元素的命名空間 URI
DocumentTypeXMP DocumentType 值;發票文件為 INVOICE
VersionFactur-X 設定檔的 XMP Version 值
ConformanceLevelFactur-X 設定檔的 XMP ConformanceLevel 值
GuidelineID從內嵌 CII XML ExchangedDocumentContext 讀到的指引識別碼(URN)
AFRelationship發票檔案規格的 /AFRelationship 條目,例如 Data 或 Alternative
AttachmentMimeType內嵌發票檔案的 MIME 類型
UBLFileName內嵌了補充 UBL 表示法時為固定名稱 factur-xubl.xml;否則為空
EDIFACTFileName內嵌了補充 EDIFACT 表示法時為固定名稱 factur-xedifact.edi;否則為空

使用說明

相關 API