THPDFEInvoiceRuleRegistry.RuleSetsForProfile

Returns the registered layers for a normalised profile

Declaration

function RuleSetsForProfile(const Profile: AnsiString): THPDFEInvoiceRuleSets;

Unit

HPDFEInvoiceValidator

Behaviour

Profile matching trims whitespace and ignores case, with BASICWL and EN16931 normalised 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