HPDFValidateEInvoiceWithRegistry

Small Business edition: the units behind this feature ship in Lib\SmallBusiness with HotPDF Small Business and Enterprise and are not part of the Single edition

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

Behavior

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 complete, and no error or warning findings remain

Related APIs

E-Invoice Business-Rule Validation

THPDFEInvoiceValidationReport