THotPDF.DetectFacturXInvoice Method
Method summary: THotPDF.DetectFacturXInvoice Method
Declaration
function DetectFacturXInvoice(out AInfo: THPDFFacturXInvoiceInfo): Boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AInfo | Receives the detected invoice filename, XMP filename, document type, version, conformance level, XML guideline identifier, relationship, and XML bytes |
Return value
Returns True when a supported e-invoice XML attachment is recognised
Usage notes
- Call this method after LoadFromFile or LoadFromStream
- The method reads the document XMP metadata and the EmbeddedFiles name tree without adding an XML DOM dependency
- The THPDFFacturXInvoiceInfo record is a container-level summary and does not validate EN 16931 business rules
Related APIs
- THotPDF.ValidateFacturXInvoice Method
- THotPDF.ExtractFacturXXML Method
- THotPDF.GetLoadedDocumentMetadataBytes Method
- THotPDF.GetLoadedEmbeddedFileSpec Method