THPDFFacturXInvoiceInfo レコード

ロード済みドキュメントに埋め込まれた 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