HPDFValidateEInvoiceXML
Small Business 版:此功能背后的单元随 HotPDF Small Business 与 Enterprise 在 Lib\SmallBusiness 中提供,Single 版不含它们
用带版本号的业务规则层和国家规则层验证显式提供的发票 XML
声明
function HPDFValidateEInvoiceXML(const XMLBytes: TBytes;
const Profile: AnsiString; const SchematronDir: string;
Registry: THPDFEInvoiceRuleRegistry;
out AReport: THPDFEInvoiceValidationReport): Boolean;
单元
HPDFEInvoiceValidator
行为
配置文件必须显式提供,未知配置文件绝不会回退到 EXTENDED;法国和 XRECHNUNG 配置文件要求其国家规则层
当每个必需的规则层都执行完毕且没有剩余的错误或警告发现时返回 true;PDF 容器、XML Schema 和传输检查不在该 API 范围内