HPDFValidateEInvoiceXML

Validates explicit invoice XML against versioned business and country rule layers

Declaration

function HPDFValidateEInvoiceXML(const XMLBytes: TBytes;
  const Profile: AnsiString; const SchematronDir: string;
  Registry: THPDFEInvoiceRuleRegistry;
  out AReport: THPDFEInvoiceValidationReport): Boolean;

Unit

HPDFEInvoiceValidator

Behavior

The profile is supplied explicitly and unknown profiles never fall back to EXTENDED, while French and XRECHNUNG profiles require their country-rule layer

Returns true when every required rule layer completes and no error or warning finding remains, while PDF container, XML Schema, and transport checks are outside this API

Related APIs

E-Invoice Business-Rule Validation

THPDFEInvoiceValidationReport