THPDFEInvoiceRuleRegistry.RuleSetsForProfile

Small Business edition: This API belongs to HotPDF Small Business (HotPDFSB / Lib\SmallBusiness) and is also included in HotPDF Enterprise.

Returns the registered layers for a normalized profile

Declaration

function RuleSetsForProfile(const Profile: AnsiString): THPDFEInvoiceRuleSets;

Unit

HPDFEInvoiceValidator

Behavior

Profile matching trims whitespace and ignores case, with BASICWL and EN16931 normalized to BASIC WL and EN 16931

Each returned value preserves its profile, version, scope, relative resource, and optional engine, and an unknown profile returns an empty array

Related APIs

E-Invoice Business-Rule Validation

THPDFEInvoiceValidationReport