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
매개변수
| 이름 | 목적 |
|---|---|
XMLBytes | Invoice XML bytes embedded verbatim in the PDF/A-3 EmbeddedFile stream; the XML guideline or profile identifier must match ConformanceLevel |
ConformanceLevel | Allowed invoice profile or conformance level, such as EN 16931, EXTENDED, XRECHNUNG, or COMFORT for ZUGFeRD 1.0 |
FileName | Embedded XML filename written to /F, /UF, the EmbeddedFiles name tree, and the XMP DocumentFileName value |
설명 | Optional Filespec /Desc text shown to consuming tools |
Relationship | Associated-file relationship written as /AFRelationship and allowed by the selected invoice profile |
Version | Invoice metadata version, including 1.0, 2p0, or a matching XRECHNUNG version such as 3.0 |
CountryCode | Regional policy code used by profile validation; use an empty value, DE, or FR |
반환 값
Primary invoice XML에 등록된 indirect Filespec dictionary를 반환합니다
사용 참고 사항
관련 API
- THotPDF.AddPDFA3AssociatedFile 메서드
- THotPDF.FacturXWarnings 속성
- THotPDF.AddPDFAOutputIntent 메서드
- THotPDF.PDFACompliance 속성