THotPDF.ExtractFacturXXML Method

Extracts the primary Factur-X or ZUGFeRD invoice XML payload from a loaded document. The method uses the invoice metadata and embedded-file name tree to locate the XML bytes

Declaration

function ExtractFacturXXML(out AXMLBytes: TBytes): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
AXMLBytesReceives the extracted invoice XML bytes when the method returns True

Return value

Returns True when the primary invoice XML bytes are found and copied

Usage notes

Related APIs