HPDFValidateEInvoiceXML

用带版本号的业务规则层和国家规则层验证显式提供的发票 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 范围内

相关 API

电子发票业务规则验证

THPDFEInvoiceValidationReport