ValidateInvoiceBusinessRulesWithToolsA

Invoices, DLL

Requires the Small Business edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibSmallBusiness (unit PDFlibSmallBusiness) or TPDFlibEnterprise; the Small Business and Enterprise DLL and ActiveX builds provide it unchanged; the Single edition keeps the method, which returns 0, an empty string or False and sets LastErrorCode to 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)

Description

Runs the same XSD and Schematron validation as ValidateInvoiceBusinessRulesWithTools through the DLL narrow-string convention

Syntax

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);

Return values

Returns the instance-owned JSON pointer describing both validation stages

Remarks

The result contains UTF-8 JSON and input strings use the instance ANSI setting; copy the pointer before the next string-result call on the same instance

See also

ValidateInvoiceBusinessRulesWithTools, ValidateInvoiceBusinessRules, ValidateFacturXInvoice