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