THPDFEInvoiceRuleSet

Describes one versioned rule layer registered for an invoice profile

Declaration

THPDFEInvoiceRuleSet= record
  Profile: AnsiString;
  Version: AnsiString;
  Scope: THPDFEInvoiceRuleScope;
  ResourceName: string;
  Engine: IHPDFESchematronEngine;
end;

Unit

HPDFEInvoiceValidator

Behaviour

Scope distinguishes business rules from mandatory country rules and ResourceName resolves relative to the caller-selected resource directory

A nil Engine selects the native reviewed Factur-X compatibility engine, whilst a supplied engine supports a dedicated rule implementation

Related APIs

E-Invoice Business-Rule Validation

THPDFEInvoiceValidationReport