ValidateInvoiceBusinessRulesWithToolsA

发票、DLL

需要 Small Business 版。在 Delphi、C++Builder 和 Lazarus 代码中,请将库创建为 TPDFlibSmallBusiness(单元 PDFlibSmallBusiness)或 TPDFlibEnterprise;Small Business 版和 Enterprise 版的 DLL 与 ActiveX 构建原样提供该类。Single 版保留此方法,它返回 0、空字符串或 False,并将 LastErrorCode 设置为 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)

描述

通过 DLL 窄字符串约定运行与 ValidateInvoiceBusinessRulesWithTools 相同的 XSD 与 Schematron 验证

语法

Delphi

Function DLValidateInvoiceBusinessRulesWithToolsA(InstanceID: Integer;
  EmbeddedFileName, Standard, RulesVersion, RulesProfile, SchemaFile, SchematronStylesheetFile, XMLLintExecutable, JavaExecutable, SaxonClassPath: PAnsiChar; TimeoutMS: Integer): PAnsiChar; Stdcall;

DLL

const char* DLValidateInvoiceBusinessRulesWithToolsA(int InstanceID, const char* EmbeddedFileName, const char* Standard, const char* RulesVersion, const char* RulesProfile, const char* SchemaFile, const char* SchematronStylesheetFile, const char* XMLLintExecutable, const char* JavaExecutable, const char* SaxonClassPath, int TimeoutMS);

返回值

返回描述两个验证阶段的实例自有 JSON 指针

备注

结果包含 UTF-8 JSON,输入字符串使用实例 ANSI 设置;请在同一实例下一次字符串结果调用之前复制指针

另请参阅

ValidateInvoiceBusinessRulesWithTools、ValidateInvoiceBusinessRules、ValidateFacturXInvoice