THotPDF.DetectFacturXInvoice Method

Detects a Factur-X or ZUGFeRD invoice attachment in a loaded document and exposes the attachment and XMP metadata needed for consistency validation

Declaration

function DetectFacturXInvoice(out AInfo: THPDFFacturXInvoiceInfo): boolean;

Unit

HPDFDoc

Parameters

NamePurpose
AInfoReceives the detected invoice filename, XMP filename and namespace URI, document type, version, conformance level, XML guideline identifier, AF relationship, and decoded attachment MIME type

Return value

Returns True when a supported e-invoice XML attachment is detected

Usage notes

Related APIs