HPDFValidateEInvoiceWithRegistry
Validates the PDF invoice container and every required registered rule layer for the detected profile
Declaration
function HPDFValidateEInvoiceWithRegistry(const Doc: THotPDF;
const SchematronDir: string; Registry: THPDFEInvoiceRuleRegistry;
out AReport: THPDFEInvoiceValidationReport): Boolean;
Unit
HPDFEInvoiceValidator
Behaviour
Pass nil for Registry to use the default Factur-X registry, or supply a host-owned registry with explicit national rules and engine implementations
Returns true only when the container is valid, all required layers are complete and no error or warning findings remain