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
Behaviour
The profile is supplied explicitly and unknown profiles never fall back to EXTENDED, whilst French and XRECHNUNG profiles require their country-rule layer
Returns true when every required rule layer completes and no error or warning finding remains, whilst PDF container, XML Schema and transport checks are outside this API