HPDFValidateEInvoiceWithRegistry
校验 PDF 发票容器以及检测到的配置文件所需的每个已注册规则层
声明
function HPDFValidateEInvoiceWithRegistry(const Doc: THotPDF;
const SchematronDir: string; Registry: THPDFEInvoiceRuleRegistry;
out AReport: THPDFEInvoiceValidationReport): Boolean;
单元
HPDFEInvoiceValidator
行为
Registry 传 nil 使用默认的 Factur-X 注册表,或传入调用方自建、带有明确国家规则和引擎实现的注册表
只有当容器有效、所有必需规则层完整且不存在任何错误或警告级发现时才返回 true