THotPDF.AddFacturXAssociatedFile Metodo

Riepilogo del metodo: THotPDF.AddFacturXAssociatedFile Metodo

Dichiarazione

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

Unità

HPDFDoc

Parametri

NomeScopo
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
DescrizioneOptional 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

Valore restituito

Restituisce il dictionary Filespec indiretto registrato per l'XML primario della fattura

Note sull'utilizzo

API correlate