THotPDF.AddFacturXAssociatedFile 메서드

메서드 요약: THotPDF.AddFacturXAssociatedFile 메서드

선언

function AddFacturXAssociatedFile(const XMLBytes : TBytes; const ConformanceLevel : AnsiString; const FileName : AnsiString = 'factur-x.xml'; const Description : AnsiString = 'Factur-X invoice XML'; const Relationship : AnsiString = 'Alternative'; const Version : AnsiString = '1.0'; const CountryCode : AnsiString = ''): THPDFDictionaryObject;

유닛

HPDFDoc

매개변수

이름목적
XMLBytesInvoice XML bytes embedded verbatim in the PDF/A-3 EmbeddedFile stream; the XML guideline or profile identifier must match ConformanceLevel
ConformanceLevelAllowed invoice profile or conformance level, such as EN 16931, EXTENDED, XRECHNUNG, or COMFORT for ZUGFeRD 1.0
FileNameEmbedded XML filename written to /F, /UF, the EmbeddedFiles name tree, and the XMP DocumentFileName value
설명Optional Filespec /Desc text shown to consuming tools
RelationshipAssociated-file relationship written as /AFRelationship and allowed by the selected invoice profile
VersionInvoice metadata version, including 1.0, 2p0, or a matching XRECHNUNG version such as 3.0
CountryCodeRegional policy code used by profile validation; use an empty value, DE, or FR

반환 값

Primary invoice XML에 등록된 indirect Filespec dictionary를 반환합니다

사용 참고 사항

관련 API